VM VirtualBox: Guest additions won't install

trevor1940
trevor1940 used Ask the Experts™
on
Hi
I'm trying to test weather Visual Studio Code - Code Editing. Redefined with the Excel Viewer - Visual Studio Marketplace plugin will work under fedora 12  stand alone (No Internet)

I have a fedora 17 running in a VM VirtualBox at home, I know it's the wrong version, but I figured it would be close enough for this test
having tried to install visualstudio code on the stand alone I know it has dependencies  See Here

unfortunately the Firefox  version wont load the above links, Nor experts-exchange.com, I keep getting connection reset errors other pages load like google and stackoverflow

The Guest additions won't install either so I can't access drives on the host machine, a USB drive nor shared clipboard etc
I get error
Guest additions: Kernel headers not found for target kernel 

Open in new window

fedora.JPG
Tried to run
yum update kernel

Error: Cannot retrieve metalink for repository fedora. 

Open in new window



Any Suggestions?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Martyn SpencerSoftware Developer / Linux System Administrator / Managing Director

Commented:
You actually need to install the kernel-headers package. This should be enough.
RAFAIT CONSULTANT
Distinguished Expert 2018

Commented:
Hello

please check the following link:

https://www.tecmint.com/install-virtualbox-guest-additions-in-centos-rhel-fedora/

I remain attentive to your comments.
nociSoftware Engineer
Distinguished Expert 2018

Commented:
The guest additions actually compile some kernel drivers.
To be able to do that it needs the kernel-headers installed. (and compiler etc. those probably are already installed, if not you will get a warning about it).

yum update
yum install kernel-headers

Open in new window


should do that.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
I tried both your suggestions
I'm still getting this error both times

Error: Cannot retrieve metalink for repository fedora. 

Open in new window


@RAFA step of your link  "yum -y install epel-release"
@noci  "yum update"

Author

Commented:
Tried to follow the suggestions here still got same error

Not totally sure if I'm editing the correct file or line

Wondering if it'll be simpler to DL a working VM, ?

16 on
this page is the only 1 with  Guest Additions Installed but when I tried to run it crashed with memory issues
I wasn't able to get anything but a fedora 19 to work in a VM
so I booted and old pc in Fedora 12 of a live CD
I mentioned  visualstudio code  has dependencies it turns out the dependencies  have dependencies  some of which are not available for   Fedora 12
nociSoftware Engineer
Distinguished Expert 2018

Commented:

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial