Joined: Sep. 2005
||Posted: June 07 2008,06:47
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:
|# Begin /boot/grub/menu.lst|
# By default boot the first menu entry.
# Allow 30 seconds before booting the default.
# Use prettier colors.
color green/black light-green/black
# The first entry is for LFS.
title LFS 6.3
kernel /boot/lfskernel-126.96.36.199 root=/dev/sda2
# The second entry is for dsl-n
kernel /linux root=/dev/sdc1 dsl base norestore noacpi toram
# the third entry is for dsl-3.x
kernel /boot/linux24 root=/dev/sdb3 lang=us apm=power-off nomce nodma quiet frugal restore=sdb4 toram alsa syslog mydsl=sdb4
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?