Installing Fedora 17 PV Domain-U on Xen with PXE Booting

An introduction to the general method of installing Domain-U on Xen is introduced here: Setting Up Stable Xen DomU with Fedora: Unmodified Fedora 12 on top of Xenified Fedora 12 Dom0 with Xen (this is a general introduction, some details are changed, such as ‘xl’ replacing ‘xm’, LVM backing the disk for higher performance. But the general process is the same). When installing Fedora 17 Domain-U, I find some new problems which is not covered. This post lists the differences.

The PXE booting images for Fedora 17 can be downloaded from the site:

http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/17/Fedora/x86_64/os/images/pxeboot/

The configuration file for Domain-U to install Fedora 17 is as follows.

name="10.1.0.235"
vcpus=4
memory=2048
disk=['phy:/dev/vg_xen/vm-10.1.0.235,xvda,w' ]
vif=['bridge=eth0']
on_reboot="restart"
on_crash="restart"
kernel="/lhome/xen/f17/vmlinuz"
ramdisk="/lhome/xen/f17/initrd.img"
<strong>extra="root=live:http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/17/Fedora/x86_64/os/LiveOS/squashfs.img ip=10.1.0.235::10.1.0.2:255.255.0.0:vm235:eth0:none nameserver=8.8.8.8"</strong>

Note the parts in bold fonts. This is related a bug as discussed here: https://bugzilla.redhat.com/show_bug.cgi?id=802042.

The ‘extra’ options depends on the environment. For more details about the Anaconda boot options, please find it here: http://wwoods.fedorapeople.org/doc/boot-options.html.

fedora-17-xen-pv-installation-1.png
fedora-17-xen-pv-installation-2.png
fedora-17-xen-pv-installation-3.png
fedora-17-xen-pv-installation-4.png
fedora-17-xen-pv-installation-5.png
fedora-17-xen-pv-installation-6.png

Check more about Xen on Linux in Xen solution.

Eric Zhiqiang Ma

Eric Zhiqiang Ma is interested in operating systems and distributed computing and processing systems. Find Eric on Facebook, Twitter, LinkedIn and Google+. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

8 comments:

  1. Alternative src for the pxeboot images:

    http://dl.fedoraproject.org/pub/fedora/linux/releases/17/Fedora/x86_64/os/images/pxeboot/
    

    For the squashfs.img:

    http://dl.fedoraproject.org/pub/fedora/linux/releases/17/Fedora/x86_64/os/LiveOS/squashfs.img
    

Leave a Reply

Your email address will not be published. Required fields are marked *