windows
- shut down the virtual machine
- Open the cmd window and enter the VirtualBox directory (C:\Program Files\Oracle\VirtualBox)
- VBoxManage modifyhd <virtual hard disk path> --resize 30720
Mac
VBoxManage modifyhd <虚拟硬盘路径> --resize 30720
VBoxManage modifyhd <虚拟硬盘路径> --resize 30720