Editing Install kernel from RPM on Debian 6.0

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
You can use the latest RHEL6-based kernel builds on your Debian 6.0 machine. Here's how.
+
You can use latest RHEL6-based kernel builds on your Debian or Ubuntu machine. Here's how.
 
 
{{Warning|While it works, the best way is to use native kernel/tools builds for Wheezy, please see [[Installation on Debian]].}}
 
  
 
== Installation ==
 
== Installation ==
1. Get the latest kernel and utils from [[Download/kernel/rhel6]] (or [[Download/kernel/rhel6-testing]]) and [[Download/utils]]. You need  
+
1. Get the latest kernel from either [[Download/kernel/rhel6-testing]] or [[Download/kernel/rhel6]]. You need <code>vzkernel</code> and <code>vzkernel-devel</code> packages only, with the <code>-devel</code> being optional.
* vzkernel
 
* vzkernel-devel
 
* vzctl-core
 
* vzctl
 
* ploop-lib
 
* ploop
 
* vzquota
 
<code>vzkernel-devel</code> is optional.
 
 
 
2. Install fakeroot and alien.
 
apt-get install fakeroot alien
 
 
 
3. Convert all the RPMs to debs using alien.
 
fakeroot alien --to-deb --scripts --keep-version vz*.rpm ploop*.rpm
 
 
 
4. Install debs.
 
dpkg -i vz*.deb ploop*.deb
 
If you're having problem about overwriting files from other packages, try adding <code>--force-overwrite</code> option.
 
 
 
5. Modify <code>/boot/grub/menu.lst</code>. See “configuring the bootloader” of [[Quick installation]].
 
 
 
6. Edit <code>/etc/sysctl.conf</code>. See “sysctl” of [[Quick installation]].
 
 
 
7. Make OpenVZ boot automatically.
 
update-rc.d vz defaults
 
update-rc.d vzeventd defaults
 
  
8. Reboot.
+
2. Install fakeroot and alien:
  reboot
+
  apt-get install alien fakeroot
  
9. Follow the [[Quick installation]] from “installing OS template caches”.  
+
3. Convert these two rpms to debs using alien. This is
 +
fakeroot alien --to-deb --scripts --keep-version vzkernel-*.rpm
  
10. See also [[Common Networking HOWTOs]].
+
4. Install debs as usual. Reboot. Enjoy.
 +
dpkg -i vzkernel*.deb
  
 
[[Category: HOWTO]]
 
[[Category: HOWTO]]

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: