Saturday, March 14, 2015

Setting up a shared drive with my VirtualBox Guests

  1. Oracle VM VirtualBox
  2. Your Host can be any OS
  3. The Guest can be any version of Microsoft Windows (98, XP, Vista, 7, etc.). I used Windows XP.
Now you can follow these steps:

Step 1 

Run your Host OS and launch VM VirtualBox.

Step 2 

Start your Guest OS in which you want to share drives/folders and files contained in them.

Step 3 

Click on "Devices" tab provided on the VM VirtualBox taskbar and select "Shared Folders" from the drop-down list.

Step 4 

VirtualBox will open a window "Shared Folders". Click on the top icon in the right-hand corner to add the drive/folder. Another window will open—"Add Share".

Step 5 

"Add Share" allows you to give the path of the drive/folder you wish to share from the Host OS by giving the path in "Folder Path". You can also browse the drive/folder from your Host OS if you don't remember the exact path of the contents you want to share.

Step 6 

Now type the name of the folder in the "Folder Name" box. It can be any name you wish to have on Guest OS. Also, check the boxes "Auto Mount" and "Make Permanent" and click "OK".

Step 7 

Go to "Start", select and click "Run" on Guest OS. Type "net use x: \\vboxsrv\Drive F" as the run command and click "OK". If you have done everything alright, then no message or notification will appear. Note that the shared drive/folder name should be the same as given in the "Share Folder" window from Step 6. I gave it "Drive F".

Step 8 

Go to "My Computer" and there you will see your shared drive/folder under "Network Drives". Now you can access all contents contained in the shared drive/folder that you just shared. You can add as many drives and folders as you want following the same steps.