Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have Ubuntu as the main OS. I installed VirtualBox with a Windows XP guest. How can I share files between the two OSs, and how do I connect to the Internet in the Windows XP guest?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

Stop your virtual machine. Go to settings (in Virtualbox -> XP guest -> settings) and search for shared folder. Add a folder on your PC like /home/username/Documents/vmshare . And there you go.

Note: You have to install Guest Additions to the guest for this which you can get from Tools-> Guest additions (when your guest is running. It'll mount the VBox iso and install the additions. All you need is a reboot after that.)

share|improve this answer
    
To connect to this share on the guest, visit \\vboxsvr\sharename. –  RJFalconer May 22 '10 at 11:13
    
Yeah true. It should also show up in network shares (or in "The whole network".) –  Shiki May 22 '10 at 11:14
add comment

For shared folders;
see Shiki's answer.

For internet;
Stop the machine. Go to settings, Network. Check "Enable network adapter".

XP will get an IP from your router and act like an independent machine on your network.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.