問題描述
我想在 Ubuntu 上運行 VirtualBox,它曾經工作過一段時間,但我不記得何時或為什麽。但是,當我雙擊要運行的操作係統時,它會嘗試啟動 – 為虛擬操作係統打開一個窗口,給出 “host key” 消息,但 5 秒後關閉操作係統窗口並給出以下錯誤:
Failed to load VMMR0.ro (VERR_SUPLIB_OWNER_NOT_ROOT)
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Console
Interface:
IConsole {1968b7d3-e3bf-4ceb-99e0-cb7c913317bb}
如果我用 sudo virtualbox
運行它,我仍然會遇到同樣的問題。我試過 sudo apt-get purge virtualbox
然後 sudo apt-get install virtualbox
。我注意到在 re-installation 期間,我在控製台上的所有其他輸出中得到了這個:
Setting up virtualbox (4.1.12-dfsg-2ubuntu0.1) ...
* Stopping VirtualBox kernel modules [ OK ]
* Starting VirtualBox kernel modules
* No suitable module for running kernel found [fail]
有任何想法嗎?
最佳答案
解決了我的 Ubuntu 12.04 安裝問題
sudo apt-get purge virtualbox
sudo apt-get install build-essential linux-headers-`uname -r`
sudo dpkg -i ~/download_folder/virtualbox-4.2_4.2.12-84980~Ubuntu~precise_i386.deb
You can get the .deb files here
這幾乎為我做到了!
次佳答案
我遇到了同樣的問題,它有助於為當前內核安裝 linux-headers
並重新安裝 virtualbox-dkms
和 dkms
。
第三種答案
有相同/相似的問題:
* Starting VirtualBox kernel modules
* No suitable module for running kernel found [fail]
似乎我的問題與內核的構建有關。通過使用 dkms 進行動態構建解決:
sudo apt-get purge virtualbox
sudo apt-get install dkms build-essential linux-headers-`uname -r` linux-source
sudo apt-get install virtualbox-dkms
驗證:
sudo service virtualbox status
sudo service virtualbox restart
第四種答案
已解決 here 。有一些嚴重的權限問題,需要進行全新安裝。
編輯:報價
That listing of your /usr directory raises all sorts of red flags with the “2000 513” values for owner and group. Appearance of the numbers instead of user/group names indicates that the user and group do not exist in your system. Additionally, “2000” is a most unlikely user id for any flavor of Ubuntu. Non-system UIDs and GIDs start at 1000 and go up from there one at a time; to reach 2000 you would have to have added a thousand additional users! Similarly, system UID/GID numbering starts at 0 (which is “root”) and seldom goes as high as 200.
Does your system have any other users? If so, is it likely that one of them could have been doing unusual things without your knowledge?
When any of my systems show such unlikely happenings, my first thought is to back up all critical data, then nuke the box and reinstall everything from scratch. While all flavors of Linux are much less vulnerable than some more widely used systems, mischief is always a possibility — and gremlins can cause corruption of files without any human mischief being involved. You describe the system as “valuable” so a good backup needs to be available at all times anyway, before you make any attempt to fix things.