- 启动cmd,进入virtualbox安装的目录 :cd E:\Program Files\Oracle\VirtualBox
- 然后输入VBoxManage.exe list hdds ,可以看到
D:\Program Files\Oracle\VirtualBox>VBoxManage.exe list hdds
UUID: 9d452280-ec60-4e38-b74c-f4298dce95c5
Parent UUID: base
State: locked write
Type: normal (base)
Location: F:\virtualbox\Ubuntu14_04.vdi
Storage format: VDI
Capacity: 150000 MBytes
Encryption: disabled查看到虚拟系统硬盘大小为15G
- 然后输入
D:\Program Files\Oracle\VirtualBox>VBoxManage.exe modifyhd 9d452280-ec60-4e38-b7
4c-f4298dce95c5 --resize 250000
此时硬盘大小被修改为25G
时间: 2024-10-04 06:19:04