Page 1 of 1

Enlarging my VM actual disc size not virtual size

Posted: 11. May 2021, 22:53
by Gillykaboose
How do I increase the physical disc size of my VM machine? Not the virtual size but the actual disc size?

Re: Enlarging my VM actual disc size not virtual size

Posted: 12. May 2021, 04:18
by BillG
I am not sure what you are asking. All of the vm's devices are virtual. They are software emulations of the physical devices. The only device of the host which is used directly by the vm is the CPU.

The data for the vm's virtual disc is stored in a file on one of the host's disc drives. By default it is stored in a folder with the vm's name in the user's VirtualBox Vms folder. Why would you want to make it any bigger? It will expand automatically as required. I can imagine why you might want to make it smaller, and that can be done by compacting it to reclaim unused space (especially in a Windows guest).

Re: Enlarging my VM actual disc size not virtual size

Posted: 12. May 2021, 15:57
by scottgus1
If by this:
Gillykaboose wrote:physical disc size of my VM machine
you mean how much size is reported inside the VM, and this:
Gillykaboose wrote:Not the virtual size
refers to the size reported by Virtualbox in the main Virtualbox window, then after increasing "virtual size" you have to edit the data partition inside the VM to take in the new space available. See How to resize a Virtual Drive

For example, a VM starts with a 40GB disk. Through Virtualbox commands the disk is expanded to 80GB. Inside the VM's OS it will still show only 40GB until the partition inside the VM is expanded to use the new space. Then the VM's OS will report 80GB.

Re: Enlarging my VM actual disc size not virtual size

Posted: 12. May 2021, 18:56
by Gillykaboose
Thanks Scottgus1 ... this was what I was referring to ...maybe didn't word the question appropriately