我想设置一个带有 Windows 的 VirtualBox VM,但当我尝试为虚拟存储分配磁盘空间时收到此消息。我该如何修复它?
Failed to create the hard disk storage /home/user/VirtualBox VMs/windows/windows.vhd.
Could not create the medium storage unit '/home/user/VirtualBox VMs/windows/windows.vhd'.
VHD: cannot set the file size for '/home/user/VirtualBox VMs/windows/windows.vhd' (VERR_INVALID_PARAMETER).
Result Code: VBOX_E_FILE_ERROR (0x80BB0004)
Component: MediumWrap
Interface: IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda}
我有 VirtualBox VM 5.1.6 和 Ubuntu 15.10。之前我安装了 5.0,但我用
sudo apt remove virtualbox virtualbox-5.0 virtualbox-4.*
所以我猜这不是版本冲突或类似的情况。