PDA

View Full Version : How to Copy LILO from Floppy to HD?



Jack_
03-18-2004, 01:08 AM
When I installed Knoppix on the HD, I put LILO on the partition and created a floppy to boot.

How can I copy LILO from the floppy to the HD?

fingers99
03-19-2004, 05:41 AM
Your boot floppy (mount it and open it) does not contain Lilo.

Assuming you want Lilo on the mbr of your primary master drive (C in Windows speak) which is where most people place it, just su to root and do:

/sbin/lilo

and it should work (you might like to post your /etc/lilo.conf here so that people can check it first). Do check that you have no boot sector blockers (crude anti-virus tools, often included in your bios) enabled as these will prevent /sbin/lilo from writing to your mbr.

Your boot floppy will still work (and you should keep it in a safe place).