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
sudo yum groupinstall "Development Tools"
sudo yum install kernel-devel
sudo mkdir /media/cdrom/
sudo mount /dev/cdrom /media/cdrom/
sudo ./VBoxLinuxAdditions.run
Working, thanks!
Cool tip, all that we need and without mumble
Just tried today with 4.3.26 and it did not work. The development tools installed fine, but the VBoxLinuxAdditions.run failed.
Mr Gaggl,
Thanks, needed this.
Thanks, Leo! Just what I was looking for. I did notice that my directory didn’t auto change after mounting the cdrom, so my run command became:
sudo /media/cdrom/VBoxLinuxAdditions.run
This worked great. Probably would be good to include the unmount command as well! :)
Working, thanks!
Thanks, work great. You have to insert one line:
after:
sudo mount /dev/cdrom /media/cdrom/
this:
cd /media/cdrom
Greetings Frank
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 …
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