Sunday 16 July 2017


HOW TO ACCESS SHARED FOLDERS IN VIRTUAL MACHINE:
********************************************************************

First make sure you are running guest Additions succcessfully in your guest OS .

After that simply follow below (y).


Within VirtualBox, select the guest machine you wish to contain the shared folder.
Press the Settings button.
  1. In the Settings dialog, press Shared Folders tab.
  2. Click the Add Shared Folder button.
  3. In the popup dialog, select the directory you want to share with the guest machine. In my case I will be choosing the directory c:\users\karuna\downloads.
  4. Give the share a simple, but descriptive name.
  5. I would suggest selecting the Read-only checkbox. This will mean the guest operating system will not be able to modify any files or directories on within the shared folder.
  6. OR u can also check permanent box if you need read write access on that.




Once this is done. Then do the below as a root user:


sharename="donotshare"
sudo mkdir /mnt/$sharename
sudo chmod 777 /mnt/$sharename
sudo mount -t vboxsf -o uid=1000,gid=1000 $sharename /mnt/$sharename
ln -s /mnt/$sharename $HOME/Desktop/$sharename



If you still need any help during installation, please feel free to comment below or you can refer to my installation related posts here:  

http://karunadba.blogspot.in/2014/05/installation-of-oracle-linux-6-in.html

No comments:

Post a Comment