Boot into Linux. Open a term and rerun lilo.
sudo /sbin/lilo
It should return something like:
Added Linux *
Added Windows *
If you see any errors then post your /etc/lilo.conf file.
Hi all,
i'm having a problem with lilo, can anyone help me?
I have windows and knoppix installed in my laptop, and when the laptop starts apeears to choise either knoppix or windows to start. If i choose knoppix i have no problems, but if i choose windows apears the following sentence : Lilo - Keytable read/checksum error
I've done a search in the forum but i didn't found the answer to my problem.
Thanks in advance.
Boot into Linux. Open a term and rerun lilo.
sudo /sbin/lilo
It should return something like:
Added Linux *
Added Windows *
If you see any errors then post your /etc/lilo.conf file.
In first place thks for your quick reply.
I did what you told me and appears the following > Warning : compact may conflict with LBA32 on some systems
Added Linux
Added Windows
This is my lilo.conf file :
lba32
# Generated by liloconfig
# Specifies the boot device
boot=/dev/hda3
# Specifies the device that should be mounted as root.
# If the special name CURRENT is used, the root device is set to the
# device on which the root file system is currently mounted. If the root
# has been changed with -r , the respective device is used. If the
# variable ROOT is omitted, the root device setting contained in the
# kernel image is used. It can be changed with the rdev program.
root=/dev/hda3
# Enables map compaction:
# Tries to merge read requests for adjacent sectors into a single
# read request. This drastically reduces load time and keeps the map
# smaller. Using COMPACT is especially recommended when booting from a
# floppy disk.
compact
# Install the specified file as the new boot sector.
# If INSTALL is omitted, /boot/boot.b is used as the default.
install=/boot/boot.b
# Specifies the number of _tenths_ of a second LILO should
# wait before booting the first image. LILO
# doesn't wait if DELAY is omitted or if DELAY is set to zero.
delay=20
# Specifies the location of the map file. If MAP is
# omitted, a file /boot/map is used.
map=/boot/map
# Specifies the VGA text mode that should be selected when
# booting. The following values are recognized (case is ignored):
# NORMAL select normal 80x25 text mode.
# EXTENDED select 80x50 text mode. The word EXTENDED can be
# abbreviated to EXT.
# ASK stop and ask for user input (at boot time).
# <number> use the corresponding text mode. A list of available modes
# can be obtained by booting with vga=ask and pressing [Enter].
vga=normal
image=/vmlinuz
label=Linux
read-only
# If you have another OS on this machine (say DOS),
# you can boot if by uncommenting the following lines
# (Of course, change /dev/hda2 to wherever your DOS partition is.)
other=/dev/hda1
label=Windows
Thks for the help.
Aha! You need to make a slight change to lilo.conf. Change
boot=/dev/hda3 to boot=/dev/hda
Of course don't forget to rerun lilo.
You see, when you had boot in hda3 lilo never even got started. Aparently you had another lilo install at one time. That should work.
Ok, the first error doesn't appear now, thks
But appear another one. When i select Windows to start in lilo, instead of running windows runs linux!!
It's very stange but when the laptop starts appears lilo ver.XXXX and the menu shows Linux or windows, whether i select win or linux appears again lilo ver.xxx and starts to run linux.
It seems that i have 2 lilo running !!
Thks again for your trouble!!
You do indeed have 2 lilo's. You are certain that your current Linux install is in /dev/hda3? It might be easiest to just reinstall your boot loaders. If you have a floppy drive you can boot a win98 floppy and do fdisk /mbr. Boot the machine- it should boot straight into windows. If so good. Use another floppy to boot Linux OR boot the Knoppix cd, mount your /root partition:
mount /dev/hda3 /mnt/hda3
Change root to your /root partition:
su
chroot /mnt/hda3
Then rerun lilo from there.
Hi again,
sorry fot the late reply...
Thks for all your help, it works![]()
![]()
I did what you told and had no problems, thks again for you quick help!!

Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro
$334.99
Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50
Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11
$374.99
Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50
Lenovo Legion 5 Gaming 15.1" WQXGA OLED 165Hz Core i9-14900HX 16GB 1TB RTX 5070
$1469.00
Lenovo ThinkPad T14 Gen 1 14" AMD Ryzen 5 16GB 256GB SSD
$219.99
Lenovo ThinkPad X13 Gen 1 i5-10310U 16GB 512GB SSD Touch Win 11 Pro Good
$222.99
Lenovo - IdeaPad Slim 3i 15.3" 2K Touchscreen Laptop - Intel Core 7 350 2026 ...
$679.99
Lenovo ThinkPad T14s Laptop 14” Laptop Core i5 8GB RAM 256GB SSD Windows 11 Pro
$249.99
Lenovo ThinkPad T495 14” Laptop AMD Ryzen 5 PRO 16GB RAM 256GB SSD Windows 11
$229.99