kernels

Nils Kassube kassube at gmx.net
Sun Nov 16 08:02:14 UTC 2008


Karl Larsen wrote:
>     I have just looked at /usr/src/ and see this:
> karl at karl-hardy:/usr/src$ ls
> linux-headers-2.6.24-16          linux-headers-2.6.24-19
> linux-headers-2.6.24-16-generic  linux-headers-2.6.24-19-generic
> linux-headers-2.6.24-18          linux-headers-2.6.24-21
> linux-headers-2.6.24-18-generic  linux-headers-2.6.24-21-generic
>
>     I want to take a copy of the 2.6.24-21 kernel from Hardy and make
> it work on Intrepid. What do I need to transfer to Intrepid? I can fix
> menu.lst easy.

Some parts of the kernel are in /boot and some are in /lib/modules and 
maybe other places. And in /usr/src you will find the headers and source. 
IMHO it is too time consuming to find the individual files and copy them. 
It is much easier to use the package management for that. Just add these 
lines to your /etc/apt-sources.list:

deb http://archive.ubuntu.com/ubuntu/ hardy main restricted
deb http://security.ubuntu.com/ubuntu/ hardy-security main restricted

Then use the command "sudo apt-get update" and install whatever hardy 
kernel you want.


Nils




More information about the ubuntu-users mailing list