Hi, I am currently trying to instell VirtualBox on my Fedora 34.
I am using the following guide:
Now, in step 2, it says the following:
VirtualBox installation required kernel source code to install required modules, So we need to configure environment variable KERN_DIR to which VirtualBox get kernel source code. In my case latest kernel source is available in 4.16.5-300.fc28.x86_64 directory under /usr/src/kernels/ . Make sure you are using correct source path.
I know what my kernel thing (I’m sorry if I’m insulting your IT passion with my noobness) is called by using uname -r (correct me if I’m wrong).
Therefore, I insert my result with the 4.16.5-300.fc28.x86_64 from the guide.
But I don’t know what the path is. The one that is /usr/src/kernels/ in the guide.
You are using an OLD version of the kernel. The kernel for current fedora 34 is 5.13.16.
What version of fedora are you running? Fc28 as indicated by your uname output?
What version of VirtualBox are you installing?
Fedora 28 has not been supported for 2 years and a lot has changed in that time.
It is likely with that ancient kernel you may not be able to compile it since those old libraries and code do not fit the requirements for a current version of VirtualBox.
Looking at the VB download site there are several different versions available and it is likely that you need the oldest one there to even have a chance of getting it working.
No idea on this one. When I install a VM I set the networking to bridged. Not sure why. It is just the way I’ve always done it. It works, so I never give it a second thought. I will say that I have no VM’s on any strictly wireless hosts. All hosts are hard wired.