Public bug reported:

Guestmount does not work. Symptoms are identical to bug #930634, but
that bug says it is fixed in the versions I have. Presumably either it's
a different underlying bug, or the fix doesn't work on 32-bit kernels.

user@host:/scratch$ aptitude show seabios | grep Ver
Version: 0.6.2-0ubuntu2.1
user@host:/scratch$ aptitude show febootstrap | grep Ver
Version: 3.14-2
user@host:/scratch$ aptitude show libguestfs0 | grep Ver
Version: 1:1.14.8-1
user@host:/scratch$ uname -a
Linux host 3.2.0-43-generic-pae #68-Ubuntu SMP Wed May 15 03:55:10 UTC 2013 
i686 i686 i386 GNU/Linux

The command and error message are:

user@host:/scratch/qemubuilder$ guestmount -a base-i386.qemu -i 
/run/shm/qemu.3430/warning: Unable to get device geometry for 
/var/tmp/guestfs.3JKtKZ/root
febootstrap-supermin-helper: ext2: parent directory not found: /lib: File not 
found by ext2_lookup
libguestfs: error: external command failed, see earlier error messages

The test tool output is:

user@host:/scratch/qemubuilder$ libguestfs-test-tool 
===== Test starts here =====
LIBGUESTFS_DEBUG=1
TMPDIR=(not set)
libguestfs: new guestfs handle 0x9467df0
library version: 1.14.8
guestfs_get_append: (null)
guestfs_get_attach_method: appliance
guestfs_get_autosync: 1
guestfs_get_direct: 0
guestfs_get_memsize: 500
guestfs_get_network: 0
guestfs_get_path: /usr/lib/guestfs
guestfs_get_pgroup: 0
guestfs_get_qemu: /usr/bin/kvm
guestfs_get_recovery_proc: 1
guestfs_get_selinux: 0
guestfs_get_smp: 1
guestfs_get_trace: 0
guestfs_get_verbose: 1
host_cpu: i686
Launching appliance, timeout set to 600 seconds.
libguestfs: [00000ms] febootstrap-supermin-helper --verbose -f checksum 
'/usr/lib/guestfs/supermin.d' i686
supermin helper [00000ms] whitelist = (not specified), host_cpu = i686, kernel 
= (null), initrd = (null), appliance = (null)
supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d
checking modpath /lib/modules/3.2.0-44-generic-pae is a directory
picked vmlinuz-3.2.0-44-generic-pae because modpath 
/lib/modules/3.2.0-44-generic-pae exists
checking modpath /lib/modules/3.2.0-43-generic-pae is a directory
picked vmlinuz-3.2.0-43-generic-pae because modpath 
/lib/modules/3.2.0-43-generic-pae exists
supermin helper [00000ms] finished creating kernel
supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d
supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d/daemon.img
supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d/init.img
supermin helper [00000ms] adding kernel modules
supermin helper [00139ms] finished creating appliance
libguestfs: [00141ms] begin building supermin appliance
libguestfs: [00142ms] run febootstrap-supermin-helper
libguestfs: [00142ms] febootstrap-supermin-helper --verbose -f ext2 
/usr/lib/guestfs/supermin.d i686 /var/tmp/guestfs.t3yS8p/kernel 
/var/tmp/guestfs.t3yS8p/initrd /var/tmp/guestfs.t3yS8p/root
supermin helper [00000ms] whitelist = (not specified), host_cpu = i686, kernel 
= /var/tmp/guestfs.t3yS8p/kernel, initrd = /var/tmp/guestfs.t3yS8p/initrd, 
appliance = /var/tmp/guestfs.t3yS8p/root
supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d
checking modpath /lib/modules/3.2.0-44-generic-pae is a directory
picked vmlinuz-3.2.0-44-generic-pae because modpath 
/lib/modules/3.2.0-44-generic-pae exists
checking modpath /lib/modules/3.2.0-43-generic-pae is a directory
picked vmlinuz-3.2.0-43-generic-pae because modpath 
/lib/modules/3.2.0-43-generic-pae exists
supermin helper [00000ms] finished creating kernel
warning: Unable to get device geometry for /var/tmp/guestfs.t3yS8p/root
supermin helper [00563ms] finished mke2fs
supermin helper [00564ms] visiting /usr/lib/guestfs/supermin.d
supermin helper [00564ms] visiting /usr/lib/guestfs/supermin.d/daemon.img
supermin helper [00568ms] visiting /usr/lib/guestfs/supermin.d/init.img
febootstrap-supermin-helper: ext2: parent directory not found: /lib: File not 
found by ext2_lookup
libguestfs: error: external command failed, see earlier error messages
libguestfs-test-tool: failed to launch appliance
libguestfs: closing guestfs handle 0x9467df0 (state 0)

First asked on Ask Ubuntu: http://askubuntu.com/questions/302289/error-
mounting-disk-image-using-guestmount

** Affects: libguestfs (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: seabios (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: precise

** Also affects: seabios (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1186228

Title:
  guestmount does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libguestfs/+bug/1186228/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to