[Voyage-linux] upgrading kernel to 2.6.22

Think Blue Media (spam-protected)
Fri Jul 13 18:20:13 HKT 2007


HI There,

 

I need to upgrade my kernel to version 2.6.22. I can do this from source but
it takes several hours and uses up a huge amount of space which is a
valuable commodity as I am running from a 1GB compact flash card. Is there
any way of upgrading the kernel using apt-get. I have google'd around and
tried the following after changing the sources.list file to include a source
that contains the linux kernel image;

 

#apt-get update

#apt-get upgrade

#apt-cache search linux-image

#apt-get install linux-image-2.6.22

 

This seemed to install the kernel correctly and dumped it in the boot folder
but when I reboot the system I was still running the old kernel. So I
changed my lilo.conf file to read as follows.

 

#

# This file generated automatically by /voyage-0.3/usr/local/sbin/setboot.sh

# on Fri Jul 13 09:05:15 GMT 2007

#

boot = /dev/hda

serial=0,38400n8

vga=normal

delay=1

default=Linux

 

image=/boot/vmlinuz

       root=/dev/hda1

       label=Linux

              append="console=ttyS0,38400n8 reboot=bios"

       read-only

 

image=/vmlinuz.old

       root=/dev/hda1

       label=LinuxOLD

              append="console=ttyS0,38400n8 reboot=bios"

       read-only

       optional

 

The image is now the vmlinuz in the boot folder which is linked to the
vmlinuz-2.6.22 file (also in the boot folder). I then ran lilo and reboot
the system but half way through the boot I got the following error;

 

Please append a correct "root=" boot option 

Kernel panic: VFS: Unable to mount root fs on hda1

 

Does anybody know if I'm missing something in the kernel upgrade process? Is
there a simpler way to upgrade the kernel to this version (2.6.22)?Any help
would be greatly appreciated

 

Thanks in advance,

 

Joe Ross

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20070713/bbbf580b/attachment-0001.html>


More information about the Voyage-linux mailing list