How to extend the image file on Oracle VM
In addition to add additional disk image or physical disk to a virtual machine, you can extend the image file(system.img) directly below:
#dd if=/dev/zero bs=1M count=1000 >> System.img
will add 1G space to the disk image.
Remind that it's using '>>' to add 1G at the end of image file. Please have a backup of the image file (System.img) before any manually operation on it.
Reboot the guest, using "fdisk -l" you can see the added space. Need to partition&format it to use.
Cheers,
Terry
will add 1G space to the disk image.
Remind that it's using '>>' to add 1G at the end of image file. Please have a backup of the image file (System.img) before any manually operation on it.
Reboot the guest, using "fdisk -l" you can see the added space. Need to partition&format it to use.
Cheers,
Terry
1