didattici:virt-manager
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
didattici:virt-manager [2020/06/28 11:40] – profpro | didattici:virt-manager [2020/06/28 19:41] – profpro | ||
---|---|---|---|
Line 59: | Line 59: | ||
</ | </ | ||
+ | ----- | ||
+ | Per modificare un disco qcow2 (dopo aver spento la macchina virtuale) | ||
+ | apt-get install libguestfs-tools | ||
+ | |||
+ | # | ||
+ | virt-filesystems --long --parts --blkdevs -h -a / | ||
+ | cd / | ||
+ | qemu-img create -f qcow2 -o preallocation=metadata outdisk.qcow2 8500M | ||
+ | virt-resize / | ||
+ | rimuovere vecchia immagine |
didattici/virt-manager.txt · Last modified: 2024/02/02 08:47 by profpro