CentOS 7 Guest Additions Installed but Not Working

Discussions about using Linux guests in VirtualBox.
QCesarJr
Posts: 9
Joined: 24. Jan 2014, 20:41

CentOS 7 Guest Additions Installed but Not Working

Post 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" :D But I'm still stuck :(

I appreciate any help.
Last edited by Perryg on 25. Feb 2015, 23:37, edited 1 time in total.
Reason: removed unnecessary markup.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: CentOS 7 Guest Additions Installed but Not Working

Post by Perryg »

viewtopic.php?f=29&t=15679

Us the Fedora example.
QCesarJr
Posts: 9
Joined: 24. Jan 2014, 20:41

Re: CentOS 7 Guest Additions Installed but Not Working

Post by QCesarJr »

Perryg wrote:viewtopic.php?f=29&t=15679

Us the Fedora example.
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 :/
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: CentOS 7 Guest Additions Installed but Not Working

Post by Perryg »

Post the guests log file ( as an attachment )

As well as the /var/log/vboxadd-install.log from the guest
QCesarJr
Posts: 9
Joined: 24. Jan 2014, 20:41

Re: CentOS 7 Guest Additions Installed but Not Working

Post by QCesarJr »

Here they are.

And, thanks for the help.
Attachments
vboxadd-insall.log.txt
(1.5 KiB) Downloaded 605 times
VBox.log.txt
(60.46 KiB) Downloaded 387 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: CentOS 7 Guest Additions Installed but Not Working

Post 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?
QCesarJr
Posts: 9
Joined: 24. Jan 2014, 20:41

Re: CentOS 7 Guest Additions Installed but Not Working

Post by QCesarJr »

Neither. I use vSphere as well and may end up throwing this up onto an ESXi host.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: CentOS 7 Guest Additions Installed but Not Working

Post 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.
QCesarJr
Posts: 9
Joined: 24. Jan 2014, 20:41

Re: CentOS 7 Guest Additions Installed but Not Working

Post 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.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: CentOS 7 Guest Additions Installed but Not Working

Post by Perryg »

OK my install should be finished here in a bit and then we shall see.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: CentOS 7 Guest Additions Installed but Not Working

Post 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.
QCesarJr
Posts: 9
Joined: 24. Jan 2014, 20:41

Re: CentOS 7 Guest Additions Installed but Not Working

Post 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.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: CentOS 7 Guest Additions Installed but Not Working

Post 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:

Code: Select all

sudo /etc/init.d/vboxadd setup
QCesarJr
Posts: 9
Joined: 24. Jan 2014, 20:41

Re: CentOS 7 Guest Additions Installed but Not Working

Post 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?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: CentOS 7 Guest Additions Installed but Not Working

Post 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?
Post Reply