You are not logged in.

#1 2009-07-08 14:23:30

mitch123
Member
Registered: 2009-07-07
Posts: 1

XEN problem creating image - "missing the common file: /bin/ls"

Hello!


I have installed Arch Linux and xen 3.4.0-1. The Arch is fully updated, i boot into xen kernel without any problems, xend starts OK (some deprecated sha module warnings which i think don't matter - am i wrong?). I got xen-tools installed and downloaded some tar images of ubuntu (hardy) from jailtime & stacklet (tried at least 3 different images). When i try to create an image with xen-create-image (xen-tools.conf is edited and configured to install with tar method) i get the following error (at the end of log file):

---------------------------------------------------------------------------------------------------------
General Information
--------------------
Hostname       :  testserver
Distribution   :  hardy
Partitions     :  swap            256Mb (swap)
                  /               3Gb   (ext3)
Image type     :  full
Memory size    :  256Mb
Kernel path    :  /boot/vmlinuz-2.6.18.8-xen
Initrd path    :  /boot/initrd.img-2.6.18.8-xen

Networking Information
----------------------
IP Address     : DHCP [MAC: 00:16:3E:9E:61:FC]
WARNING
-------
Loopback module not loaded and you're using loopback images
Run the following to load the module:

modprobe loop loop_max=255


Creating partition image: /home/xen/domains/testserver/swap.img
1024+0 records in
1024+0 records out
268435456 bytes (268 MB) copied, 8.99524 s, 29.8 MB/s
Done

Creating swap on /home/xen/domains/testserver/swap.img
Setting up swapspace version 1, size = 262140 KiB
no label, UUID=fd7800c1-0a0e-47b6-9257-e37afb0795f3
Done

Creating partition image: /home/xen/domains/testserver/disk.img
1024+0 records in
1024+0 records out
3221225472 bytes (3.2 GB) copied, 122.309 s, 26.3 MB/s
Done

Creating ext3 filesystem on /home/xen/domains/testserver/disk.img
mke2fs 1.41.6 (30-May-2009)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
196608 inodes, 786432 blocks
39321 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=805306368
24 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912

Writing inode tables: done                           
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 26 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
Done
Installation method: tar
(Source: /tmp/images/ubuntu.8-04.img.tar)
ubuntu.8-04.img
The installation of the new system has failed.

The system is missing the common file: /bin/ls
Done
System installation failed.  Aborting
-------------------------------------------------------------------------------------------------------------

I'm lost here ... i'm not sure i understand what he means. i mounted the image to see wether the ls file is missing or sth but it is not ... would really appreciate some help on this.

Thanks in advance,

mitch

Offline

Board footer

Powered by FluxBB