How to mount a VirtualBox shared folder at startup?


Setup: VirtualBox 4.3.26, Win 7 SP1 host, Debian jessie 8.0 (stable) guest.

In VirtualBox Manager, select Shared Folders Settings... in the Devices drop-down menu.

In the resulting pop-up window, select Machine Folders in the Folders List and then click the "Add a New Shared Folder Definition" button (the blue folder with a green "+" sign icon to the right of the Folders List).

In the resulting Add Share pop-up form, click on the down-arrow button in the Folder Path field, and then select Other. A Browse For Folder pop-up window will appear.

(In my case, I had just added another hard drive to my workstation to be used for a dedicated share, already formatted for NTFS, with a volume name of "share", and mounted as "G:". So I clicked the arrow next to Computer, selected drive G: and then clicked the OK button.)

(In your case you should select whatever folder or drive you intend to share, then click the OK button.)

When you've made your...

0 0

Edit March, 26th 2008: Ok, I've just installed a fresh Ubuntu 8.04 on my Virtualbox 1.5.6 with a Windows Vista Home Premium Host. I followed my own tutorial really step by step, and my shared folder are mounting on start-up.

Be aware that this tutorial is only working for Ubuntu, since other Linux distribution have different ways of loading modules and even dealing with fstab.

Maybe other users could write the files, which needed to be modified within other distributions, below.

I will now add some remarks with red in the text below to point out possible errors.


Attention: As of March 30th 2008 this HowTo has to be seen as "Maybe working" since some users reported that after following this tutorial the shared folders still didn't work.

If you can figure out where the error is please give me a hint, so I can change this.


Hey, I...

0 0

To always mount a Virtual Box “shared folder” on booting an Ubuntu guest we have two options. It is up to personal preference which option works best in our setting. . Mount with fstab. To mount a shared folder using the vboxsf filesystem provided with Guest Additions we first need to make sure . Shared folder is a great feature of Virtualbox to share data between the host and guest OS. This post shows how to mount the shared folder during boot on a Ubuntu . guest OS running on Windows host OS..Make sure that the additions are installed, and that you have added your username as a member of the vboxsf group sudo usermod aG vboxsf . Then you need at least to log out or reboot for the change to take effect..I had similar problems and found that my fstab wasn t auto mounting for some reason, whether I had the Auto mount checked or not. So I tried this approach instead and it worked fine Create a directory to mount into if you haven t already mkdir p mnt path_to_mount_point Edit...

0 0

Even though I use VirtualBox frequently to run TC, I never wanted to install VBox-OSE-additions.tcz just to be able to use vboxfs. This is due to the amount of dependencies (incl. Xorg) for which I typically have no need or use.

I therefore had a bit a poke around and found the following minimalistic way just to use the VirtualBox shared folders feature:

(1) Install the VBox-OSE-additions-modules-... extension (containing just the kernel modules), e.g.
tce-load -wi VBox-OSE-additions-modules-$(uname -r)

(2) Extract /usr/local/sbin/mount.vboxsf from VBox-OSE-additions.tcz. This file will have to be copied to /usr/local/sbin with the suitable ownership (i.e. root:root) and permission (i.e. 755)

(3) Ensure that the 'vboxvfs' module (for TC 2.x) or 'vboxsf' module (for TC 3.x) is loaded, e.g.
for TC 2.x: lsmod | grep -q vboxvfs || sudo modprobe vboxvfs
for TC 3.x: lsmod | grep -q vboxsf || sudo modprobe vboxsf

After this you can...

0 0

#the #network #folder #specified #is #currently #mapped


closed as off-topic by Michael Hampton May 11 ’15 at 1:37

This question appears to be off-topic. The users who voted to close gave this specific reason:

Questions on Server Fault must be about managing information technology systems in a business environment. Home and end-user computing questions may be asked on Super User. and questions about development, testing and development tools may be asked on Stack Overflow . Michael Hampton

If this question can be reworded to fit the rules in the help center. please edit the question.

locked by Michael Hampton May 11 ’15 at 1:37

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site. so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center .

Is this a...

0 0

I am writing to ask what the effect of the auto-mounting process is in VirtualBox, and where the folders can be accessed within a guest Linux system if auto-mount is used.

I have VirtualBox 4.0.4 installed on Mac OS 10.6.7, with Guest Additions apparently running correctly. The guest OS is Ubuntu 10.04, and I observe no apparent problems with it. I find that if the shared folders have "auto-mount" unchecked in the VirtualBox settings, they can then be mounted using the prescribed syntax

sudo mount -t vboxsf folder_name path_to_mount_point

and all works as it is supposed to.

But if the auto-mount option is checked, then I find that I can no longer mount the shared folders manually. I get the error

mounting failed with the error: Invalid argument

and the folders also do not appear to mount anywhere else accessible to me. Using the syntax

sudo mount -t vboxsf

without specifying a path installs them in /media, with their names prefixed with sf_, but...

0 0

If you use VirtualBox in your data center, you've probably run into a situation where you needed to move a file from guest to host or vice versa. When you can't figure that out, you wind up having to use Dropbox or some other third-party solution. You don't have to.

VirtualBox has the ability to share folders between guest and host to make moving files back and forth much more efficient. Although there are a few steps involved, it doesn't take long to set up. Let's do just that.

SEE: Virtualization Policy (Tech Pro Research)

Installing the Guest Additions

First, you must install the Guest Additions. Without installing this software, your guest will not be able to recognize the necessary vboxsf file system, thus rendering your guest/host unable to share folders.

The steps for installing the Guest Additions will vary depending upon the host operating system. I'll demonstrate how to do this using a Ubuntu Linux 16.04 host. Here are the steps.

0 0

I have a Windows 10 laptop, and I am running VirtualBox. One of my virtual machines has Ubuntu 14.04 64 bit operating system. Now, I want to be able to share folders from my Ubuntu to Windows 10 and vice versa. I’m assuming that you have installed the Ubuntu virtual machine already and ready to set up the shared folder.

Step 1) Make a folder to be shared on your Windows 10 host operating system.

I’ll create a folder called shared on my Windows 10 Desktop.

I’ll put a bunch of stuff inside the shared folder to be used by the Ubuntu virtual machine.

Step 2) Make sure that you have an empty optical drive for your virtual machine.

Step 3) Boot your Ubuntu virtual machine. Go to Devices tab and click Insert Guest Additions CD image…

Step 4) Open up a terminal and install the Guest Additions CD.

We make a directory to mount the Guest Additions CD. The Guest Additions CD contains a file system type that...

0 0
0 0

By Sergei Romanenko

October, 2013

This article describes the installation of Oracle Database 12c Release 1 ( 64-bit) RAC on Linux (Oracle Linux 6.4 64-bit) using VirtualBox (4.2.18). Highlights of this installation procedure:

Smallest possible footprint in terms of RAM and disk space without noticeable performance hit; Short and fast way to get RAC installed and running. Only required operations included. If you can find more efficient way, please let me know; Both ASMLib and Udev shared disk configurations are covered; GUI-maximized, it is friendly for beginners, saves time for experienced veterans;



This is my second article on Oracle RAC installed in VirtualBox. The first one was about RAC version 11g, which drew very positive feedback from readers. Over last year, I became very active user of VirtualBox, this is quite stable piece of software and I moved many aging physical computers in my household into...

0 0

By Sergei Romanenko

August - December, 2012

This article describes the installation of Oracle Database 11g release 2 (11.2 64-bit) RAC on Linux (Oracle Linux 6.3 64-bit) using VirtualBox (4.1.14+).

See also: Oracle RAC 12c Database on Linux Using VirtualBox.


If you want to get through all steps of the Oracle RAC installation and your laptop or desktop computer has 8 GB or more of RAM, then this is entirely feasible using Oracle VirtualBox as demonstrated in this article. You can get a running RAC system which can host a small test database. The created system is not, and should not be considered, a production-ready system. It's simply to allow you to get used to installing and using RAC and test various administration procedures. The article also explains how to save the images and restore RAC from the images in a matter of minutes. Even if you break your test system, it will be easy to restore.

This article uses the...

0 0