grub.conf details for DSL


Forum: HD Install
Topic: grub.conf details for DSL
started by: rhackenb

Posted by rhackenb on Feb. 13 2004,22:20
I have Redhat Linux and Windows installed on /dev/hda and DSL installed in a 300 MB partition of /deb/hdb (specifically, /dev/hdb2).  I need to configure my grub.conf so that I can boot into DSL  Does anyone know what I put in the conf file to make this work?  Here's what I have right now:

#boot=/dev/hda
default=0
timeout=30
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-2.21)
       root (hd0,2)
       kernel /boot/vmlinuz-2.4.20-2.21 ro root=LABEL=/ hdd=ide-scsi
       initrd /boot/initrd-2.4.20-2.21.img
title DOS
       rootnoverify (hd0,0)
       chainloader +1
title DSL
       root (hd1,1)
       kernel  /boot/vmlinuz-2.4.20-xfs
#       initrd /vmlinux


I think I have the 'hd1,1' correct.  This should mean hdb2 in grub terms (I guess).  What should the 'kernel' line be?  I'm guessing on the '/boot/vmlinuz-2.4.20-xfs'.  Also, I have no clue what I should have for the 'initrd' line.  Shouldn't there be an inetrd file or an img file in the installation?

When I boot using the current conf file, I get a kernel panic on bootup when I select DSL

BTW, booting up up DSL on a different machine that has RH, Windows, and DSL has no problem because it uses the lilo.conf that was generated by the DSL install.

Thanks,

bob

Posted by Modrak on Feb. 15 2004,22:08
Have you the vmlinuz-2.4.20-xfs in /boot ??? ? That's the boot partion in RedHat
Posted by rhackenb on Feb. 16 2004,04:30
Yes,

I have
  /mnt/dsl/boot/vmlinuz-2.4.20-xfs

Should there be a inrdline?

-- bob

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.