enable VirtualBox Guest Additions problems

Issues related to applications and software problems and general support
Post Reply
eric2kwok
Posts: 13
Joined: 2015/10/23 16:16:04

enable VirtualBox Guest Additions problems

Post by eric2kwok » 2020/05/18 09:49:10

I tried many tutorial in Google search, but all doesn't work. The screen still remain the original size and can not enlarge the windows size.
I installed dkms, epel-release, kernel-devel, kernel-headers and so many rpm packages.
guest OS: CentOS 6.10 64bit
host OS: Windows 10 64bit

Anyone know how to solve this issue, that would be grateful.

Many thanks again!

eric2kwok
Posts: 13
Joined: 2015/10/23 16:16:04

Re: enable VirtualBox Guest Additions problems

Post by eric2kwok » 2020/05/18 15:36:29

Host: Microsoft Windows 10 64bit
Guest: CentOS 8.1 Build: 1911
VirtualBox 6.1.8 Latest Version

I followed this page (https://linuxconfig.org/virtualbox-inst ... n-redhat-8) to proceed the guest addition for my Linux guest.

When I finished the installation, I tried the followings command to enable the virtual box guest addition.
dnf -y install epel-release
dnf -y install dkms
I click on the Devices menu and select Insert Guest Additions CD image...
su -c 'sh VBoxLinuxAdditions.run'
Password:
Verifying archive integrity ... All good.
Uncompressing VirtualBox 6.1.8 Guest Additions for Linux.........
VirtualBox Guest Additions installer
Removing installed version 6.1.8 of VirtualBox Guest Additions...
Copying additional modules ...
Installing additional modules ...
VirtualBox Guest Additions Starting.
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules. This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel 4.18.0-147.8.1.el8_1.x86_64.
ValueError: File context for /opt/VBoxGuestAdditions-6.1.8/other/mount.vboxsf already defined
VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted

I rebooted the guest os, still remain the same, nothing changed. Any suggestion will be workable are also welcome!

lsmod | grep vbox
vboxvideo 45056 0
drm_kms_helper 217088 2 vmwgfx, vboxvideo
ttm 110592 2 vmwgfx, vboxvideo
drm 524288 7 vmwgfx, drm_kms_helper, vboxvideo, ttm
vboxguest 385024 3

If I provided not good enough information, please let me know. I will re-post again.
Many thanks!

HenrykD
Posts: 75
Joined: 2011/01/14 06:09:52
Location: Poland

Re: enable VirtualBox Guest Additions problems

Post by HenrykD » 2020/05/19 17:07:35


Post Reply