¤Þ¥Î:
§@ªÌ³¥¤f¶©¥v
¦]¬° header ¹w³]¨S¦³¦w¸Ë
¥ý uname -r ¬d¸ß¥Ø«e¥¿¦b¨Ï¥Îªºª©¥»
·j´M©Ò¦³ headers
yum search kernel-headers
¦w¸Ë¹ïÀ³ª©¥»
yum install kernel-headers
«±Ò¤§«á¦A§â virtualbox build ¶i header
/sbin/vboxconfig
|
·PÁ§A¡I§Ú²{¦b¯à¦bopenSUSEªºµêÀÀ¾÷¤¤§ì¨ìŪ¥d¾÷¡A¦Ó¥B·í´¡¤J´£´Ú¥d«á¡A¤]¯àŪ¨ú¨ì¦¹¥d¤ù¡C
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.