Difference between revisions of "Guestfish"

From wikieduonline
Jump to navigation Jump to search
Line 21: Line 21:
 
  ><fs> list-filesystems
 
  ><fs> list-filesystems
 
  /dev/sda1: ext4
 
  /dev/sda1: ext4
 +
 +
><fs> [[e2fsck]] /dev/sda1
 +
libguestfs: error: e2fsck: e2fsck 1.45.5 (07-Jan-2020)
 +
e2fsck: need terminal for interactive repairs
  
  

Revision as of 07:24, 13 October 2020

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

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: