is now LinkedIn Learning!

To access courses again, please join LinkedIn Learning

All the same content you know and love

Plus personalized recommendations and LinkedIn Career access   

All for the same price as Lynda! Get a 1-month free trial today.

Try LinkedIn Learning for free
Questions? Visit our help center.
Skip navigation

Find help for commands

Find help for commands: Learning Linux Command Line (2016)
Find help for commands: Learning Linux Command Line (2016)

Join for an in-depth discussion in this video Find help for commands, part of Learning Linux Command Line (2016).

Resume Transcript Auto-Scroll
Skill Level Beginner
1h 38m
Show More Show Less

Q: When trying to install the Guest Additions, I see an error like "Failed to set up vboxadd, please check the log file"

A: If you look at the specified log file (and another log file it may refer you to, /var/log/vboxadd-install.log), you'll see a more specific error message. Often, the error will be "Error: Unable to find the sources of your current Linux kernel". This can be resolved by ensuring your system is up to date and installing the kernel-devel package. to do this, run the following commands: 
For Fedora: 
sudo dnf update
sudo dnf install kernel-devel
For CentOS:
sudo yum update
sudo yum install kernel-devel
Then, restart your virtual machine and try to install the Guest Additions again. If you see an error trying to insert the Guest Additions image, check the File browser to see if it's already mounted, and choose ‘Run Software’ from the file window.
Note: The software included with Fedora changes frequently, and sometimes the Guest Additions installer will expect a different version of a particular package. The log files can give you more specific information - they can be explored with the ‘cat’ command, or a text editor like gedit. Some searching and troubleshooting may be necessary to get the correct version of a package installed. 

Skills covered in this course
Network Administration IT Operating Systems Linux

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month

You are now leaving and will be automatically redirected to LinkedIn Learning to start your free trial.