Difference between revisions of "Guestfish"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
guestfish - the guest filesystem shell included in <code>[[libguestfs-tools]]</code> package in [[Ubuntu]]/Debian.
 
guestfish - the guest filesystem shell included in <code>[[libguestfs-tools]]</code> package in [[Ubuntu]]/Debian.
 
* https://libguestfs.org/guestfish.1.html
 
* https://libguestfs.org/guestfish.1.html
 +
 +
[[list-devices]]
 +
[[list-partitions]]
 +
[[lvs]]
 +
[[pvs]]
 +
[[vfs-type]]
 +
[[file]]
 +
 +
  
 
  [[resize2fs-size]] /dev/sda145 16G https://www.ullright.org/ullWiki/show/libguestfs-tools-virtual-machine-image-tools
 
  [[resize2fs-size]] /dev/sda145 16G https://www.ullright.org/ullWiki/show/libguestfs-tools-virtual-machine-image-tools

Revision as of 07:26, 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


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: