Wednesday, October 5, 2011

Install VirtualBox Guest Additions on CentOS

Follow these steps to install VirtualBox Guest Additions for a CentOS VM.

1. Download guest addition.
This is done by by VirtualBox menu Devices > Install Guest Additions. This will download the file to /media folder.

2. Install dkms
According to this, you need to install dkms before installing guest addition. On CentOS, this is done by "yum install dkms". However, new installation does not have RPMForge repository configured. Follow the instructions here to add RPMForge then go back to install dkms.

3. Install guest additions
Open terminal, change to /media/CentOS-6.0-x86_64-LiveDVD, then run "sh ./VBoxLinuxAdditions.run".

4. Restart

Note run the commands as root by su -c 'your command'.



No comments:

Post a Comment