Installing VirtualBox Guest Additions on Kubuntu

whiztech's picture
4. Installing VirtualBox Guest Additions on Kubuntu

20. We will now install the VirtualBox Guest Additions on Kubuntu. First, we will need to mount the VirtualBox Guest Additions CD image to the virtual machine. Click on your virtual machine name (33) and click 'Settings' (34).

Photobucket

21. Click on 'CD/DVD-ROM' (35) and click browse (36). Click 'Add' (37) to select the VirtualBox Guest Additions CD image. The VirtualBox Guest Additions CD image is in the folder where you have installed VirtualBox (usually in C:\Program Files\Sun\xVM VirtualBox). The VirtualBox Guest Additions CD image file name is VBoxGuestAdditions.iso.

Photobucket

Photobucket

Photobucket

22. Next, select VBoxGuestAdditions.iso (38) and click 'Select' (39) to mount the VirtualBox Guest Addition CD image to the virtual machine. Click 'OK' (40) and start your virtual machine.

Photobucket

Photobucket

23. Welcome to Kubuntu!

Photobucket

Photobucket

Photobucket

24. Next, go to 'Computer' (41) > 'VBOXADDITIONS_x' (42) to check if the VirtualBox Guest Addition CD image is properly mounted. If there are no files, try to repeat this step. If there are still no files, shut down the virtual machine and repeat the step 21 to remount the VirtualBox Guest Addition CD image.

Photobucket

Photobucket

25. To install VirtualBox Guest Addition, go to 'Application' > 'System' > 'Terminal' (43).

Photobucket

Photobucket

26. Next, we will navigate the Terminal to /media/cdrom0 directory where the VirtualBox Guest Addition files are located. Follow these command:
cd ..
cd ..
cd media
cd cdrom0
ls
Command explanation:
cd - change directory
.. - move up 1 level from current directory. For example, if your current directory is /home/whiztech, and you type cd .. in Terminal, you will navigate to /home.
ls - list files. This command will list the files and directory from current directory.

Photobucket

27. Next, type 'sudo sh VBoxLinuxAdditions-x86.run' without the quotation (') mark. If your Linux is the x64 version, use 'VBoxLinuxAdditions-amd64.run' instead of 'VBoxLinuxAdditions-x86.run'. Enter your root password (the password that you set in step 18) and press Enter. VirtualBox Guest Addition will be installed on your Kubuntu. After the installation is finished, restart the virtual machine from Kubuntu ('Leave' > 'Restart' (44)).

Photobucket

Photobucket

Photobucket

28. There you go! You have a fully working Kubuntu operating system with VirtualBox Guest Addition installed. There are several advantages with having VirtualBox Guest Addition installed:

Mouse pointer integration - You will only have one mouse pointer and pressing the Host key is no longer required to "free" the mouse from being captured by the guest OS.
Better video support - Virtual machine screen resolution will automatically resized when you resize the virtual machine window.
Time synchronization - The guest operating system time will be in sync with the host operating system time.
Shared folders
Seamless windows
Shared clipboard

Photobucket

29. You can view the virtual machine in full screen mode to give you a more realistic experience running Linux. To do this, just go to 'Machine' > 'Fullscreen Mode'. To exit fullscreen mode, press host key+F (Right CTRL+F). Happy testing your Kubuntu!

[Download: VirtualBox]
[Download: Kubuntu]
[Distrowatch]
Your rating: None Average: 4.9 (9 votes)

Cannot find what you are looking for?