Creating a Quick Boot Disk
Lilo, the Linux Loader
If you would like to boot from a floppy and not have to wait for the kernel to load from the floppy then have lilo load from the floppy (fast) and launch a kernel on the HD (very fast). This is useful in dual boot boxes that have NT and Linux on them. I personally don't like to mess around trying to get lilo to work with NT for dual booting. The floppy route is effective and there is no risk of screwing up NT, any more than it is.
- prompt> mkfs.minix -c /dev/fd0 1440
- prompt> mount /dev/fd0 /floppy
- prompt> cp /boot/boot.b /floppy/
- prompt> {editor} /floppy/lilo.conf
(Below are the contents of lilo.conf on the floppy:)
# /floppy/lilo.conf boot=/dev/fd0 vga = normal read-only prompt timeout=200 # end of global image = /boot/vmlinuz root = /dev/hda1 label = linux # end of /floppy/lilo.conf
- prompt> lilo -C /floppy/lilo.conf
Note that there is no kernel on the floppy; the kernel is on the HD! The floppy boots fast and launches the kernel on the HD.
Now reboot with the floppy. This should be pretty fast.
This is not a substitute for a rescue floppy; for that you need a bootable kernel on the floppy.
GRUB, An Alternative to Lilo
A useful alternative to lilo is grub. It will fit on a floppy, loads very fast, and it can boot NT with little effort. In many ways grub is easier to configure than lilo.
If you need to boot a variety of OS's on your machine, grub may be just what you are looking for. I've used it to boot successfully Linux, FreeBSD, Plan 9, Windows NT, Win 2000, and MSDOS. There is little it won't boot. Download grub from ftp://alpha.gnu.org:/gnu/grub/