Install dependencies

sudo yum groupinstall "Development Tools"
sudo yum install kernel-devel

Mount the Virtualbox Additions CD ISO

sudo mkdir /media/cdrom/
sudo mount /dev/cdrom /media/cdrom/
sudo ./VBoxLinuxAdditions.run

Leo Gaggl

ict business owner specialising in mobile learning systems. interests: sustainability, internet of things, ict for development, open innovation, agriculture

This Post Has 9 Comments

  1. Dan

    Working, thanks!

  2. Svyatoslav

    Cool tip, all that we need and without mumble

  3. Andrew

    Just tried today with 4.3.26 and it did not work. The development tools installed fine, but the VBoxLinuxAdditions.run failed.

  4. Simon Bruce

    Mr Gaggl,

    Thanks, needed this.

  5. Frank

    Thanks, work great. You have to insert one line:

    after:
    sudo mount /dev/cdrom /media/cdrom/

    this:
    cd /media/cdrom

    Greetings Frank

  6. buntklicker

    My CentOS 7 server with no UI wouldn’t auto-mount the CD, so I had to do that manually:

    $ sudo su –
    # mount /dev/sr0 /mnt
    # cd /mnt
    # ./VBoxLinuxAdditions.run

    Umounting is unnecessary because you want to reboot after installation anyway …

  7. Brener

    I tried all the possibilities above and still can not proceed with the installation. Can someone please help me? I tried to mount the CD manually as @bundklicker said but with no efforts too. In this case I get the message: no medium fun on /dev/sr0

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.