Share folder could not be mounted

Discussions related to using VirtualBox on Linux hosts.
Post Reply
joelding
Posts: 4
Joined: 28. Jan 2009, 05:13

Share folder could not be mounted

Post by joelding »

Hello,

My environment :
1. Host : Ubuntu 8.04 / VirtualBox 2.12
2. Guest : Redhat 9

After installing "VirtualBox Guest Additions", I still couldn't mount a share folder.

I saw messages:
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/misc/vboxadd.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/misc/vboxvfs.o
Successfully installed the VirtualBox Guest Additions.

It showed clearly: the kernel modules depend on something that I did not install when the guest operating system Redhat 9 was installed.

I tried modprobe to see further into the problem:
# modprobe vboxvfs
/lib/modules/2.4.20-8/misc/vboxadd.o: unresolved symbol vunmap
/lib/modules/2.4.20-8/misc/vboxadd.o: insmod /lib/modules/2.4.20-8/misc/vboxadd.o failed
/lib/modules/2.4.20-8/misc/vboxadd.o: insmod vboxvfs failed

I also tried modinfo to see the dependencies of vboxadd.o and vboxvfs.o. Not much useful info was revealed.

Could any ladies or gentlemen tell me how to solve those "unresolved symbol"? What other rpm should I add to my guest operating system?

Warm regards,
Joel Ding
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

Post by Sasquatch »

I have a feeling that your kernel is just too old. As per manual, it notes which distro's are officially supported by the GA. The kernel those distro's use, are all 2.6.x versions. You use 2.4.x, which is really old (though there are some maintenance releases every now and then and it's at release 2.4.37 or so). I recommend that you install a newer kernel, 2.6.x preferred.
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.
joelding
Posts: 4
Joined: 28. Jan 2009, 05:13

Post by joelding »

So did I read the statement of "limited support".
:(
Now I have a workaround : use SFTP over Host Interface. If the host is Windows, WinSCP is a choice. If the host is Linux, sftp is a choice. As long as the guest OS allows SSH connection and host & guest can ping each other, SFTP protocol can be applied to put/get files between host and guest.
joelding
Posts: 4
Joined: 28. Jan 2009, 05:13

Yet another way to share folders

Post by joelding »

While using Linux as a host and a guest, you can, of coarse, use NFS to share folders. For example, you enable Linux guest as an NFS server, and use Linux host as an NFS client. NFS server can open up a folder, while NFS client mounts that folder.

To enable Linux host as an NFS client, please refer to
http://www.cyberciti.biz/tips/ubuntu-li ... share.html
Post Reply