Install Virtualbox Additions on Centos 7 Guest VM

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

Author: Leo Gaggl

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

9 thoughts on “Install Virtualbox Additions on Centos 7 Guest VM”

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

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

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

    this:
    cd /media/cdrom

    Greetings Frank

  3. 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 …

  4. 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