Thursday, May 21, 2009


Install Ubuntu Jaunty PV & HVM DomUs at Xen 3.4 Dom0 (kernel 2.6.30-rc6-tip)




Create HVM DomU via profile:-

name = "JauntyHVM"
builder = "hvm"
memory = "1024"
disk = ['phy:/dev/loop0,hdc:cdrom,r','phy:/dev/sdb12,hda,w']
# disk = ['phy:/dev/sdb12,hda,w']
vif = [ 'type=ioemu,bridge=eth0' ]
device_model = "/usr/lib64/xen/bin/qemu-dm"
kernel = "/usr/lib/xen/boot/hvmloader"
vnc=1
boot="d"
usb=1
usbdevice="tablet"
vcpus=1
on_reboot = "restart"
on_crash = "restart"

Load PV DomU via profile with VFB to add grub entry for serial PV DomU console:-

memory = 2048
name = "Ubuntu9.04PV"
vcpus = 1
vif = [ 'bridge=eth0' ]
disk = [ 'phy:/dev/sdb12,xvda,w']
vfb= ['type=vnc,vncunused=1']

Undertake required actions at DomU to enable serial console and shutdown DomU.
Load PV DomU via serial console:-

memory = 2048
name = "Ubuntu9.04PV"
vcpus = 1
vif = [ 'bridge=eth0' ]
disk = [ 'phy:/dev/sdb12,xvda,w']

Run tasksel to install Ubuntu Desktop for PV DomU.
Shutdown PV DomU and load HVM DomU.
Ethernet interface at HVM DomU should now be up and running
with IP obtained via DHCP

















PV DomU











Solaris 10U6 (64-bit) HVM