VirtualBox Virtual Disk VDI file expansion method

Source: Internet
Author: User
Tags gparted

Locate the installation directory for VirtualBox, where an executable file is available for expansion: VBoxManage.exe


Start Command Window cmd in this directory

My VDI is: Windows 8.1.VDI, installed online saying: Vboxmanage modifyhd Windows 8.1.vdi--resize 25000 command to expand, but the results are:


parameter is not legal, because my VDI file name is: Windows 8.1.VDI, carefully can see there is a space in the middle, but in fact, I installed the Windows system has been so named, so call the above command is not feasible, So I tried to get rid of the middle space: vboxmanage modifyhd windows8.1.vdi--resize 25000, speculation is also wrong, but provides a solution to the idea:


Combination error I see the UUID of Windows 8.1.VDI and look at the following command format, so we can choose the UUID to specify our VDI file:


Opening the VirtualBox can see that the expansion is true:


But in the virtual machine Windows8.1 view, C: Disk does not expand capacity


At this point we need to finish the final work: use GParted to adjust the partition of the virtual machine. Download gparted:http://gparted.sourceforge.net/download.php


Use a virtual machine to start this ISO file:


After startup all choose the default (according to the online version), enter can be



The last card will not start here:


The problem arose, restarted several times, and ended up off the Internet: All startup options are default, and on the first page of the last restart, the second item is selected:



Mainly this two-step change, the subsequent configuring Console-data,language and so are the default items, then you can enter the GParted interface, select the disk to expand, right-click->resize/move, Then drag the scroll bar to adjust the capacity.


Finally, choose Apply:


Finally the normal shutdown, in the selection back to the original operating system can:

When Windows starts, turn on my computer and you'll see C: really finished expanding.


VirtualBox Virtual Disk VDI file expansion method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.