Wednesday, June 17, 2015

Configure OLS 7.1 with Virtual Box with Guest Additions

When you try to mount a device, or share a folder in your VM, you got an unknow device error, that's because the kernel headers are incompatibles

The solution is update the system:

yum -y update kernel
yum -y install kernel-devel kernel-headers dkms gcc gcc-c++
Reboot the system.


Then Re-run the command VBoxLinuxAdditions.run

All the shared folder are under /media/ with the prefix sf_<folder>

If you don't have access to your shared folder, add the OS user to the virtual-box group,

therefore you will get access to your resource.

The commands:

gpasswd -a your_user_name vboxsf

groups your_user_name

Reboot.


1 comment: