Glenn Williams wrote:

[...]


> I was lucky - several nights ago, we had a 1 hour power outage,
> complete with surges and sags.  Both my Linux/Windows XP machines were
> running.  When the dust settled, I could not boot into this Linux
> automatically using the LILO on the hard drive.  I whipped out my
> handy-dandy LILO boot floppy, repaired LILO on the hard disk and went
> merrily on my way.

I'm not sure what you mean by a boot floppy.  If you mean a floppy that
boots a kernel it contains (and probably mounts / as a ramdisk contained on
another floppy) then what you did or dd are both good ways to make another.

On the other hand, for an installed system, a boot floppy could be as
simple as a floppy with a valid boot sector that loads a kernel off your
hard drive and mounts your root partition.  If that's all you need, then
you can just edit /etc/lilo.conf and change the line that reads
boot=/dev/hd[something] to be /dev/fd0 (or whatever your floppy is).  Put
in a floppy and run lilo and you can now boot off it with the same menu
etc. that you get booting off your hard drive.

Lilo will write a boot sector to the floppy, but nothing else.  This won't
help much if your hard drive crash hoses your boot sector and your kernel,
but it works if the boot sector alone is messed up (say by some other OS),
and it's much quicker than loading the whole kernel off the floppy.

Dave


_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to