.png)
VirtualBox-6.1をインストールしようとしたときにこのエラーが発生します。セキュアブートをオフにできません。Virtual Boxをインストールして使用したいのですがホームステッド
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 を使用しています。
出力は Please Helpuname -r
です。5.8.0-44-generic
答え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=""
grubを更新しsudo update-grub
、再sudo reboot
起動後、 5.4カーネル用に再構築します。sudo apt remove virtualbox-dkms
sudo apt install virtualbox-dkms
それからsudo modprobe vboxdrv
終わり!