Monday, August 27, 2007

Xen 3.1 Binary install on Debian Etch 4.0 (x86_64)

This posting is supposed to respond the notice:-

A note on x86_64 systems: I tried to install Xen 3.1.0 on Debian Etch AMD64 as well,
but regardless of the method (Xen source install vs. Xen x86_64 binary install),
the Xen kernel didn't boot (no error messages, but the boot process was incredibly slow and never finished...)

from The Perfect Xen 3.1.0 Setup For Debian Etch (i386)

Debian Etch 4.0 (amd64) has been installed on box assembled with:-
Core 2 Duo E6600,ASUS P5B Deluxe, 2 GB RAM (Kingston non ECC),
SATA HDD Seagate Barracuda 160 GB x 2

Root login has been enabled :-

# apt-get install bridge-utils
# tar xvzf xen-3.1.0-install-x86_64.tgz
# cd dist/
# ./

Configuring xend:-

# update-rc.d xend defaults 20 21
# update-rc.d xendomains defaults 21 20
# depmod 2.6.18-xen
# apt-get install yaird

Create ramdisk:-

# mkinitrd.yaird -o /boot/initrd.img-2.6.18-xen 2.6.18-xen

Modify /boot/grub/menu.lst correspondently (add entry for xen kernel ) :-

title Xen-3.1 on Debian Etch x86_64 (2.6.18-xen)
root (hd1,3)
kernel /boot/xen-3.1.gz
module /boot/vmlinuz-2.6.18-xen ro root=/dev/sdb4
module /boot/initrd.img-2.6.18-xen

Reload into xen kernel.

apt-get install xen-tools

HVM CentOS 5.0 (x86_64) VM has been successfully built up.

Disabling system generating DHCP mode for VM's ethernet interface:-

Assign static IP address to eth0:-

Network bridge verification:-

HVM Windows XP VM has been successfully built up as well