This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.
Step 1 - Enable NBD on the Host
modprobe nbd max_part=8
| #!/usr/bin/env python | |
| """ | |
| Print (and write to JSON file) system information in a cross-platform manner. | |
| Output contains information about platform, BIOS, CPU, memory, disk, GPU, network, peripheral devices, installed | |
| packages, motherboard and users. | |
| This script heavily relies on psutil and some other bash/powershell commands. See requirements.txt for dependency list. |