Changes

Jump to: navigation, search

Install kernel from RPM on Ubuntu 10.04

90 bytes added, 07:37, 10 October 2012
no edit summary
== Installation ==
1. Get the latest kernel and utils from [[Download/kernel/rhel6]] and [[Download/utils]]. You need
* vzkernel
* vzkernel-devel
* vzctl
* vzctl-lib
* vzquota
<code>vzkernel-devel</code> is optional.
Newer vzctl will also need ploop-packages!
2. Install fakeroot and alien.
3. Convert all the RPMs to debs using alien.
fakeroot alien --to-deb --scripts --keep-version vz*.rpm
fakeroot alien --to-deb --scripts --keep-version ploop*.rpm
4. Install debs.
dpkg -i vz*.deb
dpkg -i ploop*.deb
5. Install vz utilsapt-get install vzctl vzquota 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]].
default 0
timeout 3
initrd /boot/initrd.img-2.6.32-38-server
6b. If using grub2, please modify /etc/default/grub 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]].
78. Make OpenVZ boots automatically.
update-rc.d vz defaults
update-rc.d vzeventd defaults
89. If you plan to use LVM2, make sure the module dm-mod is loaded at startup:
echo "dm-mod" >> /etc/modules
910. Reboot.
reboot
1011. Follow the [[Quick installation]] from “installing OS template caches”.
10b11b. rsyslog probably won't work (it depends on a debian-specific kernel-hack). See
[http://forum.linode.com/viewtopic.php?p=32053] on how to get it working again.
1112. See also [[Common Networking HOWTOs]].
[[Category: HOWTO]]
Anonymous user

Navigation menu