View previous topic :: View next topic |
Author |
Message |
flyingbird n00b

Joined: 31 Aug 2003 Posts: 18
|
Posted: Tue Dec 09, 2003 6:59 am Post subject: reinstalled windows and can now only boot to gentoo |
|
|
my drive was set up like this:
hda1: windows xp pro fat32
hda2: linux swap
hda3: linux boot ext2
hda4: linux main ReiserFS
i needed to reinstall windows because it was having its troubles, no need to go into that. so i wanted to go to ntfs so i partitioned the hda1 as ntfs. windows installed just fine but would not reboot into it to complete setup. bios gave error of unable to load os.
i set grub back up
Code: |
grub> root (hd0,2)
grub> setup (hd0)
grub> quit
|
rebooted and grub loaded, but when i tried to load windows it gave me a screen full of ascii chars. i tried going into xp recovery and did fixmbr and that caused invalid partition table when i tried to reboot. i now reset grub as before and it is back to grub coming up but windows just gives ascii chars, gentoo still works fine.
any ideas? i really need this windows install.
thank you in advance. |
|
Back to top |
|
 |
river Tux's lil' helper


Joined: 05 Dec 2003 Posts: 122 Location: Cape Town
|
Posted: Tue Dec 09, 2003 7:30 am Post subject: Grub Conf |
|
|
Hi
I don't have much experience with grub, but what does your grub.conf file look like (specifically the bits concerning your windows boot)?
You say that you can boot gentoo? So I assume that grub loads and brings up the boot menu? |
|
Back to top |
|
 |
flyingbird n00b

Joined: 31 Aug 2003 Posts: 18
|
Posted: Tue Dec 09, 2003 7:35 am Post subject: |
|
|
well the grub.conf i am fairly sure is fine as it worked fine before i reinstalled windows
but yes grub comes up and lists gentoo and windows, just windows gives a screen full of ascii.
Code: |
default 0
timeout 30
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,2)
kernel (hd0,2)/boot/bzImage root=/dev/hda4 "noapic" "pci=noapic" hdd=ide-scsi
title=windows
rootnoverify (hd0,0)
chainloader (hd0,0)+1
|
edit: i should also add that after i did the FIXMBR command in windows xp recovery console. fdisk reports:
Code: |
Disk /dev/hda: 120.0 GB, 120000000000 bytes
16 heads, 63 sectors/track, 232514 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 87178 43937680+ 7 HPFS/NTFS
/dev/hda2 87179 89219 1028160 82 Linux swap
Partition 2 does not end on cylinder boundary.
/dev/hda3 * 89219 89410 96390 83 Linux
Partition 3 does not end on cylinder boundary.
/dev/hda4 89410 232513 72123817+ 83 Linux
Partition 4 does not end on cylinder boundary.
|
these cylinder errors did not appear before i did the fixmbr command, on google most people say this is just a warning but thought perhaps it was causing the partion table error i mentioned above. |
|
Back to top |
|
 |
river Tux's lil' helper


Joined: 05 Dec 2003 Posts: 122 Location: Cape Town
|
Posted: Tue Dec 09, 2003 9:20 am Post subject: makeactive? |
|
|
Yeah, the grub.conf looks ok.
I've got pretty much the same setup as you (XP pro on hda1), and it boots successfully using your conf script.
The only suggestion I can make (although it does not make a difference on my machine), is to do the following:
Code: |
rootnoverify (hd0,0)
makeactive #Add me
chainloader +1
|
which is essentially what the grub info page suggests for windows (and is what I'm using). Makeactive should set the partition as the active partition.
The info pages also have some more information for booting dos / win: booting windows off a partition other than hda1, and selecting from multiple installations of windows. It didn't sound as if either applies in this case.
Other than the 'makeactive' suggestion (doubt it'll help, but who knows), I'm not sure what else to do . Is there a way to check if your windows boot loader is actually working? |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|