VirtualBox auto mount shared folder

The post demonstrate how to "Install Ubuntu GNOME 15.10 on Windows 10/VirtualBox", and also share folder between Windows host and Ubuntu guest user folder, in command line/shell script.


Starting with version 4.0, VirtualBox can mount shared folders automatically. In case on Linux guests, auto-mounted shared folders are mounted into the /media directory, along with the prefix sf_. For example, the shared folder myfiles would be mounted to /media/sf_myfiles on Linux and /mnt/sf_myfiles on Solaris.

Access to auto-mounted shared folders is only granted to the user group vboxsf, which is created by the VirtualBox Guest Additions installer. Hence guest users have to be member of that group to have read/write access or to have read-only access in case the folder is not mapped writable.

(reference: https://www.virtualbox.org/manual/ch04.html#sf_mount_auto)

In order to use the share folder feature, you have to "Insert Guest Additions CD images".


The below video show how to create share folder between host Windows (D:vbShare) and guest Ubuntu Linux (/media/sf_vbShare), and add current user to the vboxsf group with the command:
$ sudo usermod -a -G vboxsf eric
where:
vboxsf is the user group own the shared folder
eric is the the current user


Read More..

SDK setup error a folder failed to be renamed or moved

During updating your Android SDK components from eclipse (running in windows) you may receive the following error message:
a folder failed to be renamed or moved...

the message suggests that you turn of your anti-virus.
I did so but still recieved the error.
I terminated the adb.exe from the processes but still not solved.

the problem is that the update batch is rin from android.bat file inside tools directory. update requires that this folder is renamed temporarily but since Windows 7 locks it the process halts with this error.
so a workaround for this is to copy the tools folder, paste it in te sdk directory, name it tools_temp for example and run android.bat from this directory.

the update shall go smooth, after finishing delete this temp folder and launch eclipse and it will work fine.

note:
after restarting eclipse you may recieve this error
This Android SDK requires Android Developer Toolkit version 10.xxxxxxxxxx the current version is 9.xxxxxxxxxxxxxx.

this is because the ADT plugin needs to be update after updating software components, go to http://developer.android.com/sdk/eclipse-adt.html and follow the instructions and everything will work after this.
Read More..

Blog Archive

Powered by Blogger.