2016-08-02 98 views
2

我需要從WSL內獲得Virtualbox中,我試圖sudo apt-get install virtualbox但我結束了以下錯誤:在WSL的Windows安裝VirtualBox 10

WARNING: The character device /dev/vboxdrv does not exist. 
    Please install the virtualbox-dkms package and the appropriate 
    headers, most likely linux-headers-3.4.0+. 

    You will not be able to start VMs until this problem is fixed. 

4.3.36_Ubuntur105129

+0

爲什麼?安裝Windows版本的virtualbox – magicandre1981

+0

您無法從bash終端訪問Windows二進制文件。如果你知道一種方式,請讓我知道。 –

+0

我還是不明白你爲什麼要這樣做,需要通過bash訪問Virtualbox。 – magicandre1981

回答

2

Vagrant現在能夠檢測到它在WSL上運行。
如何配置Windows和WSL以啓用此功能在Vagrant website
上描述他們聲稱這是一項高級功能,但配置看起來相當簡單。