kobedf 0 Posted October 17, 2004 I Have Debian 3.0r2 I wanted to install Lilo on a Floppy......but i didn't find any option to do this .So i made a boot disk ......but that contains the kernel ...and it takes some time for the OS to start. I don't want to put LILO on the HDD or MBR because i want Windows to boot as the default OS when there is no floppy in the FDD. How can i put Lilo on a floppy now? Share this post Link to post
egorgry 0 Posted October 17, 2004 You can boot windows as teh default with lilo installed on the HD but to answer your question... 1) Insert an empty floppy 2) Format the floppy: fdformat /dev/fd0H1440 (if necessary) 3) Create an ext2 file system on the floppy: /sbin/mke2fs /dev/fd0 4) Mount the floppy device: mount /dev/fd0 /mnt/floppy 5) Copy the boot files: - cp /boot/boot.b /mnt/floppy - cp /boot/vmlinuz-2.version /mnt/floppy - cp /boot/initrd-2.version /mnt/floppy (if you have one) 6) Create a copy of /etc/lilo.conf 7) cp /etc/lilo.conf /etc/lilo.floppy 8) Modify /etc/lilo.floppy 9) Run LiLo: /sbin/lilo -C /etc/lilo.floppy 10) Unmount the floppy drive: umount /mnt/floppy 11) Reboot the computer using the newly created floppy Share this post Link to post