Re: GRUB for two HD's
From: Duane Evenson (duane5_at_shaw.ca)
Date: 09/25/05
- Next message: P Ruetz: "Re: usb hp floppy drive recognition fedora 4 installation"
- Previous message: Lenard: "Re: Creative AWE64 sound card not working, just with realplay.bin; I know it does work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 25 Sep 2005 12:46:19 GMT
On Thu, 18 Aug 2005 00:59:33 +0000, MR wrote:
> Hey everyone
>
> i had a question as to how i could possibly set up grub to boot three OS's.
>
> here's my current setup
>
> hda
> 20Gig NTFS
> 60Gig Red Hat Linux
>
> hdb
> 60Gig SuSE Linux
> 200Gig XP
>
> now, i have grub installed on both hda and hdb, and each grub only sees what
> is on its hd. so the suse grub sees only the windows xp and itself,
> whereas the redhat grub sees only itself (the 20gig NTFS used to be another
> version of xp, it's been formatted since). So now I'd like to upgrade the
> hda/RedHat to fedora 4, and before I do so wanted to ask whether it be
> possible to get the fedora grub to see the xp and suse on my other hd.
> currently i have to switch settings in the bios, in particular to hd boot
> order to boot either into suse or into red hat.
>
> thanks
> MR
Simple, edit /boot/grub/grub.conf
Enter something like the following. You'll have to enter the correct
kernel and initrd filenames for Red Hat and SUSE. These files are in
/boot.
default=0
timeout=20
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
title Red Hat Linux
root (hd0,1)
kernel /boot/vmlinuz-2.4.18 ro root=LABEL=/
initrd /boot/initrd-2.4.18.img
title SUSE Linux
root (hd1,0)
kernel /boot/vmlinuz-2.4.12 ro root=LABEL=/
initrd /boot/initrd-2.4.12.img
title Windows XP
rootnoverify (hd1,1)
chainloader +1
I think the WinXP will work, its an adaption of my Win98 script. Also,
this assumes that Redhat Linux is in the second partition, SUSE is in the
first partition and XP is in the second partition. If you have any swap
partitions before them, you'll have to increment the second number in
(hd0,1) and similar partition references.
Read thru the "info grub" documentation. Grub's easy and because you can
fiddle with it right from the boot loader level, you can change your
settings almost real-time until you get what you want.
- Next message: P Ruetz: "Re: usb hp floppy drive recognition fedora 4 installation"
- Previous message: Lenard: "Re: Creative AWE64 sound card not working, just with realplay.bin; I know it does work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|