How to Increase Hard Drive Size in a VirtualBox Virtual Machine (Example)

Actions such as creating a VHD virtual hard drive in Windows 10 from a physical one or increase hard disk size in a VirtualBox virtual machine, are especially useful for those who require more storage space on their computers. With this next tutorial we will teach you the latter.

How to increase the hard disk size in a VirtualBox virtual machine

Before making any changes, it is important to ensure that you properly shut down your virtual machine, as it will be necessary to make changes. Once you have correctly verified this, continue with the process.

virtualbox hard drive

You may also be interested in:

Before you begin, we recommend that you consider other measures how to add another hard drive to a virtual machine in Windows 10, which might better suit what you are looking for.

Without further ado let’s start with this tutorial to increase the size of the hard disk in a VirtualBox virtual machine.

Create a new storage unit

  1. The first thing to do is click on the virtual machine to which you want to expand the storage. After this, you should go to the VirtualBox settings options. To do this, press the option «Configuration».
  2. All the settings related to the virtual machine will be displayed there. As you can see, there is the «Storage» section, so you should go to that option.
  3. Under “Storage” you will find the “Storage Tree”. The hard drives of the virtual machine are displayed there. You can easily recognize the correct drive since it has the name of your virtual machine.
  4. Press the small hard disk shaped button (containing the + symbol). The program may ask you for confirmation, if so click on the option «Create new disc».
  5. The unit type setting will appear on the screen. You can leave the default option (VDI VirtualBox Disk Image). Then press the «Next» option. Choose the option “Dynamically reserved” or “Fixed size”. We recommend you select the first option (fixed size) and press «Next».
  6. Select the size you want for the new storage unit. At the top you can select the name you want for that unit. To finish the operation, press the «Create» option.
  7. Go back to the storage configuration options. Here, you will need to unlink the old hard drive. To do so, press the blue name button «Delete the selected connection in the storage tree».

Copy information from old new hard drive

  1. To continue with the process, go to the VirtualBox folder which is located in «C: Program Files Oracle VirtualBox». There, type «CMD» above the address bar and press the «Enter» key.
  2. The Windows command console will be displayed. Here you will type the following: VboxManage clonehd “C: Drive old hard drive.vdi” “C: Drive final hard drive.vdi –existing. After writing the code above press «Enter». Note that you will need to replace the information in “C: Drive old hard drive.vdi” and “C: Drive new hard drive.vdi”) with the location of the old and new hard drive.

Increase the size of the hard disk in the VirtualBox virtual machine

Now, you need to start your virtual machine. This action is done for the purpose of using the extended space that has been created earlier. To do this, go to the disk manager for the virtual machine’s operating system. If it is Windows, you will find it as «Disk management».

Virtualbox machine

As you can see, there is a drive with the name «Unassigned.» To allocate this storage space, right click on the primary drive you want to extend. Click on the option «Extend volume …». The configuration screen will be displayed, there press the «Next» option.

On the setup screen, allocate available space to the drive you want to extend. When you do this, hit the «Next» option. As a last step, click on «Finish». After which you have successfully increased the disk size in your virtual machine.

VirtualBox is an excellent tool, which can be complemented by being able to even share files and folders from the PC to the virtual machine. Undoubtedly, you can extend the capabilities of your computer with this useful program.

How useful did you find this content?

Click on a star to rate!

Average score 5 / 5. Counting of votes: 1

So far, no votes. Be the first to rate this content.

I'm sorry this content was not useful for you!

Let me improve this content!

Tell me, how can I improve this content?

You may also be interested in:

Deja un comentario