Først:
Frygt ikke at der står at libguestfs er et C bibliotek (library) - altså ikke et program, fordi på højre side af web siden står der en meget lang liste af manual sider til CLI kommander.
libguestfs is a set of tools for accessing and modifying virtual machine (VM) disk images. You can use this for viewing and editing files inside guests, scripting changes to VMs, monitoring disk used/free statistics, creating guests, P2V, V2V, performing backups, cloning VMs, building VMs, formatting disks, resizing disks, and much more.
libguestfs can access almost any disk image imaginable. It can do it securely — without needing root and with multiple layers of defence against rogue disk images. It can access disk images on remote machines or on CDs/USB sticks. It can access proprietary systems like VMware and Hyper-V.
All this functionality is available through a scriptable shell called guestfish, or an interactive rescue shell virt-rescue.
libguestfs is a C library that can be linked with C and C++ management programs and has bindings for about a dozen other programming languages. Using our FUSE module you can also mount guest filesystems on the host.
The hivex subproject lets you merge changes into the Windows Registry in Windows guests. You can examine unknown disk images to find out what they contain.
libguestfs has been in continuous development since 2009, with a 250 page manual, deployed in enterprise environments, and with many happy and successful users.
Dozens of projects are using libguestfs today.
Fedora/RHEL/CentOS
Kode: Vælg alt
sudo yum install libguestfs-tools
Debian/Ubuntu
Kode: Vælg alt
sudo apt-get install libguestfs-tools
Kode: Vælg alt
guestfish --ro -i -a disk.im
Brug af guestfish, se http://libguestfs.org/guestfs-recipes.1.html