Pygrub & install OpenSolaris 2008.11 at Xen Unstable Dom0 with 2.6.29-rc7 pvops enabled kernel

The most recent changes to Xen Unstable now allow to load Solaris Nevada and opensolaris 2008.11 PV DomUs with ZFS image via pygrub. Actually, Xen Unstable Dom0 with Suse’s 2.6.27 xen-ified kernel or standard 2.6.18 kernel will behave the same way.Moreover, install xen-ified kernel seems to be a preferable option due to 2.6.29-rc7 is under heavy development in meantime. My choice of pvops kernel for Dom0 is targeting test purposes first of all. Build pvops kernel per [1] :-

# git clone git:// linux-2.6-xen
# cd linux-2.6-xen
# git checkout origin/xen/dom0/hackery -b xen/dom0/hackery

To enable Xen support in Dom0 and tune kernel
for yourself:-

# make menuconfig

Now build:-

# make
# make modules_install install
# mkinitramfs -o /boot/initrd-2.6.29-rc8-tip.img 2.6.29-rc8-tip

Reboot with grub entry :-

title Xen 3.4 / Ubuntu 8.10, kernel 2.6.29-tip
uuid 9efba9a5-9f2b-4bf6-b8b5-7d6d53eb02d9
kernel /boot/xen-3.4.gz
module /boot/vmlinuz-2.6.29-rc8-tip root=/dev/sdb14 ro console=tty0
module /boot/initrd-2.6.29-rc8-tip.img

Installation profile :-

# losetup -f /etc/xen/isos/os0811.iso
# cd /etc/xen/vm
# cat
name = 'OS0811'
memory = '1024'
disk = [ 'phy:/dev/loop0,6:cdrom,r','phy:/dev/sdb7,0,w' ]
vif = [ 'bridge=eth0' ]
bootloader = '/usr/bin/pygrub'
kernel = '/platform/i86xpv/kernel/amd64/unix'
ramdisk = '/boot/x86.microroot'
extra = '/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom'

Run :-
# xm create -c
and perform straightforward install

Runtime profile:-

# cat os0811.pyrun
name = 'OS0811'
memory = '1024'
bootloader = '/usr/bin/pygrub'
disk = ['phy:/dev/sdb7,0,w']
vif = [ 'bridge=eth0' ]

Load DomU:-
# xm create -c

Bring up vncserver and connect to DomU:-

1.Xen paravirt_ops for x86 Linux

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: