The virtualization software
like VMware and VirtualBox provides an easy way for the installation of operating systems
in a virtual environment. If you're familiar with VMWare, you know that you must specify the maximum disk space to
create the virtual machine.
This enables VMware to assign the amount of disk space required for the virtual machine. However, you can easily run out of space if you do not allocate enough disk space initially. Here's how you can increase the disk space of a virtual machine in VMWare.
Before you do anything, make sure you have a good backup of the virtual machine, as there is a good chance that something goes wrong while the virtual disk file expands. Also, I assume also to know how to use the tools for managing partitions regulars.
Note: This tutorial is for VMWare. If you want to do the same for VirtualBox, here is the tutorial to resize the disk space on VirtualBox.
This enables VMware to assign the amount of disk space required for the virtual machine. However, you can easily run out of space if you do not allocate enough disk space initially. Here's how you can increase the disk space of a virtual machine in VMWare.
Before you do anything, make sure you have a good backup of the virtual machine, as there is a good chance that something goes wrong while the virtual disk file expands. Also, I assume also to know how to use the tools for managing partitions regulars.
Note: This tutorial is for VMWare. If you want to do the same for VirtualBox, here is the tutorial to resize the disk space on VirtualBox.
Increase Disk Space from Command Line
To increase virtual disk space in VMware from the command line, the first thing you need to do is to shut down or power off the virtual machine (don’t suspend it) and also make sure that there are no snapshots. If you have any previous snapshots, delete them using the VMware snapshot manager.Now open the Windows command prompt by pressing “Win + R” and type cmd.

cd "C:Program File (x86)VMwareVMware Workstation"

vmware-vdiskmanager.exe -x 46Gb "G:Windows 8Windows 8.vmdk"

Once you have executed the command, VMware will increase the virtual disk size. The increased disk space will appear as unallocated space in your guest operating system. Use the built-in partition management tool to either extend the system partition or to create a new partition for your files and folders.
Increase Disk Space using VMware GUI
Note: though I’m showing this in the VMware Workstation, the same steps are applicable to VMware Player.To increase the virtual disk space from the VMware user interface, open the VMware application, select the virtual machine and click on the link “Edit virtual machine settings.” Also, make sure that the virtual machine is powered off and has no snapshots.


No comments:
Post a Comment