Installing Debian Squeeze (6.0) domU On CentOS 5.5 x86_64 dom0
|
Submitted by vilkaspilkas (Contact Author) (Forums) on Tue, 2011-03-22 10:41. :: CentOS | Debian | Linux | Xen
Installing Debian Squeeze (6.0) domU On CentOS 5.5 x86_64 dom0This tutorial shows how to create a Debian Squeeze (6.0) domU on dom0 running CentOS 5.5 x86_64.
1 Problem descriptionWhen installing Debian 6.0 domU on CentOS 5.5 x86_64 the following problems may arise:
2 InstallationThe following command is used to launch the installation: xm create -c /etc/xen/xm-debian.cfg install=true \ It will look for images in subdirectory netboot/xen. This directory also contains file xm-debian.cfg. Download this file and adjust disk, vif and other sections to suit your needs. This file is already filled with correct values for release (squeeze) and architecture (amd64). The file can also be adjusted to use preferred mirror.
3 Post installationAfter the system is installed and the domU is shut down, check if Xen kernel images have been installed and install them if necessary. After the images have been installed, copy them to /boot directory on dom0 and modify the Xen config to use custom kernel and ramdisk instead of pygrub.
kpartx -av /dev/data_vg/myvm-root Installing the xen kernel will generate the initrd image appropriate for domU. The example Xen config: name = "myvm"
maxmem = 1024
memory = 1024
vcpus = 1
kernel = "/boot/vmlinuz-2.6.32-5-xen-amd64"
root = "/dev/xvda1 ro"
ramdisk = "/boot/initrd.img-2.6.32-5-xen-amd64"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
disk = [ "phy:/dev/data_vg/myvm-root,xvda,w",
"phy:/dev/data_vg/myvm-swap,xvdb,w"]
4 Links
|



Recent comments
12 hours 23 min ago
21 hours 51 min ago
22 hours 41 min ago
1 day 2 hours ago
1 day 6 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 19 hours ago
2 days 10 min ago
2 days 1 hour ago