Ask Your Question

Revision history [back]

You may install libguestfs-tools on CentOS 7. Details of setup may be found here
http://bderzhavets.blogspot.com/2014/08/setup-qcow2-standard-centos-7-image-to.html

sudo yum install libguestfs-tools

Mount

$  guestfish --rw -a trusty-server-cloudimg-amd64-disk1.img

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

> run
> list-filesystems
/dev/sda1: ext4
> mount /dev/sda1 /