VBoxControl Error while getting the shared folder mappings

Discussions about using Linux guests in VirtualBox.
Post Reply
chris_x
Posts: 1
Joined: 22. Nov 2012, 11:27

VBoxControl Error while getting the shared folder mappings

Post by chris_x »

Hi
I'm encountering this failure whilst trying to configure/mount shared folders in my Linux guest. The details are as follows:

Host: Ubuntu 12.04 LTS Precise
Guest: CentOS 4.9
VirtualBox 4.2.4 r81684

Guest additions in the CentOS Linux guest seem to be installed fine. Reinstalling for illustration reports the following:

# sh ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.2.4 Guest Additions for Linux..........
VirtualBox Guest Additions installer
Removing installed version 4.2.4 of VirtualBox Guest Additions...
Removing existing VirtualBox DKMS kernel modules [ OK ]
Removing existing VirtualBox non-DKMS kernel modules [ OK ]
Building the VirtualBox Guest Additions kernel modules [ OK ]
Doing non-kernel setup of the Guest Additions [ OK ]
You should restart your guest to make sure the new modules are actually used

Installing the Window System drivers
Installing XFree86 4.2/4.3 and XOrg 6.7/6.8 modules [ OK ]
Setting up the Window System to use the Guest Additions [ OK ]
You may need to restart the hal service and the Window System (or just restart
the guest system) to enable the Guest Additions.

Installing graphics libraries and desktop services componen[ OK ]
#

However the shared folders exported by the host fail to be visible to the guest:

# VBoxControl sharedfolder list
Oracle VM VirtualBox Guest Additions Command Line Management Interface Version 4.2.4
(C) 2008-2012 Oracle Corporation
All rights reserved.

VBoxControl: error: Error while getting the shared folder mappings, rc = VERR_INVALID_PARAMETER

Hence it is not possible to mount any of the shared folders and as expected receive this error if I try:
/sbin/mount.vboxsf: mounting failed with the error: Protocol error

I have a very similar setup on another machine, and here the shared folders in the CentOS guest are working fine:
Host: OpenSUSE 11.2
Guest: CentOS 4.8
VirtualBox 3.1.2 r56127

Any helping tracking down the problem and explaining the VBoxControl error would be welcome!

Many thanks

Chris
Post Reply