Install Fedora 10 PV DomU at Xen 3.3 openSUSE 11.1 Dom0

Notice, that openSUSE 11.1 Dom0 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
--2009-01-13 13:50:27-- http://192.168.1.33/f10/images/pxeboot/vmlinuz
Connecting to 192.168.1.33:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2637056 (2.5M) [text/plain]
Saving to: `vmlinuz'
100%[=================================>] 2,637,056 --.-K/s in 0.08s
2009-01-13 13:50:27 (32.0 MB/s) - `vmlinuz' saved [2637056/2637056]
# wget http://192.168.1.33/f10/images/pxeboot/initrd.img
--2009-01-13 13:51:17-- http://192.168.1.33/f10/images/pxeboot/initrd.img
Connecting to 192.168.1.33:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17759712 (17M) [text/plain]
Saving to: `initrd.img'
100%[===============================>] 17,759,712 59.4M/s in 0.3s
2009-01-13 13:51:17 (59.4 MB/s) - `initrd.img' saved [17759712/17759712]

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





Proceed F10 PV DomU install in text mode:-







When done 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.pyg
# 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:-



About these ads

4 Responses to Install Fedora 10 PV DomU at Xen 3.3 openSUSE 11.1 Dom0

  1. [...] via it’s basic installation utility vm-install. Details may be viewed at Install F10 PV DomU at Xen 3.3 openSUSE 11.1 Dom0 Setup httpd daemon running , then loop mount F10’s ISO :- # mount -o loop f10.iso [...]

  2. Daniel Moy says:

    Excellent walkthrough, much thanks! Of note though, to get it to work, the “runtime profile” f10.pyg actually has to be run, instead of re-running f10.install again. I’m assuming that’s just a slight typo.

  3. dbaxps says:

    Thanks. It’s fixed.

  4. Someone essentially help to make significantly posts I might state. That is the very first time I frequented your web page and to this point? I surprised with the analysis you made to make this actual post amazing. Magnificent job!

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: