Did LILO kill your Master Boot Record? Don’t worry, it happens to all of us. So here, in a nutshell, is what you can do. Get yourself a Live CD, such as Puppy Linux or Damn Small Linux, and reboot the computer using the Live CD. Open a shell and do this (sub "/dev/hda2" for wherever your bootable OS is, such as hda3, hda5, etc.):
$ su -
# fdisk -l
# mount -t ext3 -o rw /dev/hda2 /mnt
# chroot /mnt
# /sbin/lilo
If that doesn’t work, it’ll tell you why. If the partition table is off from what is actually on your HDD, then type this:
# /sbin/lilo -P fix
That will fix the table (in theory). Then you type the
# /sbin/lilo
command again, and you should be golden.



