MakeTechEasier
  • Home
  •  
  • About
  •  
  • Archives
  •  
  • Jobs
  •  
  • Advertise
  •  
  • Contact Us
  • Windows
  • Linux
  • Mac
  • Internet
  • WordPress
  • iPhone
  • Android
  • All Categories
    • Android RSS
    • Firefox RSS
    • Gaming RSS
    • Google RSS
    • google chrome RSS
    • Internet RSS
    • iPhone/iPod Touch RSS
    • Linux RSS
    • Mac RSS
    • Mobile RSS
    • OpenOffice RSS
    • PC Hardware RSS
    • Review RSS
    • Roundup RSS
    • Windows RSS
    • Windows Mobile RSS
    • WordPress RSS
    • WordPress Plugins RSS
  • rss icon
  • email icon
  • facebook icon
  • twitter icon

How To Share Files In VirtualBox With Vista Guest And Ubuntu Host

Posted by: Damien on November 12th, 2008
  • 47 Comments
  • Share

microsoft_vista-logoFor some of you who have setup Windows Vista as the guest VM in your Ubuntu Virtualbox, you might have some difficulties in getting the Vista guest to access the shared folder in your Ubuntu host. If you are having this problem, here is the way to mount the shared folder on your Vista guest.

First of all, make sure you have already installed both VirtualBox and Windows Vista guest. If you have not, here is the complete installation guide.

Secondly, make sure you have updated your VirtualBox to the latest version (2.0.4). There are some issues in the earlier version which will cause the mounting to fail.

In your Ubuntu machine, open up Virtualbox (Applications -> System Tools -> virtualBox).

Highlight the Vista VM entry (make sure that it is in Powered off state) and click on the Settings icon at the top.

Virtualbox Vista Settings

On the left, click on the Network. On the right, make sure that the Enable Network Adaptor and Cable Connected are checked.

Virtualbox Network setting

On the left, click on the Shared Folders. Then, click on the virtualbox add share folder icon on the far right.

Select the folder that you want to use as a share point. Give it a name.

Virtualbox add share path

Virtualbox share folder

Click OK to close the Settings window.

Boot up your Vista VM.

Install the guest addition. (Skip this step if you have already done so)

virtualbox-guest-addition

Restart the Vista VM.

Open your Windows Explorer, click on the Map Network Drive

vista-map-network

In the Folder input text, enter

\\vboxsvr\sharename

where sharename is the name of the share folder that you add just now. Make sure that the Reconnect at logon is checked. Click Finish

vista-map-drive

You should now see the shared folder mounted as a network drive.

vista-windows-explorer

That’s it.


Damien Oh is the owner and chief editor of Make Tech Easier

Tags: Ubuntu, virtual machine, VirtualBox, windows vista
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading ... Loading ...

Share and Enjoy!

  • Rss feed
  • StumbleUpon It!
  • Del.icio.us
  • reddit

Related Posts

  • Upgrading to Virtualbox 2.1 In Ubuntu Intrepid
  • How To Enable 3D Acceleration In VirtualBox
  • Sharing Files Between Ubuntu Host and Virtual Machines
  • Share Your Virtualbox VM Across Different OS
  • Virtualbox: Fix Mouse Integration Issue In Ubuntu Intrepid Guest

Popular Posts

  • Turn Your Ubuntu Hardy to Mac OSX Leopard 498 comment(s)
  • Turn Your Ubuntu Intrepid Into Mac OSX Leopard 311 comment(s)
  • 28 Coolest Firefox About:Config Tricks 122 comment(s)
  • How To Boot And Install Windows 7 From USB Flash Drive 122 comment(s)
  • Best 101 Free Computer Software For Your Daily Use 101 comment(s)

Enjoyed the article? Subscribe to Make Tech Easier today to get your daily updates of technology tutorials, tips and tricks.

Enter your email:

3 pingbacks/trackbacks (Click to open)

  • BrotherSoft Editor's Blog » Blog Archive » How To Share Files In VirtualBox With Vista Guest And Ubuntu Host
  • VirtualBox - setup, share, shrink, convert « Share Virtual Machines
  • How To Share Files In VirtualBox With Vista Guest And Ubuntu Host - Make Tech Easier | HaLe Communications Blog
[Click to close]

47 Responses

  • pathaniya says:
    November 14, 2008 at 6:56 pm

    Please tell me same above mention process but with Windows Xp sp2 or 3

    Regards

    Reply
  • Damien says:
    November 15, 2008 at 12:48 am

    @pathaniya: The step is exactly the same for Windows XP except that the “Map Network Drive” is found at the menubar under Tools section (Tools -> Map Network Drive)

    Reply
  • pathaniya says:
    November 15, 2008 at 4:31 am

    Thanks! Damien!

    Reply
  • Damien says:
    November 15, 2008 at 5:32 am

    @pathaniya: You are welcome!

    Reply
  • Antoine van Dinter says:
    December 30, 2008 at 3:42 pm

    Hello,

    But how to do it when you have a Windows Vista host and an Ubuntu 8.10 guest (under Virtualbox)? I want to share a Vista folder with my Ubuntu 8.10 on virtualbox.

    Reply
    • Damien says:
      December 31, 2008 at 3:40 am

      Assuming the name of the share folder is “Share”.

      First create a folder in your Home directory and name it “Share”.

      Run the following command in the terminal to mount the share folder

      sudo mount -t vboxsf Share ~/Share.

      You should be able to access the share folder via your Home directory.

      Reply
  • ck says:
    January 7, 2009 at 4:03 am

    Hi,

    I tried the above procedures but after mapping the network drive, I couldn’t access My Computer anymore. I tried removing it and My Computer worked perfectly fine. How can I resolve this problem?

    Also, I couldn’t get my usb ports to work.

    I would appreciate any help.

    Thanks

    Reply
  • cameron says:
    February 8, 2009 at 1:57 am

    These steps also easily worked for Windows 7 guest on ubuntu.
    Many thanks!

    Reply
  • Chaanakya says:
    February 16, 2009 at 10:04 pm

    THANKS!!!!!! I was wondering how to do this. Thanks!!!!!

    Reply
  • jim says:
    February 19, 2009 at 9:49 pm

    Thanks a ton, just made my task super easy. Much appreciated.

    Reply
  • Nuwan says:
    February 24, 2009 at 1:31 pm

    Thank you!
    This is 100% worked.

    Reply
  • Davide says:
    February 27, 2009 at 9:43 am

    I love this site, i can find a solution to all my problems! :D:D:D:D:D

    Reply
  • Pierre says:
    March 28, 2009 at 4:49 am

    Running Vista in a VB. It complains not available network or network cable unplugged. :(

    Cable Connected = TRUE

    Reply
    • Damien says:
      March 29, 2009 at 8:14 am

      is your host connected to the Internet?

      Reply
  • Chaanakya says:
    March 28, 2009 at 11:30 am

    Does the Internet work in the Vista guest?

    Reply
    • Damien says:
      March 29, 2009 at 8:13 am

      If you set NAT as the connection option in the Settings page, the Internet should work out of the box (if your host is connected to the Web). I have not tried the other options yet.

      Reply
  • Abraxas says:
    April 5, 2009 at 6:50 pm

    Your solution worked fine, quality advice really.
    Yet I have another question and it is regarding USB devices. Is an Ubuntu host and XP SP3 guest. The options to connect an USB device are greyed out…except the printer. I have set them up in the VB settings checked the filters but no way to access the USB drives or pen drive connected to PC even though they are recognized and mounted by Ubuntu.
    Thank you
    Gustavo

    Reply
    • Damien says:
      April 17, 2009 at 1:18 am

      Few things you need to do to get your USB drive working:

      1) Make sure you are not using the OSE version.

      2) Upgrade your Virtualbox to the latest version 2.2

      3) Set up the USB filter in the Settings page. Make sure that the boxes “enable USB controller” and “enable USB 2.0(EHCI) controller” are checked.

      4) Install Guest addition

      5) Mount your USB drive in your computer before starting Virtualbox.

      6) In your VM, go to Devices -> USB Devices and select the respective USB devices.

      Reply
  • Javi Pirate says:
    April 15, 2009 at 1:32 am

    This tutorial is amazing i love it thanks for share :)

    Reply
  • Cleiton Souza says:
    April 15, 2009 at 1:53 pm

    Thanks by tutorial! this help me very much! The way to share folder to gues PC in Virtual Box is very diferent then Microsoft Virtual PC.

    Reply
  • Gustavo says:
    April 17, 2009 at 2:38 pm

    Hello,

    Running Ubuntu 8.10 as a host and XP as guest. The version of the xVM Box is 2.1.4 . USB drives do not mount on the guest.
    I am a noob for Ubuntu, but following some intructions here I managed to get the USB drives as shared folders since they mount ok under the host.
    I read to update the xVM and using the option in the xVM menu tells me that is already uptodate 2.1.4….Then I downloaded version 2.2 but the installer tells me that there is already a xVM installed. I feel I should uninstall version 2.1.4 but what will happen with the XP guest virtual disk that I have already created with the guest?
    I think the installer for version 2.2 should have the option to update the older version, or clean install altogether. May be someone here could help me update xVM without uninstalling it?

    Thank you,
    Gustavo

    Reply
    • Damien says:
      April 18, 2009 at 2:24 pm

      You have to remove the version 2.1.4 before you can install 2.2. Rest assure that your virtual disk and all settings are not removed. After you have installed version 2.2, you should find all your settings still intact.

      I have tested the USB support in version 2.2. It works!

      Reply
  • Seshadri Baral says:
    April 19, 2009 at 1:17 pm

    thanx. i was really searching for this.
    its a nice one.

    Reply
  • Gustavo says:
    April 23, 2009 at 2:55 pm

    Hi Damien,

    Well thank you for the tip on uninstalling xVM and installing xVM2.2….I did not loose the image …uuupi !
    But. there is always something…I did not fix the issue with the USB devices appearing to guest windws as USB. My workaround has been accessing them as sharefolders.
    Still I want, to learn basically, those USB not greyed out in the menu of xVM and be able to access them as what they are, USB disks.
    Somewhee I read that it could be an issue with Intrepid (8.10) and the way they are installed by the system…remember I am still a noob, do you think you could help me ?
    thanks,

    gustavo

    Reply
  • Mohamoud says:
    May 5, 2009 at 10:53 pm

    Thanks for the tutorial. Saved me a lot of time.

    Reply
  • jeroen says:
    May 7, 2009 at 8:13 pm

    I did connect the shared folders on a ubuntu 8.10 host with a Windows 7 guest build 7100. It works, though I cannot read or write to these drives from other programs than the windows explorer. Does anyone have any idea? it works fine with a Windows XP guest or even a Windows 98 guest.

    Reply
    • Damien says:
      May 16, 2009 at 5:49 am

      This is more of a Windows 7 limitation. I will update once I find out the workaround.

      Reply
  • aman gupta says:
    May 15, 2009 at 5:49 pm

    thanks i really worked….

    Reply
  • jeroen says:
    May 16, 2009 at 2:16 pm

    Now I tried again and using \\vboxsvr\sharename after I connected this share in the Virtualbox settings and it worked.

    I’m happy!

    Reply
  • David says:
    May 30, 2009 at 5:49 am

    Perfect….thanks alot. Your efforts are appreciated !

    Reply
  • Johnny says:
    June 16, 2009 at 7:52 am

    This worked as a charm! Thanks allot, I’ve been working for ages trying to figure this one out.

    Reply
  • Kevin says:
    June 25, 2009 at 7:33 pm

    Hi everyone, I did this once and it worked perfectly running Ubuntu 9.04 as my host, and windows xp through VirtualBox. Since then I’ve formated my computer and now I’m trying to set it up again, but it won’t work. It keeps “folder not found” when I type in \\vboxsvr\nameof my folder

    Can anyone give me some tips? I’ve read over everything multiple times, the only thing I’m thinking is maybe my router is blocking the sharing fuction? I dunno! o_O

    Reply
  • jo31 says:
    July 9, 2009 at 9:14 pm

    Doesn’t work at all with VB 2.2.4, Ubuntu 9.04 as host and XP SP3 as ghost

    Reply
    • Damien says:
      July 10, 2009 at 3:33 am

      @jo31: It works. I am using VB 2.2.4, Ubuntu 9.04 and XP SP3 and I have no problems accessing the shared folder. Perhaps you want to check your configuration again.

      Reply
  • u-man says:
    July 24, 2009 at 11:55 am

    Thanks!! I am running Jaunty 9.04 and Vista in-the-box, and this is what I was needing. Thanks for making it so clear….now if there is something regarding the xorg.config…as my screen is off center……but that is future project. Thanks again! Ubuntu can be amazing, frustrating, but a good solid system.

    Reply
  • sima says:
    August 22, 2009 at 6:03 am

    I need help
    I have a MAC and I installed Parallel and on this VM I installed Ubunto and Vista. now I want to use USB but it doesn\t work in ubunto. i want to share some files and i don\t know what should do. pls. advise me.\
    many thanks\
    sima

    Reply
  • Harbhag says:
    October 8, 2009 at 6:11 am

    Thanks , It helped alot

    Reply
  • Dani says:
    October 13, 2009 at 7:06 pm

    Hi i am beginner and working on ubuntu environment.

    I have installed ubuntu 9.04 on my machine (host) , virtual box 3.0.8 for virtual machine which is also ubuntu 9.04.

    I am facing a problem during networking between host machine and virtual machine installed on vBox. when i send a ping command from virtual machine to host its works, while host to virtual machine it doesn’t work. thanks for advanced.

    Reply
  • Ravi Shankar says:
    October 31, 2009 at 11:14 am

    Thank you Vey much mate.

    It worked perfectly on my Host Ubuntu and Guest XP.

    Thanks once again.

    Reply
  • Arjun says:
    November 23, 2009 at 9:01 am

    I’m just discovering the wonders of Virtual box. This feature is just so cool having used VMware earlier! :))

    Reply
  • Deano says:
    December 6, 2009 at 7:29 am

    I was able to get this working before with no problems but now i just couldn’t seem to do even when i spent a while searching the web. But then i came across this tutorial and now it works :) Thanks for saving me hours of frustration :D

    Reply
  • amey says:
    December 10, 2009 at 5:08 pm

    Thank you very much for your effort…

    Reply
  • Newbie says:
    December 13, 2009 at 8:30 am

    Awesome guideline! Even better than the guidelines on virtualbox.org . Keep up the good work.

    Reply
  • sonia says:
    January 18, 2010 at 9:43 am

    i want to install the visual basic 6.0 on windows vista how can do this

    Reply
Cancel reply

Leave a Comment




Comment

Please Note: Comments maybe under moderation after you submit your comments so there is no need to resubmit your comment again

write for MTE

Latest Posts

  • OfficeMedium – A Social Collaboration Platform For The Small Business + Free Promotions
  • MakeTechEasier Is Now Hosted On KnownHost
  • KTorrent: KDE’s BitTorrent client
  • How to Create a Customized Toolbar for Your Browser
  • 13 Ways To Customize Ubuntu Netbook Remix For Better Usability

Our Writers

  • Damien Oh - Chief Editor
  • Sharninder - Geeky Ninja
  • Joshua Price
  • Tavis J. Hampton - Lantern Torch
  • Shevonne Polastre - FreeAgentWriter
  • Trevor Dobrygoski
  • Soumen Halder - Ampercent
  • Tanmay Ahmed - Tech-Tips-Geek
Make Tech Easier on Facebook
Jobs by SimplyHired
Job Widgets

Copyright

All the articles (including the text, images and tutorials) are properties of MakeTechEasier.

You cannot copy whole tutorials, either in English or translate to another language without our permission.

Write for us

Writing a tutorial or article for MakeTechEasier is a great way to get exposure and give back to the community.

Read More Details

Suggestions

We need your help to help us serve you better! This is YOUR site, so if you have suggestions/feedbacks on how we can improve it for you, please let us know! We do our best to make this place better!

Make a Suggestion

Navigation

  • Home
  • About Us
  • Advertise
  • Archives
  • Contact Us

Copyright © 2007-2010 Make Tech Easier | All Right Reserved.