![virtualbox or vmware virtualbox or vmware](https://cdn.arstechnica.net/wp-content/uploads/2012/10/virtualbox-UI.png)
You’ll now need to extend the guest operating system’s partition as if you were enlarging a partition on a real hard disk in a physical computer. However, the operating system’s partition on your virtual hard disk is the same size, so you won’t be able to access any of this space yet. VMware will increase the size of your virtual disk, although its partitions will remain the same size – see below for information on enlarging the partition. Select the virtual hard disk device in the list, click the Utilities button, and click Expand to expand the hard disk.Įnter a larger maximum disk size and click the Expand button. To enlarge a virtual machine’s hard disk in VMware, power off the virtual machine, right-click it, and select Virtual Machine Settings. Note that this process doesn’t enlarge the partition on the virtual hard disk, so you won’t have access to the new space yet – see the Enlarge the Virtual Machine’s Partition section below for more information. Update: In VirtualBox 6.0, released in 2019, you may need to use the following command instead: VBoxManage modifymedium disk “C:\Users\Chris\VirtualBox VMs\Windows 7\Windows 7.vdi” -resize 81920 Replace the file path in the command above with the location of the VirtualBox disk you want to resize and the number with the size you want to enlarge the image to (in MB). (Use two dashes before resize in the command above.) VBoxManage modifyhd “C:\Users\Chris\VirtualBox VMs\Windows 7\Windows 7.vdi” -resize 81920
![virtualbox or vmware virtualbox or vmware](https://i.ytimg.com/vi/3uPIz6Ziy7E/maxresdefault.jpg)
It will resize the virtual disk to 81920 MB (80 GB). The following command will operate on the VirtualBox virtual disk located at “C:\Users\Chris\VirtualBox VMs\Windows 7\Windows 7.vdi”. Second, open a Command Prompt window from your Start menu and change to VirtualBox’s program files folder so you can run the command: This will ensure you’re modifying the correct virtual disk file and that everything will work properly afterward.) (Before continuing, you should also delete any snapshots associated with the virtual machine if you use the snapshots feature in VirtualBox.