Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

How to Install VirtualBox Guest Additions on Ubuntu Desktop 22.04

November 30, 2022
in Blog, Ubuntu, VirtualBox
0
ADVERTISEMENT

Table of Contents

VirtualBox guest additions are a collection of device drivers and software application packages shipped with Oracle VirtualBox. Installing Guest additions improve the guest operating system’s performance and extra features.

Guest Addition provides seamless mouse support, file transfer between the host and the VM, VM screen resolution will match the size of the VirtualBox window, automated guest login using credentials from a master login system, and many more.

In this post, we will see how to install VirtualBox guest additions on Ubuntu Desktop 22.04.

Install Guest Additions on Ubuntu 22.04

Install VirtualBox Guest Additions using Terminal

1. Open the Terminal app then refresh the repository and package lists, and perform the necessary upgrades with the following command:

sudo apt update -y && sudo apt upgrade -y

2. Before installing Guest additions, install the build tools and kernel headers for the current kernel.

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

3. VirtualBox guest additions are stored in an ISO file  GuestAdditions.iso inside the VirtualBox installation directory. To install the Guest additions, you need to mount the ISO image into your VM.

Go to Devices > Insert Guest Additions CD Image on the VM window.

4. Mount the ISO image to the /media directory using below command:

sudo mount /dev/cdrom /media

5. Navigate tho the /media directory then execute the VirtualBox guest addition installer.

cd /media
sudo ./VBoxLinuxAdditions.run

Even before the installation gets complete, your system will get a full-screen view which confirms that the installation is successful.

6. Finally, you may reboot the system to complete the installation.

Install VirtualBox Guest Additions using GUI

Alternatively, if you don’t want to using Terminal, you can install the Guest Additions using GUI.

Before installing Guest additions using GUI, you must install the build tools and kernel headers for the current kernel. It’s mandatory.

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

1. Go to Devices > Insert Guest Additions CD Image.

2. As soon as you attach the guest additions image to a VM, you will get a prompt to run the automatic installation. If not, you can open File | VBox_GAs_6… | Right click on autorun.sh then select Run as a Program.

3. Next, you will get a window to enter a password to authorize the installation.

4. Finally, you may reboot the system to complete the installation.

ADVERTISEMENT
5/5 - (1 vote)
Previous Post

How to Install VirtualBox Guest Additions on Ubuntu VM Automatically

Next Post

How to Fix Share with Everyone Option Missing in SharePoint Online

Related Posts

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024
Ftr19

How to Fix Windows Cannot Read the ProductKey From the Unattend Answer File in VirtualBox

July 26, 2024
Ftr25

How to Update Windows Terminal in Windows 10/11

July 26, 2024

How to Disable The Beep Sound in WSL Terminal on Windows

July 26, 2024

Leave a Reply Cancel reply

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

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory