Juanito
Group: Members
Posts: 1601
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: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?
|