Linux changes the capacity of VirtualBox disk

  
                

VirtualBox is a virtual machine. In the process of using Linux system, you will encounter the problem that the VirtualBox virtual machine disk space is not enough. How to solve this problem? The following small series teaches you how to change the disk capacity of the VirtualBox virtual machine.

1. Start CMD command line, enter the installation directory of VirtualBox. For example,

cd E:\\Program Files\\Oracle\\VirtualBox

2. View the virtual hard disk that needs to be modified:

E:\\Program Files\\Oracle\\VirtualBox》VBoxManage. Exe list hdds

UUID: e8e2c341-b3b1-49db-ad2d-ab4e6b08bc5a

Parent UUID: base

State: locked write

Type: normal ( Base)

Location: F:\\VM\\CentOS-64.vdi

Storage format: VDI

Capacity: 8000 MBytes

UUID: 707d45b6- 380d-4e51-96bd-8c9508bfd313

Parent UUID: base

State: created

Type: normal (base)

Location: F:\\VM \\CentOS-64-ext.vdi

Storage format: VDI

Capacity: 21273 MBytes

UUID: aca81637-fbc0-4826-be66-847ecc96d83b

Parent UUID: base

State: created

Type: normal (base)

Location: C:\\Users\\Edward.Wu\\VirtualBox VMs\\WinXP\\WinXP. Vdi

Storage format: VDI

Capacity: 10240 MBytes

----

We see a total of three virtual disks, we have to modify the first one in the figure, its The space size is 8G, UUID:e8e2c341-b3b1-49db-ad2d-ab4e6b08bc5a

2. Adjust the disk space to 15G:

E:\\Program Files\\Oracle\\VirtualBox"VBoxManage.exe modifyhd E8e2c341-b3b1-49db-ad2d-ab4e6b08bc5a --resize 150000%. .10%. .20%. .30%. .40%. .50%. .60%. .70%. .80%. .90%. .100%
Previous12Next page Total 2 pages

Copyright © Windows knowledge All Rights Reserved