This is a very useful method in your real life.. I have come across to increase the space in virtual machine when it created on a file image ..
You can try any of the below to increase the space depending on the virtual guest’s storage .. That being said , it is possible to install a virtual guest either on “fully allocated image” Or it is possible to install on a “sparse file” depending on the option ( “Allocate entire disk now” ? ) you selected when installing a virtual guest .
If it is a fully allocated file image , follow below procedure to increase the space.. Make sure that the subjected guest is powered Off for the safer side….:)
If it is a sparse file ( have a look at my previous blog for more information on sparse file ) , do below steps..
By above commmand you increased the space of guest storage to “7G”…
It was “something < 7G” before .. 🙂
You will be able to see the new space inside the guest once it is started … Verify it with “fdisk -l” command….
More to come 🙂