:> The question is how do you build a custom boot disk that will wait for
:> a disk change to load the root floppy? Or how about just replacing the
:> kernel on the slackware boot disk?
I have done this for kernel version 1.1.35. From a brief look at the
kernel, it looks like this should happen. However, some of the stuff
with ramdisks has changed in the last few versions, so maybe it is broken.
Anyway, in recent kernel versions, there is a function rd_load() in
/usr/src/linux/drivers/block/ramdisk.c.
In this function, after the first if stmt I added the following lines:
printk("Insert root disk and press ENTER\n" );
wait_for_keypress();
To make my boot disk I used dd to copy the slackware image to the harddrive,
and then back to a fresh disk (to preserve the old kernel, just in case)
then I did the following with the new boot disk in /dev/fd0:
mount -t minix /dev/fd0 /mnt
cp zImage /mnt/vmlinuz
cd /mnt
rdev vmlinuz /dev/fd0
ramsize vmlinuz 1440
lilo -r /mnt -C etc/lilo.conf
David A. Berson.