Hey everyone, welcome back to the channel
Today I will show you how to install VirtualBox guest additions on Ubuntu 22.04
Guest additions are essential for improving performance and functionality within your virtual machine
It offers additional functionality like improved video support, shared folders, seamless mouse
integration and more. Before we begin, make sure we have following things in place like VirtualBox installed
on your host machine and Ubuntu 22.04 virtual machine created in VirtualBox, administrative
access on both host machine as well as the virtual machine. Alright once all the prerequisites are covered, let's jump into the installation step
Go to the VirtualBox window, select your Ubuntu 22.04 VM and click on start
Open the terminal
Run apt command to install the dependencies of guest additions. First command is sudo apt update
Next run sudo apt install build-essentials dkms linux-headers
These commands update the package list and install essential build tools and grab the
necessary kernel headers. It may take a minute or two depending upon your internet speed
Next insert the guest additions cd image. From the menu bar, click on devices and then choose insert guest additions cd image
It will automatically mount the guest addition iso file on your Ubuntu system under slash
media slash username folder. Now navigate to the directory where guest addition iso file is mounted
Run You can see this iso file is mounted under media-linux-key vbox-underscore-geo folder
Run Hit enter
Under this folder we have a installation script for linux systems vbox-linux-additions.run
We will be running this script using the sudo command in order to install the virtualbox
guest addition. Run sudo hit enter
This script will compile and install the guest additions. During this process you might see the several messages indicating the compilation of kernel modules
Once the guest additions are installed successfully, reboot your VM to make the above changes into
the effect. For that run sudo reboot hit enter
After the reboot you mount the iso file
Now try to resize the window. It should automatically adjust it. See if you click on maximize you will see the full screen of your Ubuntu 22.04 virtualbox VM
That's all from this video tutorial. I believe you have found it useful and informative
If you have any questions or ran into the issues feel free to leave a comment below
Don't forget to like the video and subscribe to our channel for more tech tutorials
Thanks for watching. Bye.