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:
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.
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.
thank you very much!!! it is very well!!
ReplyDelete