Saturday, 24 September 2016

Fix common Virtualbox errors in Fedora 24

Today I installed fresh Fedora 24 workstation on my machine. While installing virtual box I have faced a couple of issues. These are the problems and here's how I fixed them.

1. Unable to start Virtualbox

    Install the missing packages: dkms and kernel devel
# dnf install -y kernel-devel-$(uname -r) 
# dnf install -y dkms 
2.  No adapter name under "Host-only adapter"

Open Preference menu and choose "Network" then click "Host-only Networks"

Click "+" to add new host-only network. Then save the changes.

Now go to settings and click Name for host-only adapter under Network options. You can able to see the name now.

3. Unable to install VirtualBox guest edition packages in guest OS:

If you are trying to install virtual box guest addition packages, you may get the following error.

If you look at the log file, you will see kernel related error

To resolve the issue, Install missing kernel packages:
#dnf install -y kernel-devel-$(uname -r) kernel-headers-$(uname -r) gcc 

That's it. If you are facing any other issues regarding VirtualBox in Fedora, please let me know. Thanks for reading my post :)

1 comment: