LILO

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.

Everything Linux 1798 This topic was started by ,


data/avatar/default/avatar30.webp

32 Posts
Location -
Joined 2004-10-13
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?

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar03.webp

305 Posts
Location -
Joined 2003-08-30
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