LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Grub Cant boot windows on 2nd Disk (https://www.linuxquestions.org/questions/linux-newbie-8/grub-cant-boot-windows-on-2nd-disk-529769/)

gruelius 02-16-2007 07:11 PM

Grub Cant boot windows on 2nd Disk
 
Hi everyone,
For some reason grub wont boot my XP hdd. The HDD boots fine on its own however if i run

rootnoverify (hd1,0)
makeactive
chainloader +1
boot

All it does is it shows me that with a flashing cursor under it.

I might try to run fixmbr/fixboot on the 2nd disk. Is that a good idea?


*edit*
ok it isnt a good idea -.-. When i run my Windows HDD on its own XP boots but when i run the tux disk primary windows secondary it just says "Error Loading operating System".

Is there a way to repair the MBR or reinstall grub or whatever it is i need to do?

Thanks
Julius

syg00 02-16-2007 07:31 PM

Quote:

Originally Posted by gruelius
For some reason grub wont boot my XP hdd.

Wrong !!! XP won't boot your XP hdd. M$oft in their infinite stupidity require it to be the first (boot) disk.
Amend as below
Code:

rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)

makeactive
chainloader +1
boot


gruelius 02-16-2007 07:44 PM

Ok i fixed it so i can get back into linux however windows still wont work.

The way i have the disks set up is:
Master HDD (120GB) HDA
hda1 boot
hda2 swap
hda3 /
hda4 home

Secondary HDD (200GB) HDB
hda1 Windows
80gb or so free space.

When i did fixmbr on the windows install i remember it said something like \Disk0\Partition0. Could fixmbr be making windows go to the primary disk after its chainloaded or would that show up a visible error?

Thanks
Julius

gruelius 02-16-2007 07:50 PM

Fixed :D

Thanks heaps

syg00 02-16-2007 07:54 PM

Ignore XP for now, it'll be fine.
Did you do the change I suggested ???. (in /boot/grub/menu.lst - forgot to mention that).

syg00 02-16-2007 08:10 PM

Try (hd1,1) in case there is a (hidden) vendor recovery disk there.

gruelius 02-16-2007 08:31 PM

lol i forgot to type in one of your lines to get it to work, fixed it :)

Now onto sound card / mouse :P


All times are GMT -5. The time now is 07:52 PM.