Trouble installing VirtualBox guest additions on Centos 8
Just to preface: I'm pretty new to VirtualBox and Linux, so please bare with me. I just downloaded the CentOS 8 DVD ISO image, installed it on a VM in VirtualBox and it appears to function correctly, minus the guest additions which is supposed to fix mouse/screen issues(?). In the terminal window I have executed the following commands:
sudo yum install gcc sudo yum install make perl sudo yum install kernel-devel sudo yum install elfutils-libelf-devel All of these appear to have completed successfully, and I then attempt to install guest additions and I see the following in the attached image at https://ibb.co/JsnW1ZD. This was my second attempt to install the additions which is why I believe it's saying it's removing the installed version of them. The first time I attempted the same basic errors/information was generated. I've been fighting with this for a good while now and am pretty frustrated. I just want my VM to work so I can learn the OS, and this is super discouraging. I have also attempted to just remove the VM and install again from fresh and end up with the same result. Thanks for any help you guys can provide. |
As the error message says, you need to install kernel headers, i.e. the kernel-headers package. A quick internet search provides several sites with instructions; crucially, you need steps to ensure that it is the right version of kernel-headers.
|
Quote:
I am, however, able to spin up a VM using the exact same ISO in Hyper-V and so far have encountered no issues. It is perhaps worth noting that the issues in VirtualBox(unrelated to the guest additions) didn't start occurring until after I created the VM in Hyper-V, although I'm unsure how the two would be related in this case. |
Haven't tried this one:
https://www.if-not-true-then-false.c...-red-hat-rhel/ However in the past, content from this website has been onpoint. thanks |
Quote:
|
All times are GMT -5. The time now is 04:33 AM. |