Install Fedora 10 PV DomU at Xen 3.3 openSUSE 11.1 Dom0
Notice, that openSUSE equiped with libvirt and vm-install
fails even to detect location of installation versions of “vmlinuz”
and “initrd.img” via it’s basic installation utility vm-install.

Setup apache daemon running via YAST and tune it's config file:-
# cd /etc/apache2
# vi default-server.conf
DocumentRoot “/srv/www/htdocs”
#
# Configure the DocumentRoot
#
<Directory “/srv/www/htdocs”>
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
:wq
Restart Apache on OpenSuse 11.1 Dom0 and loop mount F10’s ISO :-
# mount -o loop /etc/xen/isos/f10.iso /srv/www/htdocs/f10
# cd /etc/xen/vm
# wget http://192.168.1.33/f10/images/pxeboot/vmlinuz
# wget http://192.168.1.33/f10/images/pxeboot/initrd.img
Create installation profile:-
dhcppc0:/etc/xen/vm # cat f10.install
name="F10PV"
memory=2048
disk = ['phy:/dev/sdb7,xvda,w' ]
vif = [ 'bridge=br1' ]
vfb = [ 'type=vnc,vncunused=1']
kernel = "/etc/xen/vm/vmlinuz"
ramdisk = "/etc/xen/vm/initrd.img"
vcpus=1
on_reboot = 'restart'
on_crash = 'restart'
# xm create f10.install
# vncviewer localhost:0





Switch to runtime profile:-
dhcppc0:/etc/xen/vm # cat f10.pyg
name="F10PV"
memory=2048
disk = ['phy:/dev/sdb7,xvda,w' ]
vif = [ 'bridge=br1' ]
vfb = [ 'type=vnc,vncunused=1']
bootloader = "/usr/bin/pygrub"
vcpus=1
on_reboot = 'restart'
on_crash = 'restart'
# xm create f10.install
# vncviewer localhost:0
Setup user’s account at DomU and temporary disable services iptables&ip6tables
to setup VNC at DomU. Then connect to graphical console to tune firewall
(user port 5901 & DNS) and activate iptables services again.Reboot system.
It’s ready to go.




Novell's support openSUSE 11.1 is amazingly perfect:-

