1. Install either the CentOS 6 or the CentOS 7 minimal server version that ships with no GUI in a VirtualBox 5.1.8 VM
2. yum install epel-release
3. yum install kernel-devel make gcc perl bzip2 xorg-x11-server-Xorg xorg-x11-xinit xorg-x11-drv-evdev icewm
4. Attach Guest Additions ISO via the VirtualBox GUI
5. mkdir -p /media/cdrom
6. mount /dev/cdrom /media/cdrom
7. /media/cdrom/VBoxLinuxAdditions.run
Everything builds successfully. No errors, nothing. All good so far.
8. reboot
9. lsmod | grep vbox
Code: Select all
vboxsf
vboxguest
Code: Select all
/usr/sbin/VBoxService --pidfile /var/run/vboxadd-service.sh
11. On CentOS 6
Code: Select all
find /lib/modules | grep vboxvideo
/lib/modules/2.6.32-642.6.2.el6.x86_64/misc/vboxvideo.ko
insmod /lib/modules/2.6.32-642.6.2.el6.x86_64/misc/vboxvideo.ko
insmod: error inserting '/lib/modules/2.6.32-642.6.2.el6.x86_64/misc/vboxvideo.ko': -1 Invalid parameters
Code: Select all
find /lib/modules | grep vboxvideo
/lib/modules/3.10.0-327.36.3.el7.x86_64/misc/vboxvideo.ko
insmod /lib/modules/3.10.0-327.36.3.el7.x86_64/misc/vboxvideo.ko
insmod: ERROR: could not insert module /lib/modules/3.10.0-327.36.3.el7.x86_64/misc/vboxvideo.ko: Invalid parameters
Can anyone help me out here?