Making a DomU

For the moment, since we want to create a domU, the xm subcommand we're most interested in is create. However, before we can create a domain, we need to create an OS image for it to boot from and use as storage.

Because this is an initial walk-through, we're going to install our Xen image using Red Hat's virt-install tool. For information on building your own domU images, take a look at Chapter 3.

Begin by starting virt-install. It'll start in interactive mode, and have a bit of a conversation with you, as shown. Our inputs are shown in bold. (If you decided to install the GUI, you can also use the graphical virt-manager tool. The prompts will look very similar.)

# virt-install

What is the name of your virtual machine? prospero How ...

Get The Book of Xen now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.