Editing Guestfish
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | 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-devices]] | ||
[[list-partitions]] | [[list-partitions]] | ||
Line 17: | Line 16: | ||
guestfish -a IMAGE.QCOW2 | guestfish -a IMAGE.QCOW2 | ||
− | + | guestfish -a IMAGE.QCOW2 -i | |
guestfish -a IMAGE.QCOW2 | guestfish -a IMAGE.QCOW2 | ||
Line 30: | Line 29: | ||
><fs> run | ><fs> run | ||
− | |||
− | |||
− | |||
− | |||
><fs> | ><fs> | ||
Line 42: | Line 37: | ||
libguestfs: error: e2fsck: e2fsck 1.45.5 (07-Jan-2020) | libguestfs: error: e2fsck: e2fsck 1.45.5 (07-Jan-2020) | ||
e2fsck: need terminal for interactive repairs | e2fsck: need terminal for interactive repairs | ||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 59: | Line 49: | ||
If using guestmount ‘-i’, remove this option and choose the | If using guestmount ‘-i’, remove this option and choose the | ||
filesystem(s) you want to see by manually adding ‘-m’ option(s). | filesystem(s) you want to see by manually adding ‘-m’ option(s). | ||
− | Use | + | Use ‘virt-filesystems’ to see what filesystems are available. |
If using other virt tools, this disk image won’t work | If using other virt tools, this disk image won’t work | ||
Line 68: | Line 58: | ||
== Related terms == | == Related terms == | ||
* <code>[[guestmount]]</code> | * <code>[[guestmount]]</code> | ||
− | |||
== See also == | == See also == |
Advertising: