Find the installation directory of VirtualBox. There is an executable file in the directory that can be used to expand the capacity: VBoxManage.exe Start the command window cmd in this directory My vdi is: Windows 8.1.vdi. I installed it using the command VBoxManage modifyhd Windows 8.1.vdi --resize 25000 to expand the capacity. However, the result is: The parameter is illegal because my vdi file name is: Windows 8.1.vdi. If you look closely, you can see that there is a space in the middle. However, in reality, I named it like this when I installed the Windows system, so it is not feasible to call the above command. So I tried to remove the space in the middle: VBoxManage modifyhd Windows8.1.vdi --resize 25000. I guess there is an error, but I provide a solution: Combined with the error, I saw the UUID of Windows 8.1.vdi. Looking at the command format below, we can use UUID to specify our vdi file: Open VirtualBox and you can see that the capacity has indeed been expanded: However, when I checked Windows 8.1 in the virtual machine, the capacity of the C: drive was not expanded. At this time, we still need to complete the last task: use GParted to adjust the partitions of the virtual machine. Download GParted: http://gparted.sourceforge.net/download.php Use the virtual machine to start this iso file: After startup, select all defaults (according to the Internet), and press Enter The last card cannot be started here: The problem occurred. I restarted several times and it was the same. Finally, I got rid of the online statement: all the startup options were default. On the homepage of the last restart, I selected the second option: The changes are mainly in these two steps. The subsequent Configuring console-data, language, etc. are all default items. Then you can enter the gparted interface, select the disk to be expanded, right-click -> Resize/Move, and then drag the scroll bar to adjust the capacity. Finally, select Apply: Finally, shut down normally and select the original operating system: After Windows is started, open My Computer and you can see that C: has been expanded. This is the end of this article about VirtualBox's virtual disk vdi file expansion method (graphic tutorial). For more relevant VirtualBox virtual disk vdi file expansion content, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: HTML implementation of a simple calculator with detailed ideas
>>: Responsive Web Design Learning (1) - Determining the screen size and percentage usage
The following introduces the commonly used head s...
nginx version 1.11.3 Using the following configur...
The following is my judgment based on the data st...
In the past few days, I have studied how to run s...
This question originated from a message on Nugget...
Since its release in 2013, Docker has been widely...
This article shares the specific code for js to r...
Preface Dockerfile is a script interpreted by the...
To write a drop-down menu, click the button. The ...
Preface The blogger uses the idea IDE. Because th...
Whitelist rule syntax: BasicRule wl:ID [negative]...
Classification of color properties Any color can ...
[Problem description] On the application side, th...
First of all, you need to know some characteristi...
Table of contents 1. Write Webshell into outfile ...