As the Xen.org community manager, I felt it was worth my time to install Xen on a machine to learn more about how it works and what it takes to install. I am sharing my experience with the community, especially for people looking at Xen for the first time. Note, I am not an amateur Linux/UNIX user but haven’t played with it much in a few years so I consider myself rusty.
Selection of Operating System – I decided to load Xen on a Fedora 8 machine by looking over the Xen.org Wiki (http://wiki.xensource.com/xenwiki/HowTos) and found a link to a nice document about loading Xen on Fedora 8 from the Fedora Wiki (http://fedoraproject.org/wiki/Docs/Fedora8VirtQuickStart ).
Installation Steps – I did find some problems when going through the steps on the Fedora 8 installation document so here are the steps I followed which have additional items not clearly stated in the document:
- Install Virtualization Software: su -c “yum groupinstall ‘Virtualization'”
- ADDED STEP: su -c “yum install xen kernel-xen”
- Check System – Administration – Services for xend
- Check /boot/grub/grub.conf to ensure you have a xen boot option (my conf file has this option)
title Fedora (126.96.36.199-3.fc8xen)
module/vmlinuz-188.8.131.52-3.fc8xen ro root=/dev/VolGroup00/LogVol00 rhbg quiet
- Reboot the machine and select proper Xen kernel: I selected Fedora(184.108.40.206-3.fc8xen)
- su -c “virt-manager”
- Open a connection for “Xen” with “local”
- Click on NEW Button
- Enter System Name
- Select Paravirtualized or Fully Virtualized Method
- Locate Installation Meda ; I used http://mirror.stanford.edu/fedora/linux/releases/8/Fedora/i386/os
- Storage Space – I used Simple File
- Connect to Host Network
- Allocate Memory and CPU
- Load Virtual Machine
Finally, I get a Virtual Machine Console to launch and it goes through the process of installing Fedora 8; I was not able to complete the install as I ran out of memory trying to install a 2nd full Fedora system on my box – I don’t have much memory on my system. I will be trying to load a tiny Linux OS version in the future; however, following the steps above will give you a Xen enabled Fedora 8 system capable of running Dom0 and a DomU.
NOTE – I was able to get CentOS 5.1 to load with no memory issues using the following http address – http://mirror.centos.org/centos-5/5/os/i386/Â