今天因之前分配磁盘只有10g,系统已经提示空间快不足了。
想通过VBoxManage命令进行扩容,发现目录中含有空格,命令无法识别,然后修改了路径后,通过VirtualBox删除磁盘后,然后添加之前删除的盘片报错:
virtualbox-cannot-register-the-hard-drive-because-a-hard-drive-with-uuid-already-exists
按Ctrl+D弹出虚拟介质管理,删除对应的盘片即可:
扩容命令VBoxManage modifyhd E:\software\vm-store\Ubuntu64\ubuntu.vdi --resize 20000 扩容为20G