Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grub Configuration

Status
Not open for further replies.

halfbarrel

Programmer
Jun 12, 2002
44
US
Hello,
I've just downloaded Fedora Core 3 and installed it on a sencond hard drive(/dev/hdf). My first hard drive(/dev/hde) has Fedora Core 2 on it. Here is the grub.conf file:
title Fedora Core 2 (2.6.8-1.521)
root (hd0,0)
kernel /vmlinuz-2.6.8-1.521 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.8-1.521.img

What do I need to add to it to be able to also boot to the FC3 OS? Here's what I tried last time:

title Fedora Core 3 (2.6.9-1.667)
root (hd1,0)
kernel /vmlinuz-2.6.9-1.667 ro root=/dev/hdf2
initrd /initrd-2.6.9-1.667.img

I can't find and example of multiple hard drive boots with two version of linux.
Thanks,

Chris.
 
I have WinXP on hda and FC3 on hdb - the FC3 install found both OSs correctly and built the grub configuration just fine. I don't see why it shouldn't do the same for your two Fedora installs. I'll check the grub config when I get home.
 
Code:
#boot=/dev/hda
default=2
timeout=10
splashimage=(hd0,4)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.9-1.678_FC3)
        root (hd0,4)
        kernel /vmlinuz-2.6.9-1.678_FC3 ro root=LABEL=/1 rhgb quiet
        initrd /initrd-2.6.9-1.678_FC3.img
title Fedora Core (2.6.9-1.667)
        root (hd0,4)
        kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/1 rhgb quiet
        initrd /initrd-2.6.9-1.667.img
title Windows XP Home (SP2)
        rootnoverify (hd0,0)
        chainloader +1
Sorry for the delay, been a bit busy...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top