VirtualBox Guest Additions on Fedora 20/19, CentOS/RHEL 6.5/5.10

virtualbox-logo-smallThis is guide, howto install Oracle VirtualBox Guest Additions on Fedora, CentOS and Red Hat (RHEL). This guide should work with Fedora 20/19/18/17/16/15/14/13/12, CentOS 6.5/6.4/6.3/6.2/6.1/6.0/5.10, Red Hat (RHEL) 6.5/6.4/6.3/6.2/6.1/6/5.10.

VirtualBox Guest Additions is special software that can be installed inside Linux virtual machines to improve performance and make integration much more seamless. Among the features provided by these VirtualBox Guest Additions are mouse pointer integration and arbitrary screen solutions (e.g. by resizing the guest window).

Install VirtualBox Guest Additions on Fedora, CentOS and Red Hat (RHEL)

1. Change root user

su -
## OR ##
sudo -i

2. Mount VirtualBox Guest Additions

Click Devices > Install Guest Additions… on VirtualBox
VirtualBox Install Guest Additions

Mount VirtualBox Guest Additions device

mkdir /media/VirtualBoxGuestAdditions
mount -r /dev/cdrom /media/VirtualBoxGuestAdditions

3. Make sure that you are running latest kernel

Update virtual machine kernel and reboot

yum update kernel*
reboot

4. Install following packages

On CentOS/Red Hat (RHEL) 6/5, EPEL repo is needed

## CentOS 6 and Red Hat (RHEL) 6 ##
rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
 
## CentOS 5 and Red Hat (RHEL) 5 ##
rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

Install following packages

yum install gcc kernel-devel kernel-headers dkms make bzip2 perl

5. Add KERN_DIR environment variable

## Current running kernel on Fedora, CentOS 6 and Red Hat (RHEL) 6 ##
KERN_DIR=/usr/src/kernels/`uname -r`
 
## Current running kernel on CentOS 5 and Red Hat (RHEL) 5 ##
KERN_DIR=/usr/src/kernels/`uname -r`-`uname -m`
 
## Fedora example ##
KERN_DIR=/usr/src/kernels/2.6.33.5-124.fc13.i686
 
## CentOS and Red Hat (RHEL) example ##
KERN_DIR=/usr/src/kernels/2.6.18-194.11.1.el5-x86_64
 
## Export KERN_DIR ##
export KERN_DIR

6. Install Guest Additions

cd /media/VirtualBoxGuestAdditions
 
# 32-bit and 64-bit systems run following
./VBoxLinuxAdditions.run

Output looks like following:

[root@fedora VBoxGuestAdditions]# ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.1.6 Guest Additions for Linux.........
VirtualBox Guest Additions installer
Removing installed version 4.1.6 of VirtualBox Guest Additions...
Removing existing VirtualBox DKMS kernel modules           [  OK  ]
Removing existing VirtualBox non-DKMS kernel modules       [  OK  ]
Building the VirtualBox Guest Additions kernel modules
Building the main Guest Additions module                   [  OK  ]
Building the shared folder support module                  [  OK  ]
Building the OpenGL support module                         [  OK  ]
Doing non-kernel setup of the Guest Additions              [  OK  ]
You should restart your guest to make sure the new modules are actually used

Installing the Window System drivers
Installing X.Org Server 1.11 modules                       [  OK  ]
Setting up the Window System to use the Guest Additions    [  OK  ]
You may need to restart the hal service and the Window System (or just restart
the guest system) to enable the Guest Additions.

Installing graphics libraries and desktop services componen[  OK  ]

7. Reboot guest system

reboot

Then VirtualBox Guest Additions install is ready.

Check also:

Install VirtualBox (with yum) on Fedora, CentOS, Red Hat (RHEL)

Follow If Not True Then False Updates!

145 Comments

  1. I am trying to install guest additions on CentoOS 6.3 running in VirtualBox on a Windows 7 64 bit host.

    Followed all the steps but get the following message in vboxadd-install.log after attempting to run sh ./VBoxLinuxAdditions.run. The only part that failed was the “Building the main Guest Additions module”.

    *** Error: KERN_DIR does not point to a directory.

    I have tried setting KERN_DIR to each of the following without success
    KERN_DIR=/usr/src/kernels/`uname -r`
    KERN_DIR=/usr/src/kernels/2.6.32-279.19.1.e16.x86_64
    KERN_DIR=/usr/src/kernels

    The /usr/src/kernels/2.6.32-279.19.1.e16.x86_64 does exist and has stuff in it. There is only the one directory in /usr/src/kernels

    Any suggestions?

    • Hi Barry,

      Did you run export KERN_DIR?

      KERN_DIR=/usr/src/kernels/2.6.32-279.19.1.e16.x86_64
      export KERN_DIR
    • Make sure you reboot if you did the yum update kernel*.
      I had the same issue until I did.

  2. Yes. and I had also run source on the .bashrc file.

    I found this site useful to get dkms installed
    http://saadbinakhlaq.wordpress.com/tag/install-guest-additions/
    Even though I still don’t seem to have guest additions installed properly, I am now able to resize to 1600×1200 resolution.

  3. Thanks so much. I was totally stuck on how to get a Centos minimal vm to install the guest additions from bash and your instructions saved the day.

    Thanks!

    S

  4. Absolutely thanks, I have followed all the steps and worked. (Before this, the full screen option had not worked).

  5. For CentOS 6.3 KERN_DIR should be KERN_DIR=/usr/src/kernels/`uname -r`

    uname -m is not needed.

    • Hi Morgan,

      And thank you for this note. I updated guide, now just CentOS 5 and RHEL 5 needs uname -m. :)

  6. Thanks for the article! I used to hate trying to install guest additions…

  7. The output from terminal after having followed your howto to the letter:
    [root@mohand VBOXADDITIONS_4.2.6_82870]# ./VBoxLinuxAdditions.run
    Verifying archive integrity… All good.
    Uncompressing VirtualBox 4.2.6 Guest Additions for Linux……….
    VirtualBox Guest Additions installer
    Removing existing VirtualBox DKMS kernel modules [ OK ]
    Removing existing VirtualBox non-DKMS kernel modules [ OK ]
    Building the VirtualBox Guest Additions kernel modules
    Building the main Guest Additions module [ÉCHOUÉ]
    (Look at /var/log/vboxadd-install.log to find out what went wrong)
    Doing non-kernel setup of the Guest Additions [ OK ]
    Installing the Window System drivers
    Installing X.Org Server 1.13 modules [ OK ]
    Setting up the Window System to use the Guest Additions [ OK ]
    You may need to restart the hal service and the Window System (or just restart
    the guest system) to enable the Guest Additions.

    Installing graphics libraries and desktop services componen[ OK ]

    Is there a workaround?

    Thanks for your contribution.

    Mohand

    • Hi Mohand,

      Could you post content of /var/log/vboxadd-install.log file?

      And output of following commands:

      rpm -qa kernel\* gcc dkms make bzip2
       
      uname -a
       
      lsb_release -a
  8. Hi JR (Stetson and big smile?)

    Thanks anyway, I managed to solve the issue by updating dkms and everything is OK now with the guest additions.

  9. Fails on Centos 6.3 (running in VirtualBox on Windows 7). The mount command responds “you must specify the filesystem type”. (Specifying “-t autofs” or “-t iso9660″ give various other failures).

    Devices / Install Guest Additions may not be working right for some reason. It does un-grey the CD icon in the bottom of the window, though (whereas Devices / CD / Remove disk greys it out).

    This is not an initial installation, I’m attempting to upgrade what’s inside the virtual machine in case it matters, after upgrading to 4.2.10 externally.

  10. Very useful.. thanks for writing up!

  11. Thanks, needed to figure out what t was needed to get the virtualbox update on openSuse 12.3 so your part on:

    yum install gcc kernel-devel kernel-headers dkms make bzip2

    solved it

    used yast instead ( kernel-headers not needed)

    thanks

  12. Thanks for these details, very usefull.
    But I’m facing another issue on CentOS 5.6 (after installing dkms, using the link Barry provides), in /var/log/vboxadd-install.log:
    “DKMS: add Completed
    Error! Your kernel headers for kernel 2.6.18-348.6.1.el5xen cannot be found at /lib/modules/2.6.18-348.6.1.el5xen/build or /lib/modules/2.6.18-348.6.1.el5xen/source.
    …”
    and if I run “yum install kernel-headers”:
    “Package kernel-headers-2.6.18-348.6.1.el5.x86_64 already installed and latest version. Nothing to do”

    Any suggestions ?

    • Hi Rico,

      Run following commands and post output here:

      uname -a
       
      ls -la /usr/src/kernels
      • Hi JR,
        Many thanks for your interest in this topic.
        uname -a:
        Linux localhost.localdomain 2.6.18-348.6.1.el5xen #1 SMP Tue May 21 16:10:52 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux

        ls -al /usr/src/kernels:
        drwxr-xr-x 3 root root 4096 juin 2 00:27 .
        drwxr-xr-x 4 root root 4096 juin 3 13:45 ..
        drwxr-xr-x 19 root root 4096 juin 3 13:34 2.6.18-348.6.1.el5-x86_64

        (I hope there is no mistake because I can’t copy/paste)

        • Hi Rico,

          Try following:

          KERN_DIR=/usr/src/kernels/2.6.18-348.6.1.el5-x86_64
           
          ## Export KERN_DIR ##
          export KERN_DIR
           
           
          cd /media/VirtualBoxGuestAdditions
           
          # 32-bit and 64-bit systems run following
          ./VBoxLinuxAdditions.run

          Is it working then?

          • Already done, the result of my first post was running with this environment variable (I also try to put it in .bashrc file)

            • I also try to change the link in /lib/modules/2.6.18-348.6.1.el5xen/build that was not correct to make it works:
              Build -> /usr/src/kernels/2.6.18-348.6.1.el5-x86_64

              The result seems to be a little bit better, but guest additions still not working after running VBoxLinuxAdditions.run:
              Verifying archive integrity… All good
              Uncompressing VirtualBox 4.2.12 Guest Additions for Linux ………
              VirtualBox Guest Additions installer
              Removing installer version 4.2.12 od VirtualBox GuestAdditions …
              Copying additional installer modules …
              Installing additional modules …
              Removing existing VirtualBox DKMS kernel modules [OK]
              Removing existing VirtualBox non-DKMS kernel modules [OK]
              Building the VirtualBox Guest Additions kernel modules [OK]
              Doing non-kernel setup of the Guest Additions [OK]
              Starting the VirtualBox Guest Additions [FAILED]
              (modprobe vboxguest failed)
              Installing the window System drivers
              Installing X.Org 7.1 modules [OK]
              Setting up the Window System to use the Guest Additions [OK]
              You may need to restart the hal service and the window System (or just restart the guest system) to enable the Guest Additions.

              Installing graphics libraries and desktop services componen[OK]

              And if I restart the CentOS machine, it still not work ( can see in boot log that guest additions failed.

              • Could you post output of following command:

                modinfo vboxguest
                • One time again, thanks you JR.
                  modinfo vboxguest :
                  filename: /lib/modules/2.6.18-348.6.1.el5xen/extra/vboxguest.ko
                  version: 4.2.12
                  license: GPL
                  description: Oracle VM VirtualBox Guest Additions for Linux Module
                  author: Oracle Corporation
                  srcversion: 1EDD4C0A2A67D428711D0C7
                  alias: pci:v000080EEd0000CAFEsv00000000sd00000000bc*sc*i*
                  depends:
                  vermagic: 2.6.18-348.6.1.el5 SMP mod_unload gcc-4.1

                  • This looks interesting. This problem might be related to xen kernel version, but could you also try what you get when you try modprobe this module:

                    modprobe vboxguest
                    • modprobe vboxguest
                      FATAL: Error inserting vboxguest (/lib/modules/2.6.18-348.6.1.el5xen/extra/vboxguest.ko): Invalid module format

  13. Hi again Rico,

    I tested this little bit more.

    First do you need that xen kernel what you are using?

    • Hi JR,
      Today, I’m happy. I relaunch all the install procedure from scratch by creating a new VM and the VBox Additions work fine after following step by step your advices.

      So i would like to adress you many and big thanks to you for helping me to do this work.

      • You are very welcome! Excellent to hear that you got it working!

  14. Hi JR,

    Excelent guides, thank you!

    I have a couple of questions:

    1. In your second step you have click Devices > Install Guest Additons; I don’t have a Devices menu in my VirtualBox, only File, Machine and Help.

    2. I have a netbook and don’t have a cdrom drive, so when I type mount -r /dev/cdrom /media/VirtualBoxGuestAdditions I get the error:
    mount: special device /dev/cdrom does not exist

    Thanks again!

    • Hi Jose,

      Thanks!

      1. What version of VirtualBox (check Help > About VirtualBox…) you are running and what operating system you are using? Could you probably post screenshot of your VirtualBox window?

      2. Actually this is your virtual machine /dev/cdrom and it’s not depending on your host machine. So if your netbook doesn’t have cdrom drive (which is normal case nowadays), it’s not problem, because you can add virtual CD/DVD device under Storage options. If you have not removed that device, then it should be there already.

      And when you could click that “Install Guest Additions” (you can also try Host+D command) then you should be able to mount that device with following command:

      mount -r /dev/cdrom /media/VirtualBoxGuestAdditions

      This is probably even auto-mounted (under /media), but I use here just this command because, then path is exactly same even if you run some older version of VirtualBox or if it’s not auto-mounted some reason.

      • Hi JR,

        Thamks for the quick reply!

        I realise now that it was me being dumb. I need to do this in the Virtual Machine, not in the Virtual Box window. I can see the option Devices and Install Guest Additions in the Virtual Machine window.

        Cheers,

        Jose

        • Hi Jose,

          Excellent, really nice to hear that you got VirtualBox Guest Additions installed!

  15. FYI…
    *On a fresh install of CentOS 6.4, without updating kernel…

    `uname -r` reports “2.6.32-358.el6.x86_64″ NOT “2.6.32-358.11.1.el6.x86_64″ (actual path in /usr/src/kernels)

    So, I did additional step:

    ln -s /usr/src/kernels/2.6.32-358.11.1.el6.x86_64/ /usr/src/kernels/2.6.32-358.el6.x86_64

    This also fixes the broken symlinks in /lib/modules/2.6.32-358.el6.x86_64

  16. i get a black screen after fedora 19 loads, after completing all procedure successfully. i don’t see login screen

    • same result – Black Screen Of Death :]
      VB 4.2.12 on Win7ENT64
      Fedora 19 kernel was updated to the latest version 3.9.9-301.fc19.i686.PAE
      trying to upgrade VB to 4.2.16…

  17. Thank you very much. It worked like a charm.

  18. I executed the commands
    root@pal cdrom]# cat /etc/*-release
    CentOS release 5.6 (Final)
    [root@pal cdrom]# KERN_DIR=/usr/src/kernels/`uname -r`-`uname -m`
    [root@pal cdrom]# export KERN_DIR
    [root@pal cdrom]# ./VBoxLinuxAdditions.run
    but I get an error at the end:
    Verifying archive integrity… All good.
    Uncompressing VirtualBox 4.2.12 Guest Additions for Linux…………
    VirtualBox Guest Additions installer
    Removing installed version 4.2.12 of VirtualBox Guest Additions…
    Copying additional installer modules …
    Installing additional modules …
    Removing existing VirtualBox DKMS kernel modules [ OK ]
    Removing existing VirtualBox non-DKMS kernel modules [ OK ]
    Building the VirtualBox Guest Additions kernel modules [ OK ]
    Doing non-kernel setup of the Guest Additions [ OK ]
    You should restart your guest to make sure the new modules are actually used

    Installing the Window System drivers [FAILED]
    (Could not find the X.Org or XFree86 Window System.)
    I’m not sure what
    Window System drivers
    is.
    suggestions?

    • Hi tatiana,

      Do you have server installation?

      VirtualBox Guest Additions try to install some desktop features, like seamless mode, copy and paste, etc. but actually you don’t need those on server installation. If you want it run without errors (and install Window System drivers), then you have to install Xorg first.

  19. While this is likely not an issue for most users, the minimal install of Centos 6 does not include perl, which is (ridiculously) a dependency of the VirtualBox linux additions as of v4.3 and possibly earlier, so you might add perl to your yum install line (only the base modules are required) to be safe.

    • Hi hillct,

      Thanks, excellent addition, guide updated.

  20. Hi!

    Thanks for this guide, it’s helped me install those precious vbox guest additions here on the Retina MBP. ;)

    Just a quick note, on Fedora 20, at least in my case (32bit) I needed this extra bit:
    yum install kernel-PAE-devel

    Some people might be needing it too, the PAE kernel (was somehow installed by default, with 3GB RAM) let’s you use over 4GB on 32bit.

    Unfortunately Linux doesn’t seem to go over 2048×1280 but it’s already huge on a 13″! :)

    Cheers.

  21. Thank you for this guide. I had to add my user to the group vboxsf to gain access to the shared folder with

    gpasswd -a myuser vboxsf

  22. Took me a bit to figure out why I did not have permission to access the shared folder once I got the guest additions installed. (I think the first time I ran it, it may have said something about creating the group, but nothing after I followed this guide and ran the script again.)


    ## Join virtual box shared folder group
    usermod -a -G vboxsf <USERNAME>

  23. Really hoping someone out there can help me trying to install guest additions for Centos 6.5 using version 4.3.6 of VirtualBox, this is the output from the install


    sudo ./VBoxLinuxAdditions.run
    Verifying archive integrity... All good.
    Uncompressing VirtualBox 4.3.6 Guest Additions for Linux............
    VirtualBox Guest Additions installer
    Removing installed version 4.3.6 of VirtualBox Guest Additions...
    Copying additional installer modules ...
    Installing additional modules ...
    Removing existing VirtualBox DKMS kernel modules [ OK ]
    Removing existing VirtualBox non-DKMS kernel modules [ OK ]
    Building the VirtualBox Guest Additions kernel modules
    Building the main Guest Additions module [ OK ]
    Building the shared folder support module [ OK ]
    Building the OpenGL support module [FAILED]
    (Look at /var/log/vboxadd-install.log to find out what went wrong)
    Doing non-kernel setup of the Guest Additions [ OK ]
    Installing the Window System drivers
    Installing X.Org Server 1.13 modules [ OK ]
    Setting up the Window System to use the Guest Additions [ OK ]
    You may need to restart the hal service and the Window System (or just restart
    the guest system) to enable the Guest Additions.
    Installing graphics libraries and desktop services componen[ OK ]

    Contents of log:


    Uninstalling modules from DKMS
    Attempting to install using DKMS

    Creating symlink /var/lib/dkms/vboxguest/4.3.6/source ->
    /usr/src/vboxguest-4.3.6

    DKMS: add completed.

    Kernel preparation unnecessary for this kernel. Skipping...

    Building module:
    cleaning build area...
    make KERNELRELEASE=2.6.32-431.3.1.el6.x86_64 -C /lib/modules/2.6.32-431.3.1.el6.x86_64/build M=/var/lib/dkms/vboxguest/4.3.6/build...........(bad exit status: 2)
    Error! Bad return status for module build on kernel: 2.6.32-431.3.1.el6.x86_64 (x86_64)
    Consult /var/lib/dkms/vboxguest/4.3.6/build/make.log for more information.
    Failed to install using DKMS, attempting to install without
    make KBUILD_VERBOSE=1 CONFIG_MODULE_SIG= -C /lib/modules/2.6.32-431.3.1.el6.x86_64/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
    test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
    echo; \
    echo " ERROR: Kernel configuration is invalid."; \
    echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
    echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
    echo; \
    /bin/false)

    Some environment stuff:

    sudo rpm -qa kernel\* gcc dkms make bzip2
    kernel-firmware-2.6.32-431.3.1.el6.noarch
    bzip2-1.0.5-7.el6_0.x86_64
    kernel-headers-2.6.32-431.3.1.el6.x86_64
    dkms-2.2.0.3-20.el6.noarch
    kernel-2.6.32-358.el6.x86_64
    kernel-devel-2.6.32-431.3.1.el6.x86_64
    kernel-devel-2.6.32-358.el6.x86_64
    gcc-4.4.7-4.el6.x86_64
    kernel-2.6.32-431.3.1.el6.x86_64
    make-3.81-20.el6.x86_64

    uname -a
    Linux localhost.localdomain 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

    lsb_release -a
    LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
    Distributor ID: CentOS
    Description: CentOS release 6.5 (Final)
    Release: 6.5
    Codename: Final

    All help greatly appreciated

    • I had to use the info that brandon posted above
      ln -s /usr/src/kernels/2.6.32-431.3.1.el6.x86_64/ /usr/src/kernels/2.6.32-431.el6.x86_64
      it does not like the extra kernel info 3.1.
      and the fix from
      http://wiki.centos.org/HowTos/Virtualization/VirtualBox/CentOSguest
      Patch for CentOS 6.5 with VBOXADDITIONS_4.3.2/4.3.4
      cd /usr/src/kernels//include/drm/
      ln -s /usr/include/drm/drm.h drm.h
      ln -s /usr/include/drm/drm_sarea.h drm_sarea.h
      ln -s /usr/include/drm/drm_mode.h drm_mode.h
      ln -s /usr/include/drm/drm_fourcc.h drm_fourcc.h

      which is linked from https://forums.virtualbox.org/viewtopic.php?f=3&t=58855

  24. Perfect

  25. Rock On! It worked. Thanks so much.

  26. Hi Barry.

    Try it in command line

    KERN_DIR=/usr/src/kernels/$(uname -r)
    export Kern_DIR

    ./VBoxLinuxAdditions.run

  27. Excellent…worked like a charm for me on Centos 5.4 and VB 4.3.6 R91406

    I had to make one change for the export KERN_DIR to work.
    export KERN_DIR=’/usr/src/kernels/’`uname -r`-`uname -m`

    The closing single quote before first `uname

  28. Thanks very much, this guide saves me!

  29. Awesome! You save my time! Thanks for help guys!

  30. Thank you! This is exactly what I was looking for and so straight-forward! I spent hours last night scouring official install instructions to no avail, and this morning your instructions got it done in minutes!

  31. I was having a number of errors pertaining to OpenGL module getting installed:

    Building OpenGL support module … failed

    I looked into this further from some of the posts in this thread and what helped me was this :

    [snip]
    $ yum whatprovides “*drm/drm.h”
    kernel-devel installed
    kernel-headers installed
    libdrm-devel installed
    [/snip]

    i didn’t have the libdrm-devel package installed. once i installed it…boom. works, thought i’d add this comment for anyone else that encounters this error.

    • Hi TheodoreC,

      Thank you for your input! What host OS you are using?

  32. Hi,

    Have installed centos6.5 on virtual machine, but when restarting the VM the installed gcc/g++ are not found.

    suggestions?

  33. Has anyone of you can tell if the “Fullscreen” mode is functional after applying the procedures described here?

    Thanks in advance.

    • Hi RS,

      Yes, full screen should work after installing VirtualBox Guest Additions.

  34. anyone have this working on CentOS 7?

    has no member named ‘numa_next_reset’

  35. I don’t believe CentOS/RHEL 7 is supported in the current stable Virtualbox release (4.3.12). I run into the same error.

    Apparently this will be solved in 4.3.14, the release candidate is already available and should fix the issue. Unfortunately I need it to be available in the stable branch to make any use of it as I need to provide it for multiple users. Guess we’ll just have to wait for 4.3.12 to reach stable. :-(

  36. hi. i have same issue.please help

    [root@localhost yum.repos.d]# uname -a
    Linux localhost.localdomain 3.11.10-301.fc20.x86_64 #1 SMP Thu Dec 5 14:01:17 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
    [root@localhost yum.repos.d]# rpm -qa kernel\* |sort -V
    kernelshark-2.2.1-3.fc20.x86_64
    kernel-3.11.10-301.fc20.x86_64
    kernel-3.15.6-200.fc20.x86_64
    kernel-debug-3.15.6-200.fc20.x86_64
    kernel-debug-devel-3.15.6-200.fc20.x86_64
    kernel-debug-modules-extra-3.15.6-200.fc20.x86_64
    kernel-devel-3.15.6-200.fc20.x86_64
    kernel-doc-3.15.6-200.fc20.noarch
    kernel-headers-3.15.6-200.fc20.x86_64
    kernel-modules-extra-3.11.10-301.fc20.x86_64
    kernel-modules-extra-3.15.6-200.fc20.x86_64
    kernel-tools-3.15.6-200.fc20.x86_64
    kernel-tools-libs-3.15.6-200.fc20.x86_64
    kernel-tools-libs-devel-3.15.6-200.fc20.x86_64

    • Hi I47,

      Please boot using latest kernel 3.15.6-200.fc20.x86_64, then try again.

  37. Hello, someone could help?

    [root@localhost ~]# service vboxdrv setup
    Stopping VirtualBox kernel modules [ OK ]
    Recompiling VirtualBox kernel modules [FAILED]
    (Look at /var/log/vbox-install.log to find out what went wrong)

    [root@localhost ~]# cat /var/log/vbox-install.log
    Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop.
    Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop.
    Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop.

    uname -r
    3.8.13-35.3.3.el6uek.x86_64

    echo $KERN_DIR
    /usr/src/kernels/2.6.32-431.23.3.el6.x86_64/

    I’m new to Linux.
    Thanks.

Add Comment Register



Leave a Comment

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> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackbacks/Pingbacks

  1. Install VirtualBox 3.2.8 on Fedora 13, CentOS 5.5, Red Hat (RHEL) 6 | If Not True Then False - [...] Groupusermod -a -G vboxusers user_nameStart VirtualBoxUse launcher or simply:VirtualBoxCheck also:Install VirtualBox Guest Additions on Fedora 13, CentOS 5.5, Red …
  2. Инсталяция virtualbox 4 guest additions на centos 5. | Якши Гора - [...] Вот классная ссылка на статью о том как устанавливать virtualbox guest additions на centos 5: Install VirtualBox Guest Additions …
  3. Install VirtualBox Guest Additions on Fedora 16/15, CentOS/RHEL 6/5.7 « Micro Tech Bytes - [...] http://www.if-not-true-then-false.com/2010/install-virtualbox-guest-additions-on-fedora-centos-red-h... Share this:TwitterFacebookLike this:LikeBe the first to like this post. [...]
  4. failed to install vbox addon on Fedora 17 - [...] guys, I'm trying to install virtualbox addon tools on Fedora 17. I'm using this guide http://www.if-not-true-then-false.co...-red-hat-rhel/ …
  5. I am new in Linux OS, NEED HELP IN RED HAT 9 INTERNET CONNECTION WITH VMWARE 9 - [...] Since you also asked about virtualbox-guest-additions, follow this guide: http://www.if-not-true-then-false.co...-red-hat-rhel/ [...]