there is no facility in mkbootdisk for passing arguments to the kernel....like memory size and vga setting... what gives? why don't these get parsed from /etc/lilo.conf? why isn't there a single-user shortcut, too... image=/boot/vmlinuz-2.2.14-5.0 # maintenance reboot for fixin' stuff label=single append="single" here is a very quick hack: ############################################################################# # # patch follows (vs redhat 6.1 mkbootdisk-1.2.2) # --- updates/mkbootdisk Mon Nov 20 05:58:35 2000 +++ /sbin/mkbootdisk Wed Jan 19 13:10:53 2000 @@ -148,7 +148,8 @@ cp -Pa $rootdev $MOUNTDIR cp -a /boot/boot.b $MOUNTDIR/boot/boot.b -cat > $MOUNTDIR/etc/lilo.conf <<EOF +egrep '^(append|vga)' /etc/lilo.conf > $MOUNTDIR/etc/lilo.conf +cat >> $MOUNTDIR/etc/lilo.conf <<EOF boot=$device timeout=100 message=/boot/message
also, making boot disks shouldn't be so black box. mkbootdisk should give out the advice that the boot disk can be manually hacked... it's an ext2 disk, btw, so you can hack it ### manually: ### ### mount -t ext2 /dev/fd0 /mnt ; vi /mnt/etc/lilo.conf ; lilo -r /mnt IN FACT, there should be a makefile there... lilo: /sbin/lilo -r `pwd`
and here's another bug that you can RE-FILE UNDER LILO: if a floppy has been mounted as type 'auto' in fstab, then lilo-0.21-15.i386.rpm will be unable to open /dev/fd0 the floppy MUST BE MOUNTED -t ext2
1.4.4 supports args= properly (for both grub and lilo)