CentOS 6.5: Virtualbox Guest Additions


Versions

  1. CentOS 6.5
  2. Virtualbox 4.3.12

Prerequisites

  1. Install CentOS as Virtualbox Guest

Install Prereqs


Configure

Get the kernel version:

Note

VBoxLinuxAdditions.sh looks for the kernel source at $KERN_DIR/${uname -r}. The cp below is to make the directory structure meet its expectations (the default kernel sources folder includes the minor version)


Install


Verify


Cleanup


Reboot

3 thoughts on “CentOS 6.5: Virtualbox Guest Additions

  1. Fabrizio

    You rocks mate! But a simple question. The first command you wrote is

    sudo yum gcc make kernel-devel kernel-devel kernel-headers

    perhaps maybe is

    sudo yum install gcc make kernel-devel kernel-headers

    so you mistake add twite kernel-devel and forget install? :D

    Reply
  2. reeprich

    Hi still getting error

    after INStall nstep

    cp: cannot stat `/usr/src/kernels/2.6.32-431.17.1.el6.x86_64′: No such file or directory

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">