Forum Home
Press F1
 
Thread ID: 46918 2004-07-09 13:53:00 2.6 Kernel installed but boots 2.4.24-x1 (attn: chill?) Ashley Matthews (550) Press F1
Post ID Timestamp Content User
251071 2004-07-09 13:53:00 Hey,

I managed to install the new kernel (i think) by running xandros networks and having it install a file named kernel-image-2.6.6-1-686_2.6.6-1_i386.deb. That went without a hitch, although I did have to download some other files like initrd-tools etc. However when I reboot it still boots me into xandros running the 2.4.24-x1 (as seen in control centre). I suspect that this is a problem with my lilo.conf file, so it is posted below.

boot=/dev/hda
install=/boot/cboot.b
message=/boot/splash.lilo
timeout=300
map=/boot/map
prompt
fix-table
lba32
read-only
disk=/dev/hda bios=0x80
image=/vmlinuz
label=Safe_Video_Mode
vga=0xf04
root=/dev/hda7
initrd=/boot/initrd-2.6.6-1-686.gz
append="3 rw acpi=on "
image=/vmlinuz
label={}ure_(Expert)
vga=normal
root=/dev/hda7
initrd=/boot/initrd-2.6.6-1-686.gz
append="single rw acpi=on "
other=/dev/hda1
label=W<>®_XP


This is what it was before the install
boot=/dev/hda
install=/boot/cboot.b
message=/boot/splash.lilo
timeout=300
map=/boot/map
prompt
fix-table
lba32
read-only
disk=/dev/hda bios=0x80
image=/vmlinuz
label=[]s_Desktop_2.0
vga=0xf04
root=/dev/hda7
initrd=/boot/initrd-2.4.24-x1.gz
append="rw acpi=on "
image=/vmlinuz
label=Safe_Video_Mode
vga=0xf04
root=/dev/hda7
initrd=/initrd.img
initrd=/boot/initrd-2.4.24-x1.gz
append="3 rw acpi=on "
image=/vmlinuz
label={}ure_(Expert)
vga=normal
root=/dev/hda7
initrd=/boot/initrd-2.4.24-x1.gz
append="single rw acpi=on "
other=/dev/hda1
label=W<>®_XP

I dont seem to have a file called initrd-2.6.6-1-686.tar.gz, but i do have one called initrd-2.6.6-1-686.?

Any ideas?
Ashley Matthews (550)
251072 2004-07-09 22:57:00 In a terminal window type uname -a to find out exactly what kernel version you are running. It should confirm that it is the same as what you found in Control. Susan B (19)
251073 2004-07-10 01:14:00 Ok, any ideas what i can do about it? Ashley Matthews (550)
251074 2004-07-10 03:56:00 Each OS/version needs its own section in lilo.conf. Each section starts with an image= ... line and has various bits of information, such as the kernel, the initrd file, and any special options.

man lilo.conf will help. ;-)

You are getting the old kernel, because the image file is given as "/vmlinuz" that's probably a soft link to the old kernel.
ls -l /vmlinuz will confirm this. Change the line to point explicitly to your new kernel file.

Try changing the initrd= line to have the actual filename of your initrd file, without the gz extension. It should accept a non-compressed file, though you could use gzip on it. ;-)

I would definitely copy the last linux section (changing the label so it differs from the new one) of your previous lilo.conf file to give you a fallback to the old system. That's quicker than a reinstall when it all goes pearshaped.

And of course, you did run lilo after the changes to lilo.conf? :D
Graham L (2)
1