On 5/31/06, Georgina Joyce <[EMAIL PROTECTED]> wrote:

title LFS 6.15.4 vmlinuz
root (hd1,0)
kernel (hd0,0)/lfs/vmlinuz-2.6.15.4 root=/dev/hdb1 ro

title debian sarge vmlinuz
root (hd0,1)
kernel (hd0,0)/debian/vmlinuz-2.6.15.4 root=/dev/hda2 ro

I think the extra "root (hdx,y)" is unnecessary here because you're
overriding it on the next line.  Here's what my setup looks like.
/dev/hdb1 is a boot partition.  /dev/hdb5 and /dev/hdb6 have two lfs
systems, respectively.  For some reason, I've put the kernels for
/dev/hdb5 in that partition in the /boot directory.  For /dev/hdb6,
the kernels are in /dev/hdb1, which is mounted at /boot.  Here's what
menu.lst looks like for me.

# LFS SVN entry
title LFS 20051005 (2.6.14.7-1)
       root (hd1,0)
       kernel /kernel/kernel-2.6.14.7-1 root=/dev/hdb6 vga=789

# LFS Alphabetical
title LFS Alpha 20060307 (2.6.12.5-2)
       root (hd1,4)
       kernel /boot/kernel/kernel-2.6.12.5-2 root=/dev/hdb5 vga=789

The first one (referring to the system at /dev/hdb6) has the kernels
physically in the /dev/hdb1 partition.  So, when grub changes into
/dev/hdb1 with the root (hd1,0) command, the kernels are found
relative to that partition.  In that case /boot is not needed since
there isn't actually a directory called /boot on /dev/hdb1.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to