VirtualBox + Linux + SharedFolder


SharedFolder

Install VB utils (Ubuntu):

Manually mount shared folder:

  • umask: set persmissions (0007 -> full perm to owner and group, no perm to other)
  • uid/gid: user and group id
  • shared_name: the name given in VB dialog for the shared folder
  • /<target>: the folder inside Linux

 

Additional drives in Ubuntu

If you need to add an additional drive to your ubuntu in VB, than create this drive with the VB gui and connect them to your ubuntu. After that you need to start ubuntu and do some additional steps.

List all drives:

First you need to find out the name of the new connected drive.

Partition and format drive (Ubuntu):

After you got the correct name of your new drive, you need to create a partition and format this. In our case we will format this to ext4.

GUI:

Console (superuser.com):

To create a linux partition do the following steps:

Format the new partition:

Mount local drives:

Mount in to you home directory (~/mountpoint) to prevent permission problems.

Mount temporary:

Mount permanently (askubuntu.com):

Click here to see wiki of fstab.

 

Install VirtualBox Guest Additions in Ubuntu

http://www.juanrubio.me/2014/02/ubuntu-trusty-virtualbox-guest-additions/

To access to the shared folder you have to be a member of the following group: vboxsf

Leave a comment

Your email address will not be published. Required fields are marked *