
Artix LinuxにVirtualBox(ホストモジュールパッケージを含む、VirtualBoxのすべてのモジュールもロードしました)をインストールしましたが、仮想マシンを開こうとすると、次のようなエラーが発生しました。
The virtual machine 'TestOS' has terminated unexpectedly during startup with exit code 1 (0x1). Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
MachineWrap
Interface:
IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing
'/sbin/vboxconfig'
as root.
If your system has EFI Secure Boot enabled you may also 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.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
私のVirtualBoxパッケージ
virtualbox-6.1.16-1
virtualbox-host-modules-artix 6.1.16-2
virtualbox-guest-iso 6.1.16-1
virtualbox-guest-modules-artix 6.1.4-8
コマンドを実行しようとしたとき/sbin/vboxconfig
、次のようなエラー メッセージが表示されました。sudo/sbin/vboxconfig: command not found
を使用しようとしましたが、先ほど述べたのとまったく同じメッセージが表示されました。
おそらく、間違ったバージョンの VirtualBox モジュールを使用していると思われますが、これらは Artix リポジトリ上の最新パッケージです (Artix システムの更新も試みました)。
答え1
私も同じ「問題」に遭遇しました。カーネルでvboxdrvモジュールを有効にすると、うまくいきました。
sudo modprobe vboxdrv
カーネルモジュールはこれで利用可能になっているはずです。
lsmod | grep vboxdrv
次のようにモジュールの名前、サイズ、用途を含む1行が出力されるはずです。
vboxdrv 528384 0