Package: xen-tools Severity: normal Hi,
xen-create-image gives a totally misleading error message if the network mirror to debootstrap from is not reachable: r...@daniel4:~# xen-create-image -fs ext3 --image sparse --initrd /boot/initrd.img-2.6.26-1-xen-686 --kernel /boot/vmlinuz-2.6.26-1-xen-686 --memory 512MB --no-hosts --passwd --size 10GB --swap 1GB --dist lenny --gateway 10.0.0.1 --ip 10.0.0.123 --mac 00:11:22:33:44:55 --netmask 255.255.0.0 --broadcast 10.0.0.255 --dir /srv/xen --hostname foo --mirror http://example.com/debian General Information -------------------- Hostname : foo Distribution : lenny Partitions : swap 1GB (swap) / 10GB (ext3) Image type : sparse Memory size : 512MB Kernel path : /boot/vmlinuz-2.6.26-1-xen-686 Initrd path : /boot/initrd.img-2.6.26-1-xen-686 Networking Information ---------------------- IP Address 1 : 10.0.0.123 [MAC: 00:11:22:33:44:55] Netmask : 255.255.0.0 Broadcast : 10.0.0.255 Gateway : 10.0.0.1 Creating partition image: /srv/xen/domains/foo/swap.img Done Creating swap on /srv/xen/domains/foo/swap.img Done Creating partition image: /srv/xen/domains/foo/disk.img Done Creating ext3 filesystem on /srv/xen/domains/foo/disk.img Done Installation method: debootstrap Done System installation failed. Aborting Logfile produced at: /var/log/xen-tools/foo.log Please select one and only one of the installation methods: --dir --evms --lvm r...@daniel4:~# but.. i did specify --dir correctly. because of #513126 even verbose doesn't help and one has to have a look at the log file to really see what is going on: [...] Copying files from host to image. Copying files from /var/cache/apt/archives -> /tmp/FJ4EQuBSZ7/var/cache/apt/archives Done Done I: Retrieving Release E: Failed getting release file http://example.com/debian/dists/lenny/Release Copying files from new installation to host. Copying files from /tmp/FJ4EQuBSZ7/var/cache/apt/archives -> /var/cache/apt/archives Done Done The installation of the new system has failed. The system is missing the common file: /bin/ls Done System installation failed. Aborting Please check for the return value of debootstrap and fail at that stage (with a hint to look up the logfile for detailed information in non-verbose mode). Regards, Daniel -- Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist Email: daniel.baum...@panthera-systems.net Internet: http://people.panthera-systems.net/~daniel-baumann/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org