Click to See Complete Forum and Search --> : GRUB config - dual linux distro


yopie
02-16-2003, 11:27 AM
Hi,

I need help to configure my grub.config file so I can boot, RH7.3, RH8, and W2K. So far the grub working fine to load RH 8 and Win 7.3. Here my grub.config :

default=1
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Red Hat Linux 8 (2.4.18-14)
root (hd1,0)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/1 hdd=ide-scsi
initrd /initrd-2.4.18-14.img

title Windows
rootnoverify (hd0,0)
chainloader +1

title Red Hat Linux 7.3 (2.4.18-3)
root (hd1,0)
kernel /vmlinuz-2.4.18-3 ro root=dev/hdb2/ hdd=ide-scsi
initrd /initrd-2.4.18-3.img

Any suggetion, so I can load RH 7.3 as well, please?

I'm installing W2k on hda1.
RH 7.3 (/ ) on hdb2 and RH8 (/ ) on hdb4.
/boot on hdb1

Cheers,

mdwatts
02-16-2003, 12:22 PM
title = Windows 2000
root = (hd0,0)
makeactive
chainloader +1


That should work.

hd0 - first HD
hd1 - second HD

,0 - first partition (i.e. hda1)
,1 - second partition (i.e. hda2)

<edit>

Is Grub installed on the second HD (primary/slave) in the first partition (boot/root)?

Where is W2K installed and what HD is set as the first boot device in the bios?

yopie
02-16-2003, 02:13 PM
Hi,

thanks for the reply.

I don't have problem with loading W2k and RH8.
But, I'm still unable to load RH7.3

I'm install Grub on MBR which is on firsthardisk.

I'm install both RH on second hardisk.
/boot on hdb1
/ hdb2 (RH 7.3)
swap hdb3
/ hdb4 (RH 8)

Thanks,

homey
02-16-2003, 02:43 PM
"title Red Hat Linux 7.3 (2.4.18-3)
root (hd1,0) "

You need to change that to point to the RH 7.3 root partition as you are able to boot RH 8.0 which is pointing to that location.

mdwatts
02-16-2003, 04:24 PM
Originally posted by yopie
So far the grub working fine to load RH 8 and Win 7.3.

I didn't notice the 'Win' (only the 7.3) and assumed it was W2K that didn't work.

title Red Hat Linux 7.3 (2.4.18-3)
root (hd1,0)
kernel /vmlinuz-2.4.18-3 ro root=/dev/hdb2 hdd=ide-scsi
initrd /initrd-2.4.18-3.img

Change root=dev/hdb2/

to

root=/dev/hdb2

yopie
02-17-2003, 09:45 AM
Thanks, it works :D