- 在ubuntu18.04 安装Virtual Box虚拟机 下载https://www.virtualbox.org/
- 查看安装UUID
shell# vboxmanage list hdds
UUID: 929e5f5c-f4ff-4a59-8a76-1f1356cb42ac
Parent UUID: base
State: locked write
Type: normal (base)
Location: /home/copper/VirtualBox VMs/windows/windows.vdi
Storage format: VDI
Capacity: 56300 MBytes
Encryption: disabled
查看原虚拟机信息
shell # vboxmanage showinfo windows.vdi
从50G增大到150G
shell # vboxmanage modifyhd 929e5f5c-f4ff-4a59-8a76-1f1356cb42ac --resize 156300
此时还没结束,只是空间增大了,因为我是virtualbox安装的是windows
需要在windows的磁盘管理查看有一个剩余空间。
a. 你可以选择扩大之前的空间
b.你可以增加格式化单独的分区
我是扩展C盘