Difference between revisions of "Guestmount"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 30: Line 30:
 
== Related commands ==
 
== Related commands ==
 
* <code>[[virt-filesystems]] -a output.img --all --long -h</code>
 
* <code>[[virt-filesystems]] -a output.img --all --long -h</code>
 +
* <code>[[findfs]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 07:49, 21 May 2020

https://linux.die.net/man/1/guestmount

guestmount -a path_to_image.qcow2 -i --ro /mount_point


-i --inspector  inspect the disks looking for an operating system and mount filesystems as they would be mounted on the real virtual machine
-m mount
guestmount -a path_to_image.qcow2 -i --ro /mount_point
 guestmount: no operating system was found on this disk

 If using guestfish '-i' option, remove this option and instead
 use the commands 'run' followed by 'list-filesystems'.
 You can then mount filesystems you want by hand using the
 'mount' or 'mount-ro' command.

 If using guestmount '-i', remove this option and choose the
 filesystem(s) you want to see by manually adding '-m' option(s).
 Use 'virt-filesystems' to see what filesystems are available.

 If using other virt tools, this disk image won't work
 with these tools.  Use the guestfis


libguestfs: error: findfs_uuid: findfs: unable to resolve 'UUID=8bc77dbf-2217-11e9-bf56-525400670XXX'

Related commands

See also

Advertising: