
當我嘗試安裝 VirtualBox-6.1 時,出現此錯誤。我無法關閉安全啟動。我正在安裝虛擬盒以供我使用家園
Preparing to unpack virtualbox-6.1_6.1.18-142142_Ubuntu_eoan_amd64.deb ...
Unpacking virtualbox-6.1 (6.1.18-142142~Ubuntu~eoan) over (6.1.18-142142~Ubuntu~eoan) ...
Setting up virtualbox-6.1 (6.1.18-142142~Ubuntu~eoan) ...
addgroup: The group `vboxusers' already exists as a system group. Exiting.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root. If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.
Processing triggers for systemd (245.4-4ubuntu3.4) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (1.15-1) ...
我已經嘗試過解決方案馬賈勒。我正在使用 ubuntu 20.04.2
輸出uname -r
是5.8.0-44-generic
Please Help。
答案1
可能是核心問題,先安裝主線這裡
然後透過以下方式將核心降級到 5.4: 安裝它 編輯sudo vim /etc/default/grub
如下
GRUB_DEFAULT="**gnulinux-5.4.112-0504112-generic-advanced-06ee5ff5-b952-4d40-858f-869172f710ce**"
GRUB_TIMEOUT_STYLE=隱藏 GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR= lsb_release -i -s 2> /dev/null || echo Debian
GRUB_CMDLINE_LINUX_DEFAULT="安靜啟動" GRUB_CMDLINE_LINUX=""
更新 grubsudo update-grub
然後sudo reboot
重新啟動sudo apt remove virtualbox-dkms
後sudo apt install virtualbox-dkms
重建 5.4 內核
然後sudo modprobe vboxdrv
完畢!