Grub and `other' OS
Tom Diehl
tdiehl at rogueind.com
Tue Oct 14 15:01:20 UTC 2003
On Tue, 14 Oct 2003, Harry Putnam wrote:
> Severn is my first time using grub... I've been cowering behind
> lilo for quite a while.
>
> I'm guessing its pretty easy to do but not so clear just how to set
> up an `other' os to be started by grub.
>
> In this case its a solaris (x86) install on /dev/hda. With past RH
> releases I've been starting it with the tried and tru lilo technique:
>
> [..]
> other=/dev/hda1
> label=sol
> table=/dev/hda
> [...]
>
> Severn is on /dev/hdc1 and bootloader is installed in MBR of /dev/hda
> How is this done with grub?
Grub config is similar but different. :-)
Here is a copy of my grub conf:
grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdc5
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-18.9)
root (hd1,0)
kernel /vmlinuz-2.4.20-18.9 ro root=LABEL=/
initrd /initrd-2.4.20-18.9.img
title Red Hat Linux (2.4.20-13.9)
root (hd1,0)
kernel /vmlinuz-2.4.20-13.9 ro root=LABEL=/
initrd /initrd-2.4.20-13.9.img
title Solaris 9
rootnoverify (hd0,0)
chainloader +1
This should give you an idea of how to do it.
HTH,
--
......Tom Registered Linux User #14522 http://counter.li.org
tdiehl at rogueind.com My current SpamTrap -------> mtd123 at rogueind.com
More information about the test
mailing list