Did you reboot?
I reboot machine , now
uname -a
Linux pal 6.11.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 30 Sep 2024 23:49:50 +0000 x86_64 GNU/Linux
But error virtualbox remains the same
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 etc
Maybe it needs editing /sbin/vboxconfig but I don’t know what to fix
because there is no vboxconfig in /sbin…And in general it is not found anywhere
This is a bit confusing, as I’m not sure at what point the headers were installed relative to the system update. Can you run this again please:
Reboot, then run:
lsmod | grep vbox
Might be that a systemd service is needed?
Did you try loading the module manually?
sudo modprobe vboxdrv
Have you considered trying the prebuilt VB kernel modules?
virtualbox-host-modules-arch
or virtualbox-host-modules-lts
?
sudo: virtualbox-host-modules-lts: command not found
sudo: virtualbox-host-modules-arch: command not found
sudo modprobe vboxdrv
modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/6.11.1-arch1-1
I should have been clearer. virtualbox-host-modules-arch
(for mainline kernel) and virtualbox-host-modules-lts
are standard Arch packages that contain pre-built VB kernel modules. They will replace the dkms package you already installed.
To be more clear, tell me what exactly to do, what commands to use?It might be easier to reinstall virtualbox but without the dcms option?
If you install the packages I mentioned, with
yay -S virtualbox-host-modules-arch virtualbox-host-modules-lts
the DKMS package will be removed (in conflict with the other packages).
I remove it
pacman -R virtualbox-host-dkms
I install it with mode virtualbox-host-modules-arch
Now
yay -Q | grep virtualbox
virtualbox 7.1.2-1
virtualbox-host-modules-arch 7.1.2-3
and virtualbox works well Thanks
There is just one nuance: a virtual machine with Debian12 is created, but with FreeBSD14.1 no:
Could note malloc 163840 bytes with M_WAITOK from /usr/src/sys/contrib/openzfs/module/zstd/zfs_zstd.c line 788
You should open a new topic for your question about FreeBSD.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.