Sunday, February 14, 2010

INstalling Guest additions in Virtual box Linux Guest

2. Now copy the Guest Additions Installer from the mount folder (Where the VBOXGUESTADDITIONS iso image got mounted), to your home folder. It is a file named VBoxLinuxAdditions.run. If you are using a 32 bit system, then you must rename this file to VBoxLinuxAdditions-x86.run

3. Change the filetype of VBoxLinuxAdditions-x86.run and make it executable by running the following command:
sudo chmod +x VBoxLinuxAdditions-x86.run

4. Now install dkms and the GNU C Compiler using the following command:
sudo yum -y install dkms gcc

Debian and Ubuntu Users may use this command:
sudo apt-get install dkms gcc

5. Now you have to install Build and Kernel Header files for your system. The installation depends on the type of Linux Guest you are using. For Installing the Build and Kernel Headers on a RedHat or it’s derivatives like Fedora or CentOS, you must see this. And for Installing the Build and Kernel Headers on a Debian or it’s derivatives like Ubuntu, you must see this.

6. Finally, Install Guest Additions by using the following command:
sudo ./VBoxLinuxAdditions-x86.run

In case you get an error such as “No support for OpenGL direct rendering” then you should check this tip.

No comments:

Post a Comment