Page 1 of 2
CentOS 7 Guest Additions Installed but Not Working
Posted: 25. Feb 2015, 22:31
by QCesarJr
Hello All,
I'm using CentOS 7 CLI only. My issues is that after finally getting the VirtualBox Guest Additions installed, they won't work. I'm still getting a tiny screen and can't auto-resize the display, can't use seamless mode, etc. I've reinstalled them, but still no dice. I'm running 4.3.22, and the version of the Guest Additions is 4.3.22 r98236. Any help?
Also: Miscellaneous install details below.
I had to add the EPEL Repository for version 7 in order to install DKMS, though gcc and kernel-devel did install without any issues.
Next, I learned that I had to manually mount the Additions .iso as automount is disabled.
Also, even though a "yum search installed bzip2" showed the bzip2 package was installed, I would continuously get "This does not look like a tar archive" errors when installing the VBoxAdditions. So, I installed bzip2 again, and the install succeeded.
And finally, I did indeed remove the built-in VBoxGuestAdditions.
Not too bad for my first day actually using linux for more than an "ls"

But I'm still stuck
I appreciate any help.
Re: CentOS 7 Guest Additions Installed but Not Working
Posted: 25. Feb 2015, 23:38
by Perryg
Re: CentOS 7 Guest Additions Installed but Not Working
Posted: 25. Feb 2015, 23:58
by QCesarJr
Thanks for the response. Unfortunately, that is step by step what I did. Except, I already had a most of those packages installed with the exeption of gcc and dkms.
So, I guess we're still at square one :/
Re: CentOS 7 Guest Additions Installed but Not Working
Posted: 26. Feb 2015, 00:06
by Perryg
Post the guests log file ( as an attachment )
As well as the /var/log/vboxadd-install.log from the guest
Re: CentOS 7 Guest Additions Installed but Not Working
Posted: 26. Feb 2015, 00:12
by QCesarJr
Here they are.
And, thanks for the help.
Re: CentOS 7 Guest Additions Installed but Not Working
Posted: 26. Feb 2015, 00:24
by Perryg
00:00:02.134334 File system of 'C:\Users\ghyquin\VirtualBox VMs\CentOS7\CentOS7.vmdk' is ntfs
Why is the guest in vmdk and not the native vdi? Was this an import or pre-made image?
Re: CentOS 7 Guest Additions Installed but Not Working
Posted: 26. Feb 2015, 00:32
by QCesarJr
Neither. I use vSphere as well and may end up throwing this up onto an ESXi host.
Re: CentOS 7 Guest Additions Installed but Not Working
Posted: 26. Feb 2015, 00:35
by Perryg
According to the log file and install log everything is as it should be. What exactly does not work?
I am installing centos 7.0.1 now to see what happens but anything that you can add now will help to run this down.
Re: CentOS 7 Guest Additions Installed but Not Working
Posted: 26. Feb 2015, 00:47
by QCesarJr
The two things particularly bugging me right now are Auto-resize Guest Display and Seamless Mode are both greyed out.
I just noticed this in the VBox.log file:
0:00:10.684386 Guest Additions capability report: (0x0 -> 0x0) seamless: no, hostWindowMapping: no, graphics: no
It might be nothing. But, I don't know.
Also, my install is absolutely fresh. The only thing I've done after install was install the VirtualBox Guest Additions.
Re: CentOS 7 Guest Additions Installed but Not Working
Posted: 26. Feb 2015, 00:57
by Perryg
OK my install should be finished here in a bit and then we shall see.
Re: CentOS 7 Guest Additions Installed but Not Working
Posted: 26. Feb 2015, 01:48
by Perryg
Good news and some bad news.
My install works fine with auto-resize and full screen (host-F), but it looses the DT when going in and out of seamless (host-L)
I don't use seamless so I couldn't tell you if it ever worked properly or when it did. I do know it has been flaky for as long as I can remember.
So if I were to try to fix this I would remove the installed GAs and reboot then install them again and watch the terminal closely for any error message. If you see any you need to post the exact message.
Oh and I did see one other thing. For some reason the mouse pointer was invisible on the login screen on my install, but it works as designed when it is logged in. I have not looked at why and probably will not and instead pass the information up a level.
Re: CentOS 7 Guest Additions Installed but Not Working
Posted: 26. Feb 2015, 20:30
by QCesarJr
Okay. I'll try removing, rebooting, THEN reinstalling.
If that doesn't work, I'll create a new VM and document my install step by step to post here.
Thanks for the help.
Re: CentOS 7 Guest Additions Installed but Not Working
Posted: 26. Feb 2015, 20:57
by Perryg
One note. You don't have to install dkms to get it to work, but it helps when kernels get updated.
I would leave it off for now and if it works I would install the file from original source.
http://linux.dell.com/dkms/
That way you don't need any other repos in your guest than necessary and when you have it installed just run the following:
Re: CentOS 7 Guest Additions Installed but Not Working
Posted: 28. Feb 2015, 02:15
by QCesarJr
Alright. I'm back.
I reinstalled CentOs 7.
I performed the following actions:
yum install gcc
yum install kernel-devel
yum install bzip2
yum update
reboot
mount /dev/sr0 /mnt
cd /mnt
./VBoxLinuxAdditions.run
And, for kicks:
umount -f /dev/sr0
mount -t vboxsf Downloads /mnt
All success. Still can't get a decent resolution to display other than the stock tiny screen. Same options still greyed out. I tried selecting my Downloads folder in Windows 7 as a Shared Folder. I get a "mounting failed with the error: No such device", but my guess is that it's something I'm doing wrong and Shared Folder probably DOES work.
This, in turn, makes me think it's particularly something with the following line (which I'm still getting in this new install):
Guest Additions capability report: (0x0 -> 0x0) seamless: no, hostWindowMapping: no, graphics: no
Any other suggestions?
Re: CentOS 7 Guest Additions Installed but Not Working
Posted: 28. Feb 2015, 02:22
by Perryg
Below are the packages to install
Code: Select all
yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
What version of VirtualBox are you using?