I'm having difficulty installing Guest Additions 5.2.1 on a Linux Guest, and was hoping to find out where I am going wrong:
My info:
- VirtualBox version: 5.2.0
Guest Additions version: the latest Development snapshot, VBoxGuestAdditions_5.2.1-118868.iso
Host: Mac OS Version 10.11.6
Guest: CentOS 6.9, Red Hat (64-bit)
VM log file: attached
Code: Select all
yum update
Rebooted, then:
Code: Select all
yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
Here's the message I got: "Look at /var/log/vboxadd-setup.log to find out what went wrong"
- In this file I'm seeing messages like: "ERROR: Kernel configuration is invalid."; include/linux/autoconf.h or include/config/auto.conf are missing."; Run 'make oldconfig && make prepare' on kernel src to fix it." but am not sure how to approach this.
- Uninstalling modules from DKMS
/etc/rc.d/init.d/vboxadd: line 256: : No such file or directory
Here's also a brief summary of the overall task I'm having difficulty with, in case that helps: I'm working with an external hard drive that contains 2 data partitions (1 partition contains the VM, the other partition is storing data). In order to access the data partition through the VM, I was given instructions to add my external USB drive to the VM (by going to Ports --> USB --> Enable USB Controller --> select the appropriate USB Device Filter). After following these steps, I'm still not seeing the data mounted in the VM as the expected directory, which leads me to think that perhaps Guest Additions hasn't been correctly installed.
Do you have any thoughts on what might be going on here? Apologies in advance, since I am not very familiar with Linux or VMs in general.
Thank you!