VirtualBox is a popular open-source virtualization software that allows users to run multiple guest operating systems on a single host. If you’re using Fedora as a guest operating system on VirtualBox, installing the VirtualBox Guest Additions can enhance your virtual machine’s performance and usability. The Guest Additions package includes drivers and utilities that enable seamless integration between the host and guest systems, such as shared folders, clipboard sharing, and improved graphics performance. To install VirtualBox Guest Additions in Fedora, first, make sure that you have the latest updates and kernel headers installed. Then, mount the Guest Additions ISO image, run the installer as root, and reboot the virtual machine. After the installation, you can enjoy the full functionality of VirtualBox and improve your virtual machine’s performance and usability.

Step 1: Install Kernel Headers and Build Tools

$ sudo dnf install dkms kernel-devel gcc bzip2 make curl

Install Kernel Headers in Fedora

To check the version of the Linux kernel run the command.

$ uname -r

OR

$ hostnamectl | grep -i kernel

To check the version of the kernel development tool (kernel-devel) execute.

$ sudo rpm -qa kernel-devel

Verify Linux Kernel Headers

Verify Linux Kernel Headers

If the versions of the two (kernel version and kernel-devel) do not match as shown in the screenshot above, update the kernel using the command.

$ sudo dnf update kernel-*

When you are done updating the kernel, reboot the system, and again, verify the kernel version again.

$ uname -r

Verify Kernel Version

Step 2: Install VirtualBox Guest Additions in Fedora

To install guest additions, navigate to Devices –> Insert Guest Additions CD image.

Insert Guest Additions CD

Step 3: Mount CDROM in Linux

mkdir /mnt/cdrom

mount /dev/cdrom /mnt/cdrom

cd /mnt

./VBoxLinuxAdditions.run

 

 

By Rayhan

My name is Rayhan and I'm an IT professional with over 10 years of experience in the field. I'm passionate about all things tech, and I love helping people solve their IT problems. In my free time, I enjoy tinkering with new gadgets and software, and I'm always on the lookout for the latest tech trends. I believe that technology has the power to make our lives easier and more enjoyable, and I'm excited to be a part of this ever-evolving field. Thank you for taking the time to visit my page.

Leave a Reply

Your email address will not be published. Required fields are marked *