VirtualBox是一款虛擬機,在Linux系統使用過程中會遇到VirtualBox虛擬機磁盤空間不夠用的問題,遇到這種問題該如何解決呢?下面小編就教大家Linux如何更改VirtualBox虛擬機的磁盤容量。
1.啟動CMD命令行,進入VirtualBox的安裝目錄。如
cd E:\Program Files\Oracle\VirtualBox
2.查看需要修改的虛擬硬盤:
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
----
我們看到共有三個虛擬磁盤,我們要修改圖中第一個,它的空間大小為8G,UUID:e8e2c341-b3b1-49db-ad2d-ab4e6b08bc5a
2. 調整磁盤空間為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%
上一頁12下一頁共2頁