Guestfish

From wikieduonline
Revision as of 07:28, 13 October 2020 by Welcome (talk | contribs)
Jump to navigation Jump to search

guestfish - the guest filesystem shell included in libguestfs-tools package in Ubuntu/Debian.

list-devices
list-partitions
lvs
pvs 
vfs-type
file
ls, ll, cat, more, download and tar-out


resize2fs-size /dev/sda145 16G https://www.ullright.org/ullWiki/show/libguestfs-tools-virtual-machine-image-tools
guestfish -a IMAGE.QCOW2
 guestfish -a IMAGE.QCOW2 -i
guestfish -a IMAGE.QCOW2

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> run
><fs>
><fs> list-filesystems
/dev/sda1: ext4
><fs> e2fsck /dev/sda1
libguestfs: error: e2fsck: e2fsck 1.45.5 (07-Jan-2020)
e2fsck: need terminal for interactive repairs


Related terms

See also

Advertising: