General Info About Using Xen Images

All files on this site are provided without guarantee or warranty. Use at your own risk.

Each download is a bzipped tarball containing an image and cfg file:

  • a xen guest filesystem
  • sample xen configuration files to be used with xm create

The naming convention of the download tarball is:

<distribution>.<distro-version>.<arch>.<created-date>.img.tar.bz2.

For example centos.5-5.x86-64.20100813.img.tar.bz2 contains

  • centos.5-5.x86-64.20100813.img
  • centos.5-5.x86-64.20100813.pygrub.cfg

All of the packages installed in the image will be the latest versions available as of the created date, which is in yyyy-mm-dd format.

Prerequisites

  1. Working installation of Xen version 3 or 4
  2. The xen daemon (xend) must be running
  3. Enough filesystem space to accomodate the uncompressed tarball (we use sparse files to save space)
  4. Enough unallocated RAM to run the xen guest

Default Configuration and Networking

Each filesystem is configured to use dhcp. It is recommended that you first test the filesystem using dhcp if possible before attempting other networking parameters.

The root login is root/password. It is highly recommened that you change the root password immediately.

Installation

You will need to uncompress the tarball to a local directory and edit the *.cfg file to point to the uncompressed image. Make sure the other parameters such as memory allocation and the location of pygrub are suitable for you.

At a command prompt:

# xm create centos.5-5.x86-64.20100813.pygrub.cfg -c

If all is well you will see the guest’s boot messages scrolling by.

Further Reading


© 2010-2013 Stacklet LLC - Privacy