Skip to content


Launch DomU from Pre-Built Image

In the second posting on my explorations with Xen 3.3.1, I am going to highlight the steps I followed and problems I had when launching a simple pre-built DomU image.

Like my compiling Xen post  – this is not for regular Xen users but for people thinking of trying out Xen on their own for the first time.

1) Pre-built DomU Image – I started with a very simple version of Linux to bring up, ttylinux. The file I used is at http://www.xen.org/files/ttylinux-i486-8.0.img.

2) Configuration File – I built the file ttylinux in the /etc/xen directory. The only issue I had was that my first version did not have the extra=’xencons=tty’ line so my DomU would start and then sit there with nothing happening execpt the cursor blinking.  The additional line gave the console control of the DomU process so I could login, etc.

kernel = “/boot/…”
name = “ttylinux”
vif = [ '' ]
ip = “local ip”
disk = ['file:/home/location.../ttylinux-i486-8.0.img, sda1,w']
root = “/dev/sda1 r0″
extra = ‘xencons=tty’

3) Running DomU – In the /etc/xen directory I run:  sudo xm create -c ttylinux which launches the ttylinux DomU  in the same console window. In another console window, I run sudo xm list and am able to see the Dom0 and DomU running.

4) Stopping DomU – To stop the DomU, I run: sudo xm destoy ttylinux which immediately stops the DomU process. I then run sudo xm list to confirm.

For more details on the configuration paramters and their meaning, I recommend the Runinng Xen book, searching on http://xen.markmail.org or the Clarkson University Tutorials from USENIX training.

In my next posting, I will take a standard linux distribution and create a DomU version and launch on Xen. Stay tuned…


Be Sociable and Share!

Posted in Community, Xen.org Promotion.

Tagged with , , .


3 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Boris Quiroz says

    Another nice site to download pre-built DomU images is http://jailtime.org/
    And a mirror: http://mirror.clarkson.edu/pub/jailtime.org/

    :-)

  2. edenCC says

    Anyone got any luck on the installation of redhat9 as domU?

Continuing the Discussion

  1. blog.xen.org » Launch DomU from Jailtime.org Images linked to this post on March 23, 2009

    [...] I modified the configuration files as in my previous posting (http://blog.xen.org/index.php/2009/02/19/launch-domu-from-pre-built-image/) and  also added the extra=’xencons=tty’ [...]

You must be logged in to post a comment.