Linux tips and tricks for all users.

Copying an Ubuntu kernel to a Gentoo installation

I have had someone come to my website looking for help on how to copy an Ubuntu kernel over to a Gentoo installation. This is not too hard to do. Let us say the kernel is version 2.6.35-14-generic. Then you will need to copy the /lib/modules/2.6.35-14-generic folder into the /lib/modules folder on your Gentoo installation. Then you will need to copy the vmlinuz-2.6.35-14-generic kernel image and the initrd.img-2.6.35-14-generic files over to the /boot folder on your Gentoo installation. As well as theĀ System.map-2.6.35-14-generic file which also goes into /boot. Then you will need to update the boot loader and the files you have added will be added to the Gentoo boot loader.

I have done this myself and this does work.

Information on the Gentoo bootloader here: gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10.

One Comment

  • Posted February 1, 2012 at 4:06 AM | Permalink

    Sorry about the formatting, I typed this into WordPress on my ‘phone.

Post a Comment

Your email is kept private. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Current day month ye@r *