PV-Grub & managing openSUSE 11.1 PV DomU (via VFB) at Xen-Unstable Dom0 with 2.6.29-rc3 pv_ops enabled kernel on Intel SATA(AHCI)

This posting is targeting install stubdom binaries at Xen-Unstable Dom0 with pv_ops enabled kernel and testing pv-grub and virtual frame buffer functionality in mentioned environment. Actually, stubdom install requires:-

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

with package “Texinfo” previously installed via Synaptic Manager. 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/suse.iso
# mkdir -p /var/www/suse
# mount -o loop /etc//xen/isos/suse.iso /var/www/suse
***********************
Installation profile :-
***********************
root@boris-desktop:/etc/xen/vm# cat suse.py
name=”OpenSuse11.1PV”
memory=2048
disk = [‘phy:/dev/loop0,hdc:cdrom,r’,’phy:/dev/sda10,hda,w’ ]
vif = [ ‘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 suse.py
# 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 suse.pyrun

# 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




One Response to PV-Grub & managing openSUSE 11.1 PV DomU (via VFB) at Xen-Unstable Dom0 with 2.6.29-rc3 pv_ops enabled kernel on Intel SATA(AHCI)

Leave a comment