lost and found ( for me ? )

Ubuntu 14.04 : guestfish error /usr/bin/supermin-helper exited with error status 1.

If you see following errors when you try to mount KVM images over guestfs, you would solve this by issuing “update-guestfs-appliance” command.

-- error
libguestfs: error: /usr/bin/supermin-helper exited with error status 1.
--

install guestfish
# apt-get install libguestfs-tools

# dpkg -l | grep guestfs-tools
ii  libguestfs-tools                                      1:1.24.5-1                                          amd64        guest disk image management system - tools

# guestfish

Welcome to guestfish, the guest filesystem shell for
editing virtual machine filesystems and disk images.

Type: 'help' for help on commands
     'man' to read the manual
     'quit' to quit the shell

><fs> add-ro /var/lib/libvirt/images/freebsd-vm1.img
><fs> run
libguestfs: error: /usr/bin/supermin-helper exited with error status 1.
To see full error messages you may need to enable debugging.
See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
><fs> list-filesystems
libguestfs: error: list_devices: call launch before using this function
(in guestfish, don't forget to use the 'run' command)
><fs> quit

# update-guestfs-appliance

# guestfish

Welcome to guestfish, the guest filesystem shell for
editing virtual machine filesystems and disk images.

Type: 'help' for help on commands
     'man' to read the manual
     'quit' to quit the shell

><fs>  add-ro /var/lib/libvirt/images/freebsd-vm1.img
><fs> list-devices
libguestfs: error: list_devices: call launch before using this function
(in guestfish, don't forget to use the 'run' command)
><fs> run
100% ?aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa? 00:00
><fs> list-devices
/dev/sda
><fs> list-filesystems
/dev/sda1: unknown
/dev/sda2: ufs
/dev/sda3: unknown
><fs> quit

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.