Ubuntu Linux add VirtualBox Guest Additions

Problem

If you want to use VirtualBox and Ubuntu Linux as guest OS you will want to use full screen, shared folder, clipboard sharing, etc. This can be done by installing VirtualBox Guest Additions. This process can be tricky for people without experience or the right knowledge.

Solution Install VirtualBox Guest Additions Ubuntu Short

  • Open Devices
  • Install Guest Additions
  • Open terminal guest OS
  • Login in and type:
sudo mkdir --p /media/cdrom
sudo mount /dev/cdrom /media/cdrom
cd /media/cdrom/
sudo ./VBoxLinuxAdditions.run
  • Reboot

Solution Install VirtualBox Guest Additions Ubuntu Detailed

  • Start VirtualBox.
  • Start the VM (the one that need full screen, shared folders etc).
  • click Devices - when the boot is finished
  • Insert Guest Additions CD Image
  • This step could be not enough in some cases. So I needed to download the VBoxGuestAdditions_5.0.10.iso and to insert the disk manually. Check how in manual install of the disk. You may need to force eject of the previous disk.
  • Log in to your guest server.
  • Mount the CD-ROM with the command
sudo mount /dev/cdrom /media/cdrom
  • Change into the mounted directory with the command
cd /media/cdrom.
  • Install the necessary dependencies with the command
sudo apt-get update  
sudo apt-get install virtualbox-guest-dkms
  • Change to the root user with the command
sudo su
  • Install the Guest Additions package with the command
./VBoxLinuxAdditions.run
  • Enable bidirectional shared clipboard

  • Reboot when installation is completed

Solution Download VirtualBox Guest Additions ISO

  • Start VirtualBox.
  • Find your VirtualBox version
  • menu
  • help
  • about
  • Got to link and find your version: Donwload virtualbox
  • Find file similar to: VBoxGuestAdditions_X.X.XX.iso - in my case - VBoxGuestAdditions_5.0.10.iso - Download virtualbox/5.0.10
  • Download the file
  • Start the guest OS
  • Insert the ISO

How to solve copy paste issue: Ubuntu server VM not working copy paste