Package: xen-tools Version: 3.0-1 Severity: normal I configured xen-tools to use /srv/xen, anf forgot to create the xen subdirectory in /srv, then run xen-create-image, with these results:
[EMAIL PROTECTED]:~>xen-create-image --hostname mouse --debootstrap --dhcp --verbose --accounts --passwd --ide ... Creating swap image: /srv/xen/domains/mouse/swap.img Executing : /bin/dd if=/dev/zero of=/srv/xen/domains/mouse/swap.img bs=1024k count=128 Finished : /bin/dd if=/dev/zero of=/srv/xen/domains/mouse/swap.img bs=1024k count=128 2>&1 | tee --append /var/log/xen-tools/mouse.log Done Creating disk image: /srv/xen/domains/mouse/disk.img Creating sparse image Executing : /bin/dd if=/dev/zero of=/srv/xen/domains/mouse/disk.img bs=4096k count=0 seek=1024 Finished : /bin/dd if=/dev/zero of=/srv/xen/domains/mouse/disk.img bs=4096k count=0 seek=1024 2>&1 | tee --append /var/log/xen-tools/mouse.log Done Creating ext3 filesystem on /srv/xen/domains/mouse/disk.img Executing : /sbin/mkfs.ext3 -F /srv/xen/domains/mouse/disk.img Finished : /sbin/mkfs.ext3 -F /srv/xen/domains/mouse/disk.img 2>&1 | tee --append /var/log/xen-tools/mouse.log Done Executing : /sbin/mkswap /srv/xen/domains/mouse/swap.img Finished : /sbin/mkswap /srv/xen/domains/mouse/swap.img 2>&1 | tee --append /var/log/xen-tools/mouse.log Executing : mount -t ext3 -o loop /srv/xen/domains/mouse/disk.img /root/tmp/9DLd0mLfT8 Finished : mount -t ext3 -o loop /srv/xen/domains/mouse/disk.img /root/tmp/9DLd0mLfT8 2>&1 | tee --append /var/log/xen-tools/mouse.log Installing your system with debootstrap mirror http://ftp.us.debian.org/debian/ Executing : /usr/bin/xt-install-image --hostname=mouse --location=/root/tmp/9DLd0mLfT8 --dist=etch --cache=yes --debootstrap --mirror=http://ftp.us.debian.org/debian/ --verbose Finished : /usr/bin/xt-install-image --hostname=mouse --location=/root/tmp/9DLd0mLfT8 --dist=etch --cache=yes --debootstrap --mirror=http://ftp.us.debian.org/debian/ --verbose 2>&1 | tee --append /var/log/xen-tools/mouse.log Done ... Running hooks Executing : xt-customize-image --dist=etch --location=/root/tmp/9DLd0mLfT8 --verbose Finished : xt-customize-image --dist=etch --location=/root/tmp/9DLd0mLfT8 --verbose 2>&1 | tee --append /var/log/xen-tools/mouse.log Done No role script specified. Skipping Creating Xen configuration file Executing : /usr/bin/xt-create-xen-config --output=/etc/xen Finished : /usr/bin/xt-create-xen-config --output=/etc/xen 2>&1 | tee --append /var/log/xen-tools/mouse.log Done Setting up root password Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully All done Notice, no errors, and it seemed to succeed, yet in fact no disk image was produced at all. I have to look in the xen-tools log to see that: Creating swap image: /srv/xen/domains/mouse/swap.img /bin/dd: opening `/srv/xen/domains/mouse/swap.img': No such file or directory Done Creating disk image: /srv/xen/domains/mouse/disk.img Creating sparse image /bin/dd: opening `/srv/xen/domains/mouse/disk.img': No such file or directory Done Creating ext3 filesystem on /srv/xen/domains/mouse/disk.img mke2fs 1.40-WIP (14-Nov-2006) mkfs.ext3: No such file or directory while trying to determine filesystem size Done /srv/xen/domains/mouse/swap.img: No such file or directory /srv/xen/domains/mouse/disk.img: No such file or directory -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-3-xen-k7 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages xen-tools depends on: ii debootstrap 0.3.3.1 Bootstrap a basic Debian system ii libtext-template-perl 1.44-1.1 Text::Template perl module ii perl-modules 5.8.8-7 Core Perl modules Versions of packages xen-tools recommends: ii perl-doc 5.8.8-7 Perl documentation ii reiserfsprogs 1:3.6.19-4 User-level tools for ReiserFS file pn rpmstrap <none> (no description available) ii xen-hypervisor-3.0-i386 [ 3.0.2+hg9656-1 The Xen Hypervisor for i386 ii xen-hypervisor-3.0.3-1-i3 3.0.3-0-2 The Xen Hypervisor on i386 ii xfsprogs 2.8.18-1 Utilities for managing the XFS fil -- no debconf information -- see shy jo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]