I have not used the xen-tools scripts all that much yet and have always preferred to make a guest manually.
One possible work around for this is to do it (more) manually with a custom script. I have a config file that I have been using, you could make one automatically with a script based on it This was built from source install, so the kernel and ramdisk should be updated for your needs. kernel='/boot/vmlinuz-2.6.18.8-xen' ramdisk='/boot/initrd-2.6.18.8-xen.img' memory=256 disk=['tap:aio:/xen/images/ubuntu1.img,xvda1,w'] root='/dev/xvda1 ro' vif=[''] extra='xencons=tty' I have a simple script that I have been using. It is by no means robust yet. but you should be able to customize for your needs in most cases I bet. The script also handles some post install stuff like ssh keys etc. you should customize based on your needs. #!/bin/bash if [ -z $1 ] then echo "usage $0 name" exit 1 fi if [ -f /xen/images/${1}.img ] then echo "/xen/images/${1}.img file exists" exit 1 fi echo 'making disk' echo '' sudo dd if=/dev/zero of=/xen/images/${1}.img seek=10000 bs=1024k count=1 echo 'formatting disk' echo '' sudo mkfs.ext3 -F /xen/images/${1}.img echo 'mounting image' echo '' sudo mkdir -p /mnt/$1 sudo mount -o loop /xen/images/${1}.img /mnt/$1 echo 'running debootstrap' echo '' sudo debootstrap --components=main,universe,multiverse --include=openssh-server,language-pack-en,libc6-xen,denyhosts,mailx,logwatch gutsy /mnt/$1 echo 'copying fstab' echo '' sudo cp /xen/templates/fstab /mnt/$1/etc/ echo 'copying sources list' echo '' sudo cp /etc/apt/sources.list /mnt/$1/etc/apt/ echo 'setting hostname to:' sudo echo $1 | sudo tee /mnt/$1/etc/hostname sed "s/`hostname`/$1/" /etc/hosts | sudo tee /mnt/$1/etc/hosts echo 'copying interfaces file' echo '' sudo cp /xen/templates/interfaces /mnt/$1/etc/network/ echo 'copying modules...' echo '' sudo cp -r /lib/modules/`uname -r` /mnt/$1/lib/modules/ echo 'copying ssh keys' echo ' ' sudo mkdir /mnt/$1/root/.ssh/ sudo cp /xen/templates/ssh_key /mnt/$1/root/.ssh/authorized_keys echo 'updating denyhosts config' echo '' sudo cp /etc/denyhosts.conf /mnt/$1/etc/ echo 'copying locale file' echo '' sudo cp /etc/default/locale /mnt/$1/etc/default/ -- create image - kernel panic https://bugs.launchpad.net/bugs/161171 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs