Using Domi to install Ubuntu

Domi is a tool for building Xen domains. It’s usage is covered in HOWTO Xen and Gentoo hosted on the gentoo wiki site. It says you can use it to install Ubuntu, but no where actaully tells you how. So.. here’s how!

# cat ./ubuntu.cfg
DOMI_XEN_CONF="/etc/xen/test"
DOMI_XEN_KERNEL="/boot/vmlinuz-2.6.16.18-xenU"
DEBIAN_MIRROR="ftp://ftp.ubuntu.com/ubuntu/"
DEBIAN_RELEASE="dapper"
DOMI_DISTRO="debian"
DOMI_NAME="test"
DOMI_VDISK="hda"

Yes, I do know the DOMI_DISTRO is set to debian, but ubuntu is based on the debian package manager, so that’s correct.

Note that you have to setup the /etc/hostname and /etc/hosts after.

One thought on “Using Domi to install Ubuntu”

  1. Hi, thank you for this hint! I tried it with the dapper revision and it works but after an upgrade to the most recent revision, it breaks as ubuntu can not find the root filesystem anymore (/dev/hda1) is missing. I also tried creating a new image for Xen using the edgy or even feisty distribution revision. Unfortunately the same error appears. Maybe you have some idea?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.