This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
computing:virtmanagerhell [2022/08/08 20:13] – oemb1905 | computing:virtmanagerhell [2022/11/07 05:09] – oemb1905 | ||
---|---|---|---|
Line 7: | Line 7: | ||
------------------------------------------- | ------------------------------------------- | ||
- | This is all very old fyi and not current or helpful; might delete it soon. Resize an .img with virt-manager, | + | These are two different attempts (both with 1 success each) of resizing .img files from the command line. Resize an .img with virt-manager, |
| | ||
sudo apt install libguestfs-tools | sudo apt install libguestfs-tools | ||
Line 87: | Line 87: | ||
kpartx -d debian10.img | kpartx -d debian10.img | ||
| | ||
- | After messing around with this, and succeeding 1 time in resizing | + | After messing around with this, and succeeding 1 time in resizing |
- | --- // | + | apt install qemu-img kpartx |
+ | qemu-img resize debian10.img +50G | ||
+ | |||
+ | And then opening gparted in X passthrough and expanding the volume is far more efficient and easier. Of course, you could also expand with gparted at the command line too. | ||
+ | |||
+ | --- // |