When you first install a Linux virtual machine using VirtualBox, you might find the experience sub-par.
Launch VirtualBox and start the Ubuntu or Debian virtual machine.
Let it boot and wait for the desktop to load.
If you’re using Ubuntu, you’ll notice a disk icon appear in the dock.
Click it to view the contents of the inserted image.
Right-click theautorun.shscript and selectRun as a Programfrom the context menu.
A new terminal window will appear and the system will ask you for your password.
slide in your administrator password to continue.
Once done, the terminal will display the progress of the installation.
ManyArch-based Linux distributionsoften include the Guest Additions package when you install them on a virtual machine.
This ensures any changes you’ve made to the system get saved.
But if you’re runningother RPM-based distributions, you might have to install Guest Additions manually.
To do that, begin by starting the virtual machine.
Then, clickDevices > Insert Guest Additions CD imagefrom the top menu bar.
In the pop-up that follows, selectRun.
Enter the administrator password to authenticate the operation.
A terminal will pop up and plant the necessary modules.
On Ubuntu and Debian, change the present working directory to/opt/VBoxGuestAdditions-[version].
trigger the uninstallation script by typing:
Finally, restart the virtual machine to verify if the changes persist.
VMware and Hyper-V are two other hypervisors that offer features similar to VirtualBox.
Which one’s the best?
The answer will depend on your preference and use case.