Linux/Xen/Building Xen DomU images

From Guungle
Revision as of 20:07, 10 April 2014 by Pyromania (talk | contribs) (Created page with "==Debian== ==Ubuntu== ===Ubuntu 13.10=== Start this process on a existing Ubuntu system. Does not have to be a 13.10 system. You will need to have debootstrap installed and...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Debian

Ubuntu

Ubuntu 13.10

Start this process on a existing Ubuntu system. Does not have to be a 13.10 system. You will need to have debootstrap installed and may need to update debootstrap so it has the correct script for 13.10.

Create a empty image file and format it with ext3.

dd if=/dev/zero of=ubuntu_saucy.img bs=1M count=1 seek=1024
mkfs.ext3 ubuntu_saucy.img

Create a directory to mount the image on. Using '/mnt/img' for this example.

mkdir /mnt/img
mount -oloop ubuntu_saucy.img /mnt/img