Install VirtualBox Guest Addition in Ubuntu

First from virtual machine menu, click Devices and click on Insert Guest Addition CD Image. This process will add guest addition CD inside VM.

Bring terminal and run below,

sudo apt update
sudo apt install build-essential dkms linux-headers-$(uname -r)

Then brows into the CD from GUI interface and right click somewhere in the CD and click open terminal here. This bring Terminal within CD

then simply run,

sudo su

./VBoxLinuxAdditions.run --nox11

You will need to reboot VM.

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s