Linux Software > Linux Installation Support

Can not get dual boot to work

(1/1)

eyelevel:
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.

eyelevel:
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.

Ricky:
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: ---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

--- End code ---

aaa:
You can enter the stuff mentioned at the 'grub>' prompt. Example:

--- Code: ---grub>rootnoverify (hd0,0)
grub>chainloader +1
grub>boot

--- End code ---
This should boot windows if it is on the first hd's first partition.

Navigation

[0] Message Index

Go to full version