June 2017
Intermediate to advanced
340 pages
8h 22m
English
The next steps demonstrate how to add additional space to the raw image we created earlier, extend the root partition, and resize the filesystem. By the end of this recipe, the original raw image filesystem size should have changed from 10G to 20G.
root@kvm:~# qemu-img info debian.img image: debian.imgfile format: rawvirtual size: 10G (10737418240 bytes)disk size: 848M root@kvm:~#
root@kvm:~# qemu-img resize -f raw debian.img +10GB Image resized. root@kvm:~#
Read now
Unlock full access