Skip to main content

LILO - Keytable read/checksum error

More
16 years 10 months ago #22375 by MadFLy
Due to a recent power failure, one of my firewall/vpn server's harddrives crashed. I really do not want to set up every thing from the start. Its only the bootloader that is screwed. How do I fix it?

I get the following error "LILO - Keytable read/checksum error"
More
16 years 10 months ago #22397 by nske
Try booting from a bootable linux CD and doing the following:

# fdisk -l /dev/hda
// locate the device containing your / partition (the example assumes it is located in the master position of the Primary IDE controller)

# mount /dev/hdaX /mnt
// Once you find out which device contains your / partition, mount it somewhere

# mount -o bind /dev /mnt/dev
# mount -o bind /proc /mnt/proc
// bind the /dev and /proc filesystems in the corresponding destinations inside the mountpoint of your / partition, just in case lilo needs them

# chroot /mnt
// chroot inside your / partition

# lilo
// rewrite lilo, according to the settings of it's configuration file, normally in /etc/lilo.conf

Time to create page: 0.139 seconds