how to build a bootable linux floppy:
1. Login as root
2. Insert an empty floppy
3. Format the floppy: fdformat /dev/fd0H1440 (if necessary)
4. Create an ext2 file system on the floppy: /sbin/mke2fs /dev/fd0
5. Mount the floppy device: mount /dev/fd0 /mnt/floppy
6. Copy the boot files:
cp /boot/boot.b /mnt/floppy
cp /boot/map /mnt/floppy
cp /boot/vmlinuz-2.2.5-15 /mnt/floppy (or whatever kernel)
7. Create a copy of /etc/lilo.conf file:
cp /etc/lilo.conf /etc/lilo.floppy
8. Modify /etc/lilo.floppy. It should look like this:
boot=/dev/fd0
map=/mnt/floppy/map
install=/mnt/floppy/boot.b
prompt
timeout=50
image=/mnt/floppy/vmlinuz-2.2.5-15
label=linux
root=/dev/hda2 <-- or wherever the root partition is
read-only
9. Run LILO to install it on the floppy:
/sbin/lilo -C /etc/lilo.floppy
10. Unmount the floppy drive:
umount /mnt/floppy
11. Reboot the computer using the newly created floppy.
|