Should I update eyeOS Joomla plugin?

 

 

From now on, we assume your existing VM disk image is called example.img. How much space would you like to add to it? Write this number down, but do so at the end of this command:
1
qemu-img create -f raw additional.raw <size>
Here, <size> is the amount of space that you want to add. So, 512M for 512 megabytes, 10G for 10 gigabytes and so on. This will create an empty raw image containing as much (empty) space as you'd like to add to the real image.
Now, convert your existing image to raw format as well.
1
qemu-img convert -f qcow2 example.img -O raw example.raw
And append the raw additional space to the end of your raw image:
1
cat additional.raw >> example.raw
Finally, convert the whole thing back to qcow2. I'm going to make a copy here instead of overwriting the original. This wastes a lot of disk space temporarily, but is safer if you've got the space to spare.
1
qemu-img convert -f raw example.raw -O qcow2 example-expanded.img
…and that's it. The example-expanded.img image should contain empty space after the final partition. To resize the partitions, download the GParted LiveCD, and boot it on the VM. You know how to do this; otherwise, you wouldn't be able to install an operating system on your VM.

From now on, we assume your existing VM disk image is called example.img. How much space would you like to add to it? Write this number down, but do so at the end of this command:

(1) qemu-img create -f raw additional.raw <size>
Here, <size> is the amount of space that you want to add. So, 512M for 512 megabytes, 10G for 10 gigabytes and so on. This will create an empty raw image containing as much (empty) space as you'd like to add to the real image.

Now, convert your existing image to raw format as well.

(2) qemu-img convert -f qcow2 example.img -O raw example.raw
And append the raw additional space to the end of your raw image:

(3) cat additional.raw >> example.raw
Finally, convert the whole thing back to qcow2. I'm going to make a copy here instead of overwriting the original. This wastes a lot of disk space temporarily, but is safer if you've got the space to spare.


(4) qemu-img convert -f raw example.raw -O qcow2 example-expanded.img
…and that's it. The example-expanded.img image should contain empty space after the final partition. To resize the partitions, download the GParted LiveCD, and boot it on the VM.
You know how to do this; otherwise, you wouldn't be able to install an operating system on your VM.

 

 

Techace.jp Banner