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

Xen Project Announces Performance and Security Advancements with Release of 4.19
Aug 05 2024

New release marks significant enhancements in performance, security, and versatility across various architectures.  SAN FRANCISCO – July 31st, 2024 – The Xen Project, an open source project under the Linux Foundation, is proud to announce the release of Xen Project 4.19. This release marks a significant milestone in enhancing performance, security,

Upcoming Closure of Xen Project Colo Facility
Jul 10 2024

Dear Xen Community, We regret to inform you that the Xen Project is currently experiencing unexpected changes due to the sudden shutdown of our colocated (colo) data center facility by Synoptek. This incident is beyond our control and will impact the continuity of OSSTest (the gating Xen Project CI loop)

Xen Summit Talks Now Live on YouTube!
Jun 18 2024

Hello Xen Community! We have some thrilling news to share with you all. The highly anticipated talks from this year’s Xen Summit are now live on YouTube! Whether you attended the summit in person or couldn’t make it this time, you can now access all the insightful presentations

Get ready for Xen Summit 2024!
May 24 2024

With less than 2 weeks to go, are you ready? The Xen Project is gearing up for a summit full of discussions, collaboration and innovation. If you haven’t already done so – get involved by submitting a design session topic. Don’t worry if you can’t attend in person,