[Solved] Unable to install Guest additions on Centos

Discussions about using Linux guests in VirtualBox.

[Solved] Unable to install Guest additions on Centos

Postby Centos74 » 14. Nov 2017, 14:29

Dear Guys,

I'm having extremely hard time to install Guest Additions on Centos 7.4.

Host Operating System = Windows 7 Enterprise

Guest Operating System =CentOS 7.4

I'm getting error message like below when I run

Code: Select all   Expand viewCollapse view
[root@crashnburn VBox_GAs_5.2.1]# pwd
/run/media/jim/VBox_GAs_5.2.1
[root@crashnburn VBox_GAs_5.2.1]# ./VBoxLinuxAdditions.run


And I get error like below in setup log file

Code: Select all   Expand viewCollapse view

echo >&2 "  ERROR: Kernel configuration is invalid.";      \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";   


Therefore as per recommendation I did make oldconfig and make prepare but I'm getting error there too

Code: Select all   Expand viewCollapse view
[root@crashnburn 3.10.0-693.5.2.el7.x86_64]# pwd
/usr/src/kernels/3.10.0-693.5.2.el7.x86_64
[root@crashnburn 3.10.0-693.5.2.el7.x86_64]# make oldconfig && make prepare
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
make[1]: *** No rule to make target `arch/x86/syscalls/syscall_32.tbl', needed by `arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h'.  Stop.
make: *** [archheaders] Error 2
[root@crashnburn 3.10.0-693.5.2.el7.x86_64]#



Version of Guest OS below:

Code: Select all   Expand viewCollapse view
[root@crashnburn 3.10.0-693.5.2.el7.x86_64]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
[root@crashnburn 3.10.0-693.5.2.el7.x86_64]#


So, I'm getting tired and wondering how to get guest additions installed !

Your help would be greatly appreciated.

Thanks !
Centos74
 
Posts: 3
Joined: 14. Nov 2017, 14:13

Re: Unable to install Guest additions on Centos

Postby mpack » 14. Nov 2017, 14:33

This is "Windows Hosts", not the obvious place to look for Linux expertise. Perhaps you should ask about Linux Guests in the "Linux Guests" forum? Moving you there now.
mpack
Site Moderator
 
Posts: 25470
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Unable to install Guest additions on Centos

Postby Centos74 » 14. Nov 2017, 14:45

mpack wrote:This is "Windows Hosts", not the obvious place to look for Linux expertise. Perhaps you should ask about Linux Guests in the "Linux Guests" forum? Moving you there now.


Thank you Sir. I thought it is categorised as per Host OS. My apologies and thanks in advance !
Centos74
 
Posts: 3
Joined: 14. Nov 2017, 14:13

Re: Unable to install Guest additions on Centos

Postby mpack » 14. Nov 2017, 18:54

Well I hope the "thanks in advance" isn't anticipating help from me, because I'm not a Linux user. You'll have to wait and see if a Linux expert comes along.

In the meantime all I can tell you is :

  1. Make sure you're using the latest test GAs on the download page (note to future readers: this is because of a specific bug in 5.2.0. In future you don't go looking for GAs, they are bundled with the main download).
  2. Read the sections in the user manual dealing with installing Linux GAs.
mpack
Site Moderator
 
Posts: 25470
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Unable to install Guest additions on Centos

Postby Centos74 » 15. Nov 2017, 04:45

Mate ! Thank you so much !! Using new GA all worked like a charm !

This thread can be now resolved.

Cheers
Centos74
 
Posts: 3
Joined: 14. Nov 2017, 14:13

Re: [Solved] Unable to install Guest additions on Centos

Postby mpack » 15. Nov 2017, 11:04

Thanks for reporting back.
mpack
Site Moderator
 
Posts: 25470
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP


Return to Linux Guests

Who is online

Users browsing this forum: Google [Bot] and 8 guests