Install kernel from RPM on Debian 6.0

From OpenVZ Virtuozzo Containers Wiki
Revision as of 10:51, 10 November 2011 by Kir (talk | contribs) (created)
Jump to: navigation, search

You can use latest RHEL6-based kernel builds on your Debian or Ubuntu machine. Here's how.

Installation

1. Get the latest kernel from either Download/kernel/rhel6-testing or Download/kernel/rhel6. You need vzkernel and vzkernel-devel packages only, with the -devel being optional.

2. Install fakeroot and alien:

apt-get install alien fakeroot

3. Convert these two rpms to debs using alien. This is

fakeroot alien --to-deb --scripts --keep-version vzkernel-*.rpm

4. Install debs as usual. Reboot. Enjoy.

dpkg -i vzkernel*.deb