You are not logged in.

#1 2022-09-02 22:05:08

charper_flow
Member
Registered: 2022-07-15
Posts: 34

[Solved] Difficulties setting up virtual box

I made a previous post where I had some issues setting up a virtualbox to run windows 11. I was following a variety of different guides, and I beleive this is why non of the proposed solutions worked.

This time I tried to just follow what is posted here on the arch wiki: https://wiki.archlinux.org/title/VirtualBox

I have run into a few early issues I was hoping you could help me figure out.

I began by updating and installing:

$ sudo pacman -S virtualbox virtualbox-guest-iso  

I chose

 virtualbox-host-modules-arch

over the option for

virtualbox-host-dkms

, because I am not running LTS kernel.  This is where I run into my first issue.

I try to manually launch the vboxdrv module with

modprobe vboxdrv

and I get the following error:

modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.19.2-arch1-1

I though updating my linux headers might help so I ran:

pacman -Syy linux-headers

but I am still getting this error. Any suggestions?

Last edited by charper_flow (2022-09-05 17:45:55)

Offline

#2 2022-09-02 22:09:12

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [Solved] Difficulties setting up virtual box

charper_flow wrote:

I began by updating...

If the update included a new kernel have you rebooted yet?

modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.19.2-arch1-1

The current kernel version in the repos is 5.19.6


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2022-09-02 22:11:23

loqs
Member
Registered: 2014-03-06
Posts: 18,964

Re: [Solved] Difficulties setting up virtual box

charper_flow wrote:

I though updating my linux headers might help so I ran:

pacman -Syy linux-headers

but I am still getting this error. Any suggestions?

That is a partial upgrade and if you performed a partial update before you installed virtualbox that would explain the issue.
It could also be caused by not rebooting since upgrading the kernel.

Offline

#4 2022-09-05 17:45:35

charper_flow
Member
Registered: 2022-07-15
Posts: 34

Re: [Solved] Difficulties setting up virtual box

Thanks guys that fixed the problem. Still having the same issue with virtualboxvhanging on windows 11 install, but it looks to be a like a pretty common problem. I think I will look into other virtual machine options.

Offline

Board footer

Powered by FluxBB