瀏覽單個文章
sparc10
Junior Member
 
sparc10的大頭照
 

加入日期: Jun 2003
您的住址: CC BY-NC-ND 4.0授權
文章: 784
引用:
作者野口隆史
因為 header 預設沒有安裝
先 uname -r 查詢目前正在使用的版本
搜尋所有 headers
yum search kernel-headers

安裝對應版本
yum install kernel-headers

重啟之後再把 virtualbox build 進 header
/sbin/vboxconfig
感謝你!我現在能在openSUSE的虛擬機中抓到讀卡機,而且當插入提款卡後,也能讀取到此卡片。

After I did the steps below, I could open a Win10 on VirtualBox.

I installed VirtualBox in YAST of openSUSE 15.2, and added myself to the "vboxusers" group. before starting VirtualBox.
I could do it using: Yast / Security and Users / User and Group management.

sudo -i
localhost:~ # yast2 -i kernel-source
reboot

sudo -i
localhost:~ # zypper install virtualbox-host-source kernel-devel kernel-default-devel
reboot

sudo -i
localhost:~ # /sbin/vboxconfig
Building kernel modules...
Kernel modules built correctly. They will now be installed.
insmod /lib/modules/5.10.4-1.g4169c1f-default/misc/vboxdrv.ko
insmod /lib/modules/5.10.4-1.g4169c1f-default/misc/vboxnetflt.ko
insmod /lib/modules/5.10.4-1.g4169c1f-default/misc/vboxnetadp.ko
Kernel modules are installed and loaded.
舊 2021-01-03, 06:50 PM #17
回應時引用此文章
sparc10現在在線上