Changes

Jump to: navigation, search

Install kernel from RPM on Ubuntu 10.04

799 bytes added, 12:27, 25 February 2013
Installation
* vzkernel-devel
<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.
apt-get install fakeroot alien
3. Convert all the RPMs to debs using alien. and install the converted kernel fakeroot alien --to-deb --scripts --keep-version vz*.rpm dpkg -i vzkernel*deb 4a. Install vz utils ('''only if you did not download vzctl and vzquota from openvz.org''') apt-get install vzctl vzquota '''OR'''
44b. Install debsDownload 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 dpkg wget http://mirror.pnl.gov/ubuntu//pool/universe/libc/libcgroup/libcgroup1_0.37.1-i vz*1ubuntu10_amd64.deb
5. Install vz utils dpkg -i libcgroup1*debapt dpkg -get install i ploop*deb vzquota*deb vzctl vzquota*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]].
initrd /boot/initrd.img-2.6.32-38-server
6b. If using grub2, please modify <code>/etc/default/grub </code> and change GRUB_DEFAULT to whatever your new grub entry is named (check your menuentrys in /boot/grub/grub.cfg, e.g. ) "GRUB_DEFAULT="Ubuntu, mit Linux 2.6.32-042stab061.2")
7. Edit <code>/etc/sysctl.conf</code>. See “sysctl” of [[Quick installation]].
Anonymous user

Navigation menu