I tried to start a VirtualBox machine that was working perfectly fine, but I can’t seem to start it anymore: there’s a dialog (which cannot be closed) saying “Starting virtual machine…” but nothing else happens.
I have installed these packages (and added my user to the VirtualBox group):
yay -S linux-headers virtualbox virtualbox-guest-iso virtualbox-ext-oracle virtualbox-host-modules-arch
I always needed to use the LTS kernel to get them working. Had the exact same symptoms otherwise. I never got to a full root cause as I was just fine being on LTS.
Edit: Just looked closer - use DKMS for the host modules. i.e. install virtualbox-host-dkms 7.0.4-1
What you suggest, virtualbox-host-dkms is indeed for the LTS kernel. Since I was using the NON LTS one, by following https://wiki.archlinux.org/title/VirtualBox, I installed the corresponding one virtualbox-host-modules-arch.
Good deal. I’m happy to be corrected as I’m not an expert on it but I would always use dkms which will always ensure your modules are synced with the kernel version.
Just to clarify if there is still any confusion: virtualbox-host-dkms is meant for all currently available kernels. But virtualbox-host-modules-arch is meant for linux only.
Yes, virtualbox-host-dkms will work with any and all kernels, including linux.
virtualbox-host-modules-arch has pre-built modules for the linux kernel, while virtualbox-host-dkms builds the modules for each kernel, including linux.
Hi folks,
Same problem here: Virtualbox is working when on LTS kernel, but not on the latest (6.1.6 at writing). Can’t start any VM (Linux or Windows).
I have guest-utils and host-dkms installed, so are linux-headers.
Okay then …haven’t run across this. I don’t use vagrant. I just use virtualbox. But not anymore since every other update it’s just a complete failure. I’m using vmware-workstation pro instead for my needs.