Skip navigation

What you should know before watching this course

What you should know before watching this course: Learning Linux Command Line
What you should know before watching this course: Learning Linux Command Line

Join for an in-depth discussion in this video What you should know before watching this course, part of Learning Linux Command Line.

Resume Transcript Auto-Scroll
Skill Level Beginner
1h 43m
Duration
810,258
Views
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 Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now