How to Install Linux/Ubuntu on Your PC | UPDATED | 2024
If you are interested in Science, Technology, Education, Entertainment subscribe my channel and like, comment on my vedios. It will help me to give you a best experience through my channel.
Install Virtual Box – https://www.virtualbox.org/
Install Ubuntu ISO file – https://ubuntu.com/
The Steps to Install Guest Additions:
1) Start Your Ubuntu Virtual Machine
Before we dive into the installation process, make sure your Ubuntu virtual machine is up and running in VirtualBox.
2) Install Required Packages
Before you can install VirtualBox Guest Additions, you’ll need some essential packages. Run the following command in your terminal to install them:
$ sudo apt update
$ sudo apt install build-essential linux-headers-$(uname -r) -y
These packages are necessary for building and installing the VirtualBox Guest Additions modules.
3) Mount the VirtualBox Guest Additions CD Image
In VirtualBox, go to the “Devices” menu at the top of the virtual machine window and select “Insert Guest Additions CD Image.” This action virtually mount the Guest Additions CD image into your virtual machine.
4) Install VirtualBox Guest Additions
Now, let’s navigate to the directory containing the VirtualBox Guest Additions CD image. In your terminal, run:
$ cd /media/linuxtechi/VBox_GAs_7.0.4/
This command takes you to the mounted CD image directory. Note that the directory name may vary slightly depending on your VirtualBox version.
To install VirtualBox Guest Additions, run the following command:
$ sudo ./VBoxLinuxAdditions.run
5) Reboot Your Virtual Machine
After the installation is complete, it’s essential to reboot your virtual machine to ensure that the VirtualBox Guest Additions are fully integrated:
$ sudo reboot
ubuntu