Shared Folders - XP Pro

Discussions related to using VirtualBox on Linux hosts.
Post Reply
jacknagz
Posts: 1
Joined: 24. Aug 2009, 02:38
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: XP Pro

Shared Folders - XP Pro

Post by jacknagz »

I'm running ubuntu 9.04 using virtualbox ose 2.1.4 and i have XP pro setup on a VM. I am trying to setup a shared folder so I can drop in installation files to the VM, but I can't seem to get anything to work :( I have added the folder (named XP) to the shared folders permanent list in virtualbox. I installed the guest additions through synaptic, but do i have to do it through virtualbox? I also tried typing "net use t:\\jack\XP" in windows run and that didn't work. What am i doing wrong?

~Thanks
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Shared Folders - XP Pro

Post by Perryg »

You setup the share in the VBox program under shared folders. Then in XP open a command window and type the following:

Code: Select all

net use x: \\vboxsvr\sharename -p
Replace the share name with the name you gave the share in the settings of VBox. The -p at then end makes it persistent.
(Notice the space after x: and before the \\)

If you want to do a network share you can do that as well but you would need to use Bridged mode and what you have will work if you put a space in as indicated above.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Shared Folders - XP Pro

Post by Sasquatch »

Also, you need the Guest Additions. You installed the GA for the Host OS if you would run that inside a VM, so remove those packages, it won't do you any good. You can grab the GA ISO from http://download.virtualbox.org/virtualbox, grab the version of the GA that is the same as the VB version you're running. Load the ISO in the media manager and mount it in the Guest. Install the GA, reboot the VM and you can use the command Perry noted.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply