Sorry to use English since my harddisk was damaged yesterday. I just reinstall Debian and still configuring the Chinese environment.
I upgrade my kernel to 2.4.20-k7 and follow Mr.Moto's manual and run
"ln -s /boot/initrd-.img-2.4.20-k7 /boot/initrd"
Then I amend the lilo.conf according to the manual.
However when I ran "lilo -v -v -v" the following error is seen:
debian:/home/pooh# lilo -v -v -v
LILO version 22.3.3, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2002 John Coffman
Released 30-Aug-2002 and compiled at 15:38:21 on Sep 1 2002.
raid_setup returns offset = 00000000 ndisk = 0
Reading boot sector from /dev/hda
bios_dev: device 0308
bios_dev: masked device 0300, which is /dev/hda
bios_dev: geometry check found 0 matches
bios_dev: PT match found 1 match (0x80)
Device 0x0308: BIOS drive 0x80, 255 heads, 7297 cylinders,
63 sectors. Partition offset: 17976798 sectors.
Using MENU secondary loader
Calling map_insert_data
Secondary loader: 16 sectors (0x3000 dataend).
Boot image: /vmlinuz -> boot/vmlinuz-2.4.20-k7
bios_dev: device 0308
bios_dev: masked device 0300, which is /dev/hda
bios_dev: geometry check found 0 matches
bios_dev: PT match found 1 match (0x80)
Device 0x0308: BIOS drive 0x80, 255 heads, 7297 cylinders,
63 sectors. Partition offset: 17976798 sectors.
Setup length is 10 sectors.
Mapped 1317 sectors.
Mapping RAM disk /boot/initrd -> /boot/initrd-.img-2.4.20-k7
Fatal: open /boot/initrd: No such file or directory
Removed temporary file /boot/map~
The relevant part of my lilo.conf is as follows:
default=Linux
image=/vmlinuz
label=Linux
initrd=/boot/initrd
read-only
# restricted
# alias=1
image=/vmlinuz.old
label=LinuxOLD
read-only
append="hdc=scsi "
optional
# restricted
# alias=2