我在Macbook上打包的流浪盒文件。我将文件传输到Surface Book上的Windows并获得一些权限错误。
为了解决这个问题,其他人建议启用虚拟化并禁用Hyper-V,我已经这样做了。在我尝试这个之后,我仍然遇到同样的问题,我的VM无法上电。
jacky@DESKTOP-F0E0NKI MINGW64 ~/vm
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["startvm", "47187f36-41f2-4941-9f1d-3930bc011f0f", "--type", "headless"]
Stderr: VBoxManage.exe: error: RawFile#0 failed to create the raw output file /Users/yuh8/vm/ubuntu-xenial-16.04-cloudimg-console.log (VERR_PATH_NOT_FOUND)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole
jacky@DESKTOP-F0E0NKI MINGW64 ~/vm
$
答案 0 :(得分:1)
.vagrant
,请始终使用vagrant destroy
或vagrant destroy -f
从头开始。C:\Program Files\Oracle\VirtualBox\drivers\vboxdrv
→右键单击VBoxDrv.inf
→选择安装。sc start vboxdrv
vagrant up
。