Windows/Vagrant:执行“VBoxManage”时出错,
我需要一个包装在Macbook上的文件。我将该文件传输到我的Surface Book上的Windows中,并获得了一些权限错误 为了解决这个问题,其他人建议启用虚拟化并禁用Hyper-V,我已经这样做了。在我尝试了这个之后,我仍然遇到同样的问题,我的虚拟机无法开机 请参阅我的附加屏幕截图。Windows/Vagrant:执行“VBoxManage”时出错,,vagrant,virtualbox,Vagrant,Virtualbox,我需要一个包装在Macbook上的文件。我将该文件传输到我的Surface Book上的Windows中,并获得了一些权限错误 为了解决这个问题,其他人建议启用虚拟化并禁用Hyper-V,我已经这样做了。在我尝试了这个之后,我仍然遇到同样的问题,我的虚拟机无法开机 请参阅我的附加屏幕截图。 不要删除.vagrant,始终使用vagrant destroy或vagrant destroy-f从头开始 禁用HyperV 重新安装Virtualbox(修复安装) 重新安装Vagrant(修理安装)
.vagrant
,始终使用vagrant destroy
或vagrant destroy-f
从头开始C:\ProgramFiles\Oracle\VirtualBox\drivers\vboxdrv
→ 右键单击VBoxDrv.inf
→ 选择安装sc启动vboxdrv
vagrant up
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
$