Editing Install kernel from RPM on Ubuntu 10.04

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 6: Line 6:
 
* vzkernel-devel
 
* vzkernel-devel
 
<code>vzkernel-devel</code> is optional.
 
<code>vzkernel-devel</code> is optional.
 
For newer kernels with [[ploop]]-support you will not be able to use the vzctl package that comes with Ubuntu 10.04. So download the following rpm-packages from openvz.org as well
 
* ploop
 
* ploop-lib
 
* vzctl-core
 
* vzctl
 
* vzquota
 
 
  
 
2. Install fakeroot and alien.
 
2. Install fakeroot and alien.
 
  apt-get install fakeroot alien
 
  apt-get install fakeroot alien
  
3. Convert all the RPMs to debs using alien and install the converted kernel
+
3. Convert all the RPMs to debs using alien.
  fakeroot alien --to-deb --scripts --keep-version *.rpm
+
  fakeroot alien --to-deb --scripts --keep-version vz*.rpm
  dpkg -i vzkernel*deb
+
 
 +
4. Install debs.
 +
  dpkg -i vz*.deb
  
4a. Install vz utils ('''only if you did not download vzctl and vzquota from openvz.org''')
+
5. Install vz utils
 
  apt-get install vzctl vzquota
 
  apt-get install vzctl vzquota
 
'''OR'''
 
 
4b. Download and install [http://packages.ubuntu.com/precise/libcgroup1 libcgroup1] from the Ubuntu 12.04 repository for your architecture if you plan of using current versions of vzctl
 
wget http://mirror.pnl.gov/ubuntu//pool/universe/libc/libcgroup/libcgroup1_0.37.1-1ubuntu10_i386.deb
 
wget http://mirror.pnl.gov/ubuntu//pool/universe/libc/libcgroup/libcgroup1_0.37.1-1ubuntu10_amd64.deb
 
 
dpkg -i libcgroup1*deb
 
dpkg -i ploop*deb vzquota*deb vzctl*deb
 
  
 
6. Modify <code>/boot/grub/menu.lst</code> like this. This heavily depends on your enviornment. Please modify. See also “configuring the bootloader” of [[Quick installation]].
 
6. Modify <code>/boot/grub/menu.lst</code> like this. This heavily depends on your enviornment. Please modify. See also “configuring the bootloader” of [[Quick installation]].

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)