Mounting Shared Folders in 3.2.12

Discussions about using Linux guests in VirtualBox.
Post Reply
goakley
Posts: 3
Joined: 6. Dec 2010, 04:14
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.10

Mounting Shared Folders in 3.2.12

Post by goakley »

I am running VirtualBox on Windows 7, with Ubuntu 10.10 as the guest. I was able to mount folders with no problem in version 3.2.10. Then I upgraded to 3.2.12.

The new guest addons were installed. I entered the exact same code (sudo mount -t vboxsf Share /home/glen/Shared ). However, I continually receive the error "/sbin/mount.vboxsf: mounting failed with the error: No such device" I am positive I am using the correct name of the shared folder.

Using lsmod that vboxadd was not running. I eventually found that it was not even on the system! I have no idea how to install it; I have tried reinstalling the guest additions and restarting the guest and host OS multiple times, but nothing works. How can I get the folder to mount? Until I get this working, I can't program.
iamalittlepepper
Posts: 16
Joined: 30. Nov 2010, 00:49
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.10

Re: Mounting Shared Folders in 3.2.12

Post by iamalittlepepper »

Can you see your VBOXADDITIONS_3.2.12_68302 under Nautilus? If not, remember you have to Add VBoxGuestAdditions.iso to the VM, under the settings section in the Host environment.

On Mac it is located here: /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso

Chances are you will need to recompile the Guest Additions?
To recompile the Addons:
If the CD is mounted correctly and you have all the prerequisites pkms etc installed.. then you can just click on the "Open Autorun Prompt" button in Nautilus, reboot, then Bob should be your uncle figuratively speaking of course!

Remember after reboot you need to run the mount -t vboxsf command again.

Refer to here: http://forum.virtualbox.org/viewtopic.php?f=3&t=33369
or my post here http://www.blog.10deam.com/2010/11/29/u ... rs-issues/

PS It seems this version fixed the modules.dep error for me in Ubuntu 10.10, however the SMBust message still persists.
goakley
Posts: 3
Joined: 6. Dec 2010, 04:14
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.10

Re: Mounting Shared Folders in 3.2.12

Post by goakley »

I have VBOXADDITIONS_3.2.12_67302 mounted properly. I made sure to get the three packages (dkms, build-essential and linux-headers-generic). I cannot run VBoxLinuxAdditions-amd64.run as it throws an error that the system is x86. But when I run the x86 installer, I have the same problem of not being able to mount files (device not found). I tried installing the additions from apt-get, but while installing, it threw an error that vboxdrv was already being used by vboxguest. I cannot run rmmod on vboxguest, because it is constantly in use. What can I do about this, if it will even solve my problem at all?
iamalittlepepper
Posts: 16
Joined: 30. Nov 2010, 00:49
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.10

Re: Mounting Shared Folders in 3.2.12

Post by iamalittlepepper »

Just to make sure you didn't miss the obvious are you running it under sudo?

The Apt-get additions are for OSE, so there are things missing.
goakley wrote:I have VBOXADDITIONS_3.2.12_67302 mounted properly. I made sure to get the three packages (dkms, build-essential and linux-headers-generic). I cannot run VBoxLinuxAdditions-amd64.run as it throws an error that the system is x86. But when I run the x86 installer, I have the same problem of not being able to mount files (device not found). I tried installing the additions from apt-get, but while installing, it threw an error that vboxdrv was already being used by vboxguest. I cannot run rmmod on vboxguest, because it is constantly in use. What can I do about this, if it will even solve my problem at all?
goakley
Posts: 3
Joined: 6. Dec 2010, 04:14
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.10

Re: Mounting Shared Folders in 3.2.12

Post by goakley »

It doesn't let me not use sudo. Maybe the install is somehow incomplete or something, I don't know.
iamalittlepepper
Posts: 16
Joined: 30. Nov 2010, 00:49
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.10

Re: Mounting Shared Folders in 3.2.12

Post by iamalittlepepper »

another alternative you can do is to just copy VBoxLinuxAdditions-x86.run from the CD to say your user directory and run from there.

Here is is a picture of my Ubuntu installation, if you just click on Open Autorun Prompt it would have installed the extensions automatically

Image
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Mounting Shared Folders in 3.2.12

Post by Perryg »

Post Reply