1、下载额外的安装包
安装包
管理-全局设定-扩展-加上下载的扩展包即可
2、升级安装包
yum update -y
yum -y groupinstall "Development Tools"
3、升级内核
yum update kernel -y
yum install kernel-headers kernel-devel gcc make -y
4、删除旧版的内核
rmp -qa|grep kernel
yum remove -y kernel....
5、安装依赖包
yum install elfutils-libelf-devel -y
6、挂载并编译增强工具
cd /run/media/root/VBox_GAs_6.1.16
./VBoxLinuxAdditions.run
7、报错汇总
下面的问题可通过上面的步骤解决
1、Vboxclient: the virtualbox kernel service is not running exiting
2、Value Error File context for /opt/VBoxGuestAdditions-6.1.2/other/mount.vboxsf already defined
3、Failed to create a proxy device for the USB device VERR_PDM_NO_USB_PORTS