Difference between revisions of "Guestfish"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
  [[vfs-type]]
 
  [[vfs-type]]
 
  [[file]]
 
  [[file]]
  ls, ll, cat, more, download and tar-out to view and d
+
  ls, ll, cat, more, download and tar-out
  
  

Revision as of 07:27, 13 October 2020

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

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: