Showing posts with label Oracle VM Virtual Box. Show all posts
Showing posts with label Oracle VM Virtual Box. Show all posts

Sunday, March 1, 2015

Accessing a Windows shared folder in Oracle VM Virtual Box

This post gives steps to access  a shared folder when you use Oracle VM Virtual box to run a Linux Virtual system on your Windows PC.

1. Make sure you have guest addons installed.notepad

2.Create a folder on the Host computer (ubuntu) that you would like to share, for example "C:/KernelTrap"

3.Boot the Guest operating system in VirtualBox.

4.Select Devices -> Shared Folders...

5.Choose the 'Add' button.

6.Select Folder path name as   "C:/KernelTrap"
   and Folder name will be automatically detected as "KernelTrap"

7. Remember this folder name "KernelTrap"

8. Optionally select the 'Make permanent' option

9. In virtual machine terminal, type:

 cd /mnt  
 sudo mkdir shared_folder  
 sudo mount -t vboxsf KerekTrap share_folder_patch 

And that's it. Don't worry about the absolute paths. You don't need them. For all practical purposes, VB will take care of the real path behind the share name, in this case KernelTrap.

Let me know if this procedure worked for you. I have tried this on Ubuntu 14.04 and it worked without any issue.