[Solved] Guest Additions On RedHat Enterprise Server 7.4

Discussions about using Linux guests in VirtualBox.
Post Reply
MacTerryH
Posts: 5
Joined: 9. Dec 2017, 15:22

[Solved] Guest Additions On RedHat Enterprise Server 7.4

Post by MacTerryH »

The Guest Additions Fail To Install, Running The Latest Virtualbox For Mac With RedHat Enterprise Server 7.4 !
What To Do ? Can I Force The Install, As Mouse Integration Is Failing !
Thanks,
MacTerryH
Last edited by socratis on 4. Jan 2018, 07:17, edited 1 time in total.
Reason: Marked as [Solved].
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Guest Additions On RedHat Enterprise Server 7.4

Post by socratis »

Moving to "Linux Guests" from "OSX Hosts" since the problem is with your Linux guest.

Please be specific about the error messages. "I get an error" is not descriptive enough. What fails? At what point? What are the *exact* error messages?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
MacTerryH
Posts: 5
Joined: 9. Dec 2017, 15:22

Re: Guest Additions On RedHat Enterprise Server 7.4

Post by MacTerryH »

Install starts but fails with the message “can not start services” !
MacTerryH
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Guest Additions On RedHat Enterprise Server 7.4

Post by socratis »

@MacTerryH
Please include the input/output of the whole process. We can't make heads or tails from your description. It's still too vague and too short to understand what exactly failed.

And remember, this is not Twitter, you can use more than 140 characters to describe if full detail the situation... ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
MacTerryH
Posts: 5
Joined: 9. Dec 2017, 15:22

Re: Guest Additions On RedHat Enterprise Server 7.4

Post by MacTerryH »

This Is What I See :
Verifying archive integrity... All good
Uncompressing VirtualBox 5.1.30 Guest Additions for Linux...........
Removing installed version 5.1.30 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
vbocadd.sh : Starting the VirtualBox Guest Additions.
Failed to set up service vboxadd, please check the log file
/var/log/VBoxGuestAdditions.log for details.
Press Return to close this window...
I don't understand how to get to the log files. Tried in the Terminal , Says file Not Found

MacTerryH
Last edited by socratis on 10. Dec 2017, 16:41, edited 1 time in total.
Reason: Enclosed the information in [pre] tag for better readability
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Guest Additions On RedHat Enterprise Server 7.4

Post by socratis »

Please check again. The file's name and location are pretty standard. If you can't find it from the Terminal, try the equivalent of a File manager.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
MacTerryH
Posts: 5
Joined: 9. Dec 2017, 15:22

Re: Guest Additions On RedHat Enterprise Server 7.4

Post by MacTerryH »

This Is What I See :
/tmp/vbox.0/Makefile.include.header:112: *** Error: Unable to find the sources of your current Linux kernel.
Specify KERN_DIR=<directory> and runMake again. Stop.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.

That's All The Log Shows

MacTerryH
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Guest Additions On RedHat Enterprise Server 7.4

Post by socratis »

MacTerryH wrote:Error: Unable to find the sources of your current Linux kernel.
That means that you need to install the kernel sources, mainly the headers. Please read Ch. 4.2. Installing and Maintaining Guest Additions and install the necessary components with:
  • dnf install gcc binutils kernel-headers-$(uname -r) kernel-devel-$(uname -r) dkms make bzip2 perl
    
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
MacTerryH
Posts: 5
Joined: 9. Dec 2017, 15:22

Re: Guest Additions On RedHat Enterprise Server 7.4

Post by MacTerryH »

Thank You, The Guest Additions Are Now Installed, However I Had To Substitute The dnf With yum, As The Original Command You Gave Me Showed A command not found error !!

Again, Thank You,

MacTerryH
Post Reply