HD Install :: Boot Sequence Does Not Complete



Whilst playing around with linux from scratch (promted by curaga mentioning xorg-7.2 in beyond linux from scratch), I finally managed to get grub (grub-0.97) to write to a hd on my ancient scsi hd desktop.

I'd like to set grub up so it boots dsl-3.x from one hd, lfs from the other and dsl-n/dsl-4.x from usb sticks (in the same slot so they'd always be sdc1). So far, I've managed this as a grub menu:
Quote
# Begin /boot/grub/menu.lst

# By default boot the first menu entry.
default 0

# Allow 30 seconds before booting the default.
timeout 30

# Use prettier colors.
color green/black light-green/black

# The first entry is for LFS.
title LFS 6.3
root (hd0,1)
kernel /boot/lfskernel-2.6.22.5 root=/dev/sda2

# The second entry is for dsl-n
title dsl-n
root (hd2,0)
kernel /linux root=/dev/sdc1 dsl base norestore noacpi toram
initrd /minirt.gz
makeactive
boot

# the third entry is for dsl-3.x
title dsl-3.x
root (hd1,2)
kernel /boot/linux24 root=/dev/sdb3 lang=us apm=power-off nomce nodma quiet frugal restore=sdb4 toram alsa syslog mydsl=sdb4
initrd /boot/minirt24.gz
makeactive
boot

A couple of questions:

1. Do I need to include "ramdisk_size=100000 init=/etc/init" in the dsl-3.x entry?
2. dsl-n will not boot with the error "hd(2,0) does not exist" - I guess this is because /linux first needs to load before it can "see" /dev/sdc1. What's the best way to get around this, copy /linux somewhere on a hd?

- makeactive is not needed
- you do need to include everything that's in DSL isolinux.cfg, including all ramdisk_size etc
edit: unless they wouldn't be needed there either, but that's another thing

About (hd2,0), you sure it's that? Did you see it in grub when typing hd( and tab?
If grub can't see it, the standard policy is indeed copying the kernel and initrd somewhere else. I use this often to boot cd's/usb's on comps that can't do so natively.

PS: Nice to see another LFS convert :)

Quote
About (hd2,0), you sure it's that? Did you see it in grub when typing hd( and tab?
- at the time I had used a floppy fromusb dsl-n boot to chroot into lfs and I think this allowed grub to "see" the usb stick as hd2. However, maybe I imagined this and anyway, when booted normally grub does not see the usb stick so I guess I will need to copy the dsl-n boot files to hd somwhere and boot fromhd=/dev/sdc1.

Also:
Quote
kernel /boot/linux24 root=/dev/sdb3 lang=us apm=power-off nomce nodma quiet frugal restore=sdb4 toram alsa syslog mydsl=sdb4
restores the backup but does not load the extensions in /mnt/sdb4/mydsl??


original here.