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…

Read more

Let’s Grow Xen Together!
03/18/2025

Xen is open, secure, and built for the future. As the new Community Manager, I’m focused on growing the Xen community, welcoming new contributors, and ensuring a thriving ecosystem. Let’s build the future of virtualization together!

Xen Project 4.20: A Step Forward in Open Source Virtualization
03/11/2025

The Xen Project has released Xen 4.20 🎉! This release introduces a range of enhancements that further solidify its position as the premier open-source hypervisor. It delivers important security updates, improved performance, and broader hardware support. Xen has doubled down as the best choice for cloud providers, enterprise users, and

Xen Project Winter Meetup
02/13/2025

We just wrapped up the Xen Winter Meetup 2025. It was an amazing opportunity to push Xen forward in a way that can only happen when people get together in person. Organized by Vates, we hosted it at the University of Grenoble IMAG building, a great spot for cutting-edge research

Welcome Honda to the Xen Project Board
12/09/2024

We're excited to announce our newest Advisory Board Member Honda, to Xen Project. Since its foundation, Honda has been committed to "creating a society that is useful to people" by utilizing its technologies and ideas. Honda also focuses on environmental responsiveness and traffic safety, and continue