The steps were as follows:
- Create a folder on the host machine to serve as the VM's network share (all mine are under ~/VirtualBox/Shares)
- With the WinXP VM powered off, open up it's settings form the VirtualBox main console (right-click -> Settings)
- Under 'Shared Folders', click the 'Add Shared Folder' button
- Set the Folder Path to the folder you created above, note the Folder Name if you don't change it, and make sure the share is not marked as read-only. Click OK.
- Power on the VM.
- In Windows Explorer, open the 'Folders' side panel.
- Navigate to 'My Network Places -> Entire Network -> VirtualBox Shared Folders' and open the shared folder you configured above.
- Note (or copy to clipboard) the UNC path to the network share (probably something like "\\VBOXSVR\[folderName]")
- In Windows Explorer, choose "Tools -> Map Network Drive"
- Pick a Drive letter, and paste the UNC path from above into the 'Folder' text box. Ensure 'Reconnect at logon' is checked, and click 'Finish'.
Now you can open 'My Computer' and navigate to the drive letter you selected. The mapped drive will be there every time you start the VM.
Update 2/3/2011: Originally I removed the optical drive from the VirtualBox VM configuration so I could add the shared network drive as D: and move the optical to E:. But when I re-added the optical drive, the VM did not add the optical drive and had trouble mounting the network share to D:. After some tinkering, I ended up with the optical drive back on D: and mapped the network drive to E:. No trouble so far.
No comments:
Post a Comment