Wednesday, February 11, 2009


Install openSUSE 11.1 PV DomU (via virtual frame buffer) at Xen-Unstable Dom0 with
2.6.29-rc3 pv_ops enabled kernel on Intel SATA(AHCI)


Setup VNC at Dom0 exactly as on Ubuntu Intrepid Server with Ubuntu Desktop
installed via "tasksel" to manage Dom0 remotely via Gnome Desktop interface
Setup Apache at Dom0.
# apt-get install apache2
# losetup /dev/loop0 /etc/xen/isos/suse11.1.iso
# mkdir -p /var/www/suse
# mount -o loop /etc//xen/isos/suse11.1.iso /var/www/suse
***********************
Installation profile :-
***********************
root@boris-desktop:/etc/xen/vm# cat suse11.1.cfg
name="OpenSuse11.1PV"
memory=2048
disk = ['phy:/dev/loop0,hdc:cdrom,r','phy:/dev/sda10,hda,w' ]
vif = [ 'mac=00:16:3e:4a:f5:00, bridge=eth0', ]
vfb = [ 'type=vnc,vncunused=1' ]
bootloader = “/usr/bin/pygrub”
kernel = “/boot/x86_64/vmlinuz-xen”
ramdisk = “/boot/x86_64/initrd-xen”
vcpus=1
on_reboot = ‘restart’
on_crash = ‘restart’
**************
Start install:-
*************
# xm create suse11.1.cfg
# vncviewer localhost:0


























********************************************
Final configuration and runtime profile
********************************************
memory = 2048
name = "openSUSE11.1PV"
bootloader="/usr/bin/pygrub"
vif = [ 'bridge=eth0' ]
vfb = [ 'type=vnc,vncunused=1' ]
disk = [ 'phy:/dev/sda10,hda,w!']
# xm create suse11.1.load
# vncviewer localhost:0











Install stubdom:-

# cd /usr/src/xen-unstable.hg/stubdom
# make
# make install

PV-Grub profile :-

# cat suse.pv-grub
name = "suse-pvgrub"
memory = 2048
vcpus = 1
vfb = [ 'type=vnc' ]
disk = [ 'phy:/dev/sda10,xvda,w' ]
vif = [ "bridge=eth0" ]
kernel = "/usr/lib/xen/boot/pv-grub-x86_64.gz"
extra = "(hd0,0)/boot/grub/menu.lst"

# xm create suse.pv-grub
# vncviewer localhost:0