Search This Blog

04 February, 2018

Oracle Virtual Machine Creating Shared Folder and its Permission in Ubuntu guest

Explaining the Steps for sharing a folder on Oracle VM with Windows Host and Ubuntu Guest

VirtualBox’s Shared Folders feature works with both Windows and Linux guest operating systems.
Steps to follow to do this is as follows



1) Install VirtualBox’s Guest Additions in the guest virtual machine.
After the guest os(Ubuntu) is booted,
click the “Devices” menu and choose the
“Insert Guest Additions CD image” option.
This inserts a virtual CD that you can use within the guest operating system to install the Guest Additions.

2) we need to reboot the VM Guest

3) Creating a shared folder
from the menu

Devices -> Shared Folder -> Shared Folder Settings

Select a folder to be shared between Windows and Ubuntu
Reboot the VM

4) Now we should be able to see the shared folder in /media/sf_*****

5) Setting Permission

 But now when you click using browser or change directory you will see permission issue. For this we need to run the below command in terminal

sudo adduser <your_user_name> vboxsf

or

sudo adduser `whoami` vboxsf

Logout the current user and login again or reboot the Ubuntu guest, After logging in you will be to access the shared folder from the Ubuntu

No comments:

Post a Comment

tmux enabling mouse interaction

Add the below line to the ~/.tmux.conf setw -g mouse on save the file and exit from the tmux shell, you should be able to use your mouse to ...