Guest Additions installation problem

Discussions about using Linux guests in VirtualBox.
Post Reply
ahaider7
Posts: 5
Joined: 1. Oct 2010, 11:32
Primary OS: MS Windows 8
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Fedora, Ubuntu

Guest Additions installation problem

Post by ahaider7 »

Hi guyz,

I have installed Fedora 13 as a guest OS in virtualbox, on a windows host. I need to share files between host and the guest. For this purpose, i first tried to install Guest Additions in linux but I am stuck at this step.

While installing the Guest Additions, I get this message

Code: Select all

Building the VirtualBox Guest Additions kernel modules     [FAILED]
Your system does not seem to be set up to build kernel modules.
Look at /var/log/vboxadd-install.log to find out what went wrong.  Once you have corrected it, you can
run

  /etc/init.d/vboxadd setup

to build them.
Doing non-kernel setup of the Guest Additions              [  OK  ]
Looking at the file /var/log/vboxadd-install.log, here is the error message

Code: Select all

Makefile:23: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again..  Stop.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
How can I remove this error. I have these packages already installed (all of same version)
kernel
kernel-devel
kernel-headers
fixedwheel
Volunteer
Posts: 1699
Joined: 13. Sep 2008, 02:18

Re: Guest Additions installation problem

Post by fixedwheel »

ahaider7
Posts: 5
Joined: 1. Oct 2010, 11:32
Primary OS: MS Windows 8
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Fedora, Ubuntu

Re: Guest Additions installation problem

Post by ahaider7 »

fixedwheel wrote:its all in the Forums HowTo
I am already following this guide but my problem is not mentioned there. I have no issue with X server, rather I am stuck at stage of Install the GA.
fixedwheel
Volunteer
Posts: 1699
Joined: 13. Sep 2008, 02:18

Re: Guest Additions installation problem

Post by fixedwheel »

post the output of:

Code: Select all

rpm -qa|grep kernel
ahaider7
Posts: 5
Joined: 1. Oct 2010, 11:32
Primary OS: MS Windows 8
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Fedora, Ubuntu

Re: Guest Additions installation problem

Post by ahaider7 »

fixedwheel wrote:post the output of:

Code: Select all

rpm -qa|grep kernel
Thanks for you help. Here it the output

Code: Select all

abrt-addon-kerneloops-1.1.13-2.fc13.i686
kernel-2.6.34.7-56.fc13.i686
kernel-devel-2.6.34.7-56.fc13.i686
kernel-PAE-2.6.33.3-85.fc13.i686
kernel-headers-2.6.34.7-56.fc13.i686
kernel-PAE-2.6.34.7-56.fc13.i686
fixedwheel
Volunteer
Posts: 1699
Joined: 13. Sep 2008, 02:18

Re: Guest Additions installation problem

Post by fixedwheel »

... and please:

Code: Select all

uname -r
i think you are running one of:
kernel-PAE-2.6.33.3-85 (no matching ...-headers and ...-devel package)
... or kernel-PAE-2.6.34.7-56 (no matching kernel-PAE-devel package)

anyway, just do:

Code: Select all

yum install kernel-PAE-devel
if you are running the 2.6.33 PAE kernel: reboot; otherwise go ahead w/ the next try to install GA
ahaider7
Posts: 5
Joined: 1. Oct 2010, 11:32
Primary OS: MS Windows 8
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Fedora, Ubuntu

Post by ahaider7 »

Thanx a lot man. Installing kernel-PAE-devel does the job. Guest Additions is successfully installed.

But my problem is still not solved completely :( . Next step is mounting the shared folder in linux host. I tried the command

Code: Select all

mount -t vboxsf share /mnt/win
but it results in

Code: Select all

/sbin/mount.vboxsf: mounting failed with the error: Protocol error
Any Idea whats going on?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Guest Additions installation problem

Post by Sasquatch »

The error is noted in my Howto: Use Shared Folders. It can also mean that you're trying to share a private folder, like My Documents or your profile folder and that Windows is not allowing access. Share a different folder, like a subfolder.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
ahaider7
Posts: 5
Joined: 1. Oct 2010, 11:32
Primary OS: MS Windows 8
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Fedora, Ubuntu

Re: Guest Additions installation problem

Post by ahaider7 »

Thanx. I found it was naming problem.
Post Reply