Install gcc, gcc make and update all the packages.
yum -y install gcc
yum -y install gcc make
yum update -y
run the guest additions software
If it prompts to fix devel then run below command.
yum -y install kernel-uek-devel-‘uname -r’
After it is successful run below command to complete the setup.
/sbin/rcvboxadd setup
You may run into below error
ValueError: File context for /opt/VBoxGuestAdditions-6.1.22/other/mount.vboxsf already defined
To Fix the above error : Run on host machine.
semanage fcontext -d /opt/VBoxGuestAdditions-<
VERSION
>/other/mount.vboxsf
restorecon /opt/VBoxGuestAdditions-<
VERSION
>/other/mount.vboxsf
Then
/sbin/rcvboxadd setup
No comments:
Post a Comment