Boot Disk

Gerald Combs gerald at ethereal.com
Thu Jul 12 15:06:12 CDT 2001


On Thu, 12 Jul 2001, Jonathan Hutchins wrote:

> Mount your hard drive (mount /dev/hda5 /mnt -t ext2) and then chroot
> /mnt, you should be able to just run /sbin/lilo and restore the loader.

Actually, the chroot isn't needed.  From the LILO(8) man page:

       -r root-directory
              Before doing anything else,  do  a  chroot  to  the
              indicated  directory.  Used  for  repairing a setup
              from a boot floppy.

It comes in handy when your rescue disk won't chroot.  :)

> 
> 
> 




More information about the Kclug mailing list