Xen domU disk image

Greetings!

How do I create a disk image usable for xen installation?
The image should contain the entire disk with all partitions, including swap space.

I want to do that manually, not using a conversion tool or ‘install into directory’.

Thanks for hints and links :slight_smile:
Wolf

You can use either vm-install (in package vm-install) or virt-install (in package virt-manager).
Read the corresponding man pages.

OK, thanks. found qemu quite handy.

You might want to take a look at that script: vm-create : create kvm virtual machines . The latest version is at the end of the thread.

Some examples of installation:
openSUSE 11.4 - vm installation guide
Debian 6.0.0 (squeeze) - vm installation guide
ArchLinux 2010 05 - vm installation guide
Gentoo 10.1 - vm installation guide

The gentoo example shows how to partionate the disk on the command line using sfdisk. Is that what you were looking for?

I will add these examples in the thread (at some point).

Not to mention that one with 2 virtual disks: http://www.unixversal.com/linux/opensuse/install11_4_raid.html
(I don’t know why the picture I posted is gone from this post: http://forums.opensuse.org/english/get-technical-help-here/how-faq-forums/unreviewed-how-faq/454559-opensuse-11-4-raid1-lvm.html. ???)