Installing VirtualBox guest additions on CentOS or RHEL

Process is very simple

  1. Login as root
  2. Install dependencies # yum install gcc make kernel-headers kernel-devel
  3. Reboot for loading new kernel info if required and to be on safer side
  4. Use gmake instated of make #export MAKE=’/usr/bin/gmake -i’
  5. Insert guest additions CD
  6. goto installer # cd /media/VBOXADDITIONS*
  7. #./
  8. Reboot and enjoy