Hi,
after installing virtualbox I noticed errors in startup.
I have removed virtualbox, but it gives me the error “failed load kernel modules”.
How can I solve?
Can you boot into Archlabs at all? Does it say which kernel modules? A little more detail would be great…
sudo pacman -Rns virtualbox-guest-utils virtualbox-guest-modules-arch
sudo rm /etc/modules-load.d/virtualbox.conf
3 sandro@archlabs ~ % sudo pacman -Rns virtualbox-guest-utils virtualbox-guest-modules-arch
[sudo] password di sandro:
errore: il seguente pacchetto non è stato trovato: virtualbox-guest-utils
errore: il seguente pacchetto non è stato trovato: virtualbox-guest-modules-arch
1 sandro@archlabs ~ % sudo rm /etc/modules-load.d/virtualbox.conf
rm: impossibile rimuovere ‘/etc/modules-load.d/virtualbox.conf’: File o directory non esistente
I do not know if it has something to do but Virtualbox depends on the processor, on my machine it is automatically removed, there is no support here
If you are using virtual box INSIDE ArchLabs then you need the host modules installed
For the LTS kernel the packages are different
# for default Arch kernel
pacman -S virtualbox-host-modules-arch
# for LTS kernel
pacman -S virtualbox-host-dkms linux-lts-headers
If you installed ArchLabs INSIDE virtualbox then you need the guest modules installed
Like above the packages for LTS kernel are different
# for default Arch kernel
pacman -S virtualbox-guest-modules-arch virtualbox-guest-utils
# for LTS kernel
pacman -S virtualbox-guest-dkms linux-lts-headers virtualbox-guest-utils
Thanks natemaia.
I have installed the host packages with the command “pacman -S virtualbox-host-modules-arch” and I have solved the problem.