Providing Solutions For Life

Installing Guest Additions for VirtualBox on a Ubuntu node

When working with VirutalBox it is quite helpful to have the VirtualBox guest additions installed.

The main reason for us to have this would be to blow up the VM we are working on to full screen.

Assuming that you have already launched the VirtualBox and firedup the VM we going to work on

1. Open a terminal on the VM.
2. Just so that everything is uptodate

sudo apt-get update

3. Followed by

sudo apt-get install build-essential module-assistant

4. To Configure the system for building kernel modules 

sudo m-a prepare

5. On the VirutalBox menu Click on Devices  >> Install Guest Additions which is at the bottom of the menu.

6. We switch over to the CD.
cd /media

7. Using "ls" find the contents of the CD and swtich to it.

8. finally running 

sudo ./

You would need to restart the VM to get these changes effective sometimes. 

shutdown -r now

And now we can see that on Full Screen, the VM blows up fully!