Created attachment 1059580 [details] libguestfs-test-tool output Description of problem: libguestfs-test-tool succeeds but guestmount fails with the following error: libguestfs: error: guestfs_launch failed. Version-Release number of selected component (if applicable): guestmount 1.20.11rhel=6,release=11.el6 libguestfs-test-tool 1.20.11rhel=6,release=11.el6 How reproducible: Steps to Reproduce: 1. sudo guestmount -a "${path_to_vdi_file}" -i --ro /mnt/mountpoint 2. 3. Actual results: libguestfs: error: guestfs_launch failed. See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs and/or run 'libguestfs-test-tool'. Expected results: mounted vdi file-system at mountpoint, no error message Additional info: Running on CentOS 6.6
To find out what the real error is you should enable debugging in the guestmount command by adding the --verbose and --trace flags, as in this example: $ cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.7 Beta (Santiago) $ guestfish -N fs exit $ mkdir /tmp/mp $ guestmount -a test1.img -m /dev/sda1 --verbose --trace /tmp/mp That will produce a lot of debug output which should identify the error. If you cannot tell from that what's going on, then copy the *complete* output from your failing guestmount command as an attachment to this bug.