Artix Linux에서 VirtualBox 가상 머신의 전원을 켤 수 없습니다.

Artix Linux에서 VirtualBox 가상 머신의 전원을 켤 수 없습니다.

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. 이렇게 말하는 오류 메시지가 나타납니다.
/sbin/vboxconfig: command not found
sudo를 사용해 보았더니 방금 전에 언급한 것과 똑같은 메시지를 받았습니다.

아마도 잘못된 VirtualBox 모듈 버전을 사용하고 있다고 가정하겠지만 이는 Artix 저장소의 최신 패키지입니다(Artix 시스템도 업데이트해 보았습니다).

답변1

방금 같은 '문제'를 발견했습니다. 커널에서 vboxdrv 모듈을 활성화하면 작동합니다. 사용해 보세요

sudo modprobe vboxdrv

이제 커널 모듈을 사용할 수 있습니다. 당신은 그것을 확인할 수 있습니다

lsmod | grep vboxdrv

그러면 다음과 같이 모듈의 이름, 크기 및 용도가 포함된 한 줄이 인쇄됩니다.

vboxdrv               528384  0

관련 정보