Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Linux Software => Linux Installation Support => Topic started by: eyelevel on March 11, 2004, 01:37:46 AM

Title: Can not get dual boot to work
Post by: eyelevel on March 11, 2004, 01:37:46 AM
I installed redhat9 to my slave drive so I can have a dual boot with windows xp.  But my boot loader will not install correctly.  After I finished the linux installation I rebooted and a black screen comes up that says "Grub" in the top left corner but thats it. No option to do anything from there. I know what the grub boot loader looks like installed correctly and this is not it.  By booting with knoppix(cd-boot version) I can see that all of red hat's files are in place. I had to insert my xp cd to fix the mbr after installing redhat. So redhat is still there just no boot loader.
Title: Can not get dual boot to work
Post by: eyelevel on March 11, 2004, 01:58:51 AM
I used the command grub-install /dev/hda in redhats rescue console but this gives me the same black screen with grub in the upper left hand corner and no options.
Title: Can not get dual boot to work
Post by: Ricky on March 11, 2004, 07:25:27 AM
I think you should should manually edit your  /boot/grub/grub.conf file to boot your operating systems using grub.
Here i am assuming that your winXP is on first drive first partition.. ie. hd (0,0) and linux is on second drive first partition.. ie. hd (1,0)
Now your grub.conf should look like this.
Code: [Select]
default=windows
timeout=10
color=green/black light-gray/blue

# winXP loading
title windows
rootnoverify (hd0,0)
chainloader +1

# section to load linux
title linux
root (hd1,0)
kernel /vmlinuz root=/dev/hdb1
boot
Title: Can not get dual boot to work
Post by: aaa on March 12, 2004, 09:37:08 PM
You can enter the stuff mentioned at the 'grub>' prompt. Example:
Code: [Select]
grub>rootnoverify (hd0,0)
grub>chainloader +1
grub>boot
This should boot windows if it is on the first hd's first partition.