Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

How to use OpenVZ as a XEN guest OS (for x86 platform)

139 bytes added, 09:30, 1 August 2007
Installing from tarball: further separated into subsections
=== Installing from tarball ===
==== Download/unpack ====Download XEN 3.1 32 bit PAE SMP tarball from [http://bitsxensource.com/download/dl_31tarballs.html xensource.com/ ] and unpack:
<pre>
# cd xen
# tar xvzf xen-3.1.0-install-x86_32p.tgz
</pre>
 
==== Install ====
Run the install.sh script within ./dist folder:
<pre>
</pre>
install.sh checks the presence of the required packages and installs hypervisor xen.gz and XenLinux vmlinuz-2.6.16.33-xen
to /boot and xm tool to /usr/sbin.  ==== Configure the bootloader ====Now update /etc/grub.conf by adding the xen entry in the following way:
/etc/grub.conf:
module /boot/vmlinuz-2.6.16.33-xen ro root=LABEL=/ console=ttyS0,115200 console=tty silencelevel=8
</pre>
 ==== Reboot ====Now you can reboot the machine. Choosing the Xen Linux (2.6.16.33-xen) from grub sequence will cause to booting xen hypervisor and Dom0 running Xen Linux (2.6.16.33-xen). In case of success you'll see the usual login prompt. If kernel panic takes place during boot - reboot the machine into your usual working Linux and check if the xen related /etc/grub.conf entry is correct. If /etc/grub.conf entry is correct and xen kernel is unable to boot,- the reason is prebuild pre-built vmlinuz-2.6.16.33-xen does not contain
some drivers for your hardware, that are needed to be loaded by using initrd. In this case follow instructions below - "Building from sources".