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!!
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$21.50
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$12.90
Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM
$23.33
Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand
$60.00
8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A
$12.00
Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem
$39.99
Lot of 50 4GB DDR3 PC3 Sticks Desktop Ram - mixed speeds and brands
$88.00
HyperX FURY DDR4 8GB 16GB 32GB 3200MHz PC4-25600 Desktop RAM Memory DIMM 288pins
$72.93