Guest Additions – Installing VirtualBox Guest Additions in Fedora 26

In this tutorial, I am going to show how to install Guest Additions in Fedora Linux. For the purpose of writing this tutorial, I am using Fedora 26 with Gnome Desktop.

Open Terminal and type/ paste following commands for successfully installing guest additions in virtual machine.

Step 1: Log in as root user

su –

Step 2: Update System

dnf update

Step 3: Update Kernel

dnf update kernel*

Step 4. Restart Virtual Machine

reboot

Step 5. Install required packages

dnf install gcc kernel-devel kernel-headers dkms make bzip2 perl

Step 6. Add current KERN_DIR variables

KERN_DIR=/usr/src/kernels/ ‘uname -r’

Step 7. Export KERN_DIR

export KERN_DIR

Step 8. Insert Virtual Box Guest additions CD image

Click on Devices menu and click on insert Guest Additions CD image.

Step 9. Change directory

cd /run/media/tanmay/VBOXADDITIONS_5.1.26_117224/

Step 10: Install Guest Additions

bash VBoxLinuxAdditions.run

Step 11: Restart Virtual Machine

reboot

After restarting machine log in and in a few seconds screen size would be auto adjusted.

I hope this tutorial has helped you install Oracle Virtual Box guest additions inĀ Fedora Linux.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: