On Tue, May 29, 2012 at 8:00 PM, Richard W.M. Jones <rjones(a)redhat.com> wrote:
On Tue, May 29, 2012 at 06:41:51PM +0200, Sebastien Douche wrote:
> febootstrap-supermin-helper: ext2: parent directory not found: /lib:
> File not found by ext2_lookup
After updating febootstrap you need to run 'update-guestfs-appliance'
(as root, I think). Might as well run it anyway to see if it fixes
the problem.
root@srv8:/srv/sact.virtconf# update-guestfs-appliance
febootstrap -v -o supermin.d --names bsdmainutils btrfs-tools
cryptsetup diff e2fsprogs gfs-tools gfs2-tools grub-pc hfsplus iproute
libaugeas0 linux-image nilfs-tools ntfs-3g ntfsprogs reiserfsprogs
udev ufsutils util-linux vim-tiny xz-utils zfs-fuse acl attr bash
binutils coreutils cpio dosfstools file findutils gawk grep gzip
jfsutils libxml2 lsof lvm2 lzop mdadm module-init-tools net-tools
parted procps scrub strace tar zerofree --exclude ^perl --exclude
^python --exclude ^plymouth --exclude ^linux-firmware --exclude
^kbd-misc --exclude ^file-rc
febootstrap 3.14
selected package handler: debian
packages already present:
wanted packages to download: acl adduser attr augeas-lenses base-files
base-passwd bash binutils bsdmainutils bsdutils btrfs-tools
busybox-initramfs cdebconf coreutils cpio crda cryptsetup
cryptsetup-bin dash debconf debianutils diff diffutils dmsetup
dosfstools dpkg dracut e2fslibs e2fsprogs file findutils fuse
fuse-utils gawk gcc-4.6-base gettext-base grep grub-common
grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common gzip hfsplus
ifupdown initramfs-tools initramfs-tools-bin initscripts insserv
install-info iproute jfsutils klibc-utils kpartx libacl1 libaio1
libattr1 libaugeas0 libblkid1 libbsd0 libbz2-1.0 libc-bin libc6
libcomerr2 libcryptsetup4 libdb5.1 libdbus-1-3 libdebian-installer4
libdevmapper-event1.02.1 libdevmapper1.02.1 libdrm-intel1
libdrm-nouveau1a libdrm-radeon1 libdrm2 libedit2 libelf1 libffi6
libfreetype6 libfuse2 libgcc1 libgcrypt11 libglib2.0-0 libgnutls26
libgpg-error0 libhfsp0 libklibc liblzma5 liblzo2-2 libmagic1 libmount1
libncurses5 libncursesw5 libnewt0.52 libnih-dbus1 libnih1 libnl-3-200
libnl-genl-3-200 libp11-kit0 libpam-modules libpam-modules-bin
libpam0g libparted0debian1 libpciaccess0 libpcre3 libplymouth2
libpng12-0 libpopt0 libreadline6 libselinux1 libsigsegv2 libslang2
libss2 libssl1.0.0 libstdc++6 libtasn1-3 libtextwrap1 libtinfo5
libudev0 libuuid1 libxml2 linux-image linux-image-3.2.0-24-generic
linux-image-generic lsb-base lsof lvm2 lzop makedev mawk mdadm
module-init-tools mount mountall multiarch-support ncurses-bin
net-tools nilfs-tools ntfs-3g ntfsprogs original-awk parted passwd
procps readline-common reiserfsprogs scrub sed sensible-utils strace
sysv-rc sysvinit-utils tar tzdata ucf udev ufsutils upstart util-linux
vim-common vim-tiny watershed wireless-crda wireless-regdb xz-utils
zerofree zfs-fuse zlib1g
Outch! :)
root@srv8:/srv/kvm/lib# virt-list-partitions --format qcow2 test-clone.qcow2
/dev/sda1
/dev/sda2
It works! Thanks Richard.
If not, please attach the full contents of
/usr/lib/guestfs/supermin.d/hostfiles
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
--
Sebastien Douche <sdouche(a)gmail.com>
Twitter: @sdouche / G+: +sdouche