Linux/Xen/Building Xen DomU images
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