View Full Version : FC6 Xen

26th October 2006, 04:58 AM
I've just installed FC6 with the virtualisation packages, so I have an fc6xen kernel. Can anyone point me to a guide or walkthrough as to how I can get Xen working and give it a go?

26th October 2006, 10:16 PM
Check the following link: http://fedoraproject.org/wiki/FedoraXenQuickstartFC6 maybe this can guide you to the right way.


26th October 2006, 10:53 PM
I'm interested in this as well. I briefly looked at the documentation and it says you can't install a guest OS from CD or a local resource. You have to use a network installation tree. What exactly does this mean? Would a Fedora ISO on the Internet be considered a network installation tree? I was thinking of trying a guest Ubuntu 6.10 installation from a CD for example. How would I go about doing that using Xen? Any Xen experts?

27th October 2006, 04:50 AM
I briefly looked at the documentation and it says you can't install a guest OS from CD or a local resource.
im also interested in installing xen guest os from a disc media or from iso.

27th October 2006, 01:45 PM
Does anyone know how I can run Xen on a laptop without PAE support in the CPU?

27th October 2006, 02:29 PM
hi tinti,
xen works great without a PAE cpu - but you need modified guests (modified fc6 kernels are availiable via yum)
the advantage of a cpu with PAE is that you can run unmodified guests like windows
just play arround with xen - its very easy to use!

28th October 2006, 02:30 PM
hi baschti,

thanks for your reply, but what kernel should I install? See the list of kernels yum returns me on my system:
[root@banann ~]# yum list *kernel*
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
Installed Packages
kernel.i586 2.6.18-1.2798.fc6 installed
kernel-devel.i586 2.6.18-1.2798.fc6 installed
kernel-headers.i386 2.6.18-1.2798.fc6 installed
kernel-xen.i686 2.6.18-1.2798.fc6 installed
Available Packages
kernel.i686 2.6.18-1.2798.fc6 core
kernel-PAE.i686 2.6.18-1.2798.fc6 core
kernel-PAE-devel.i686 2.6.18-1.2798.fc6 core
kernel-devel.i686 2.6.18-1.2798.fc6 core
kernel-doc.noarch 2.6.18-1.2798.fc6 core
kernel-kdump.i686 2.6.18-1.2798.fc6 core
kernel-kdump-devel.i686 2.6.18-1.2798.fc6 core
kernel-xen-devel.i686 2.6.18-1.2798.fc6 core
yum-kernel-module.noarch 1.0-2.fc6 extras
[root@banann ~]#

28th October 2006, 03:16 PM
sorry, i've mixed something... i thought pae is the name of the intel hardware-virtualization support (which is VT - the cpuinfo flag is vmx)

yum info kernel-PAE said: "This package includes a version of the Linux kernel with support for up to
64GB of high memory. It requires a CPU with Physical Address Extensions (PAE).
The non-PAE kernel can only address up to 4GB of memory.
Install the kernel-PAE package if your machine has more than 4GB of memory."

in fc5 we've had a 'normal' kernel, one for the xen host (dom0) and one for xen guests (domU's)
now in fc6 there is a kernel without xen support and one with xen support, the latter works for the host and the guests ("It works for both priviledged and unpriviledged guests.")

so i think you should be fine with kernel-xen
just do a yum install xen, boot the xen kernel and type "xm list" if you see the dom0 you are ready to install some guests

28th October 2006, 07:06 PM

Do you have a resource that shows how to install guests? Can you answer my questions in my above post?

29th October 2006, 02:55 PM
i've not yet used xen with fc6, but according to http://fedoraproject.org/wiki/FedoraXenQuickstartFC6#head-a41b0863d68a48ee8c261adc18e7265b8355c33b
xenguest-install only supports network installations like nfs, ftp... and this have to be repositries, which are accessible via anarconda
so, i think it is not possible to install a ubuntu guest with 'xenguest-install'
nevertheless you can easy manage the installation!
all you need is a partition, or iso image of a linux installation and a config file like:
kernel ="/boot/vmlinuz-xenkernelname"
memory = 64
name = "TestServer"
nics = 1
disk = ['file:/root/test.img,sda1,w']
root = "/dev/sda1 ro"

creating such an image file for fedora is easy: mount the empty image and do something like
yum --installroot=/mnt/xen -y groupinstall web-server
for ubuntu you can do a normal install and dump the root partition with dd, or you can search the internet for ready to run images

if you have the config and the image file, "xm create test" will boot the guest