how can I copy file of windows to ubuntu

Discussions related to using VirtualBox on Linux hosts.
Post Reply
lcabcdefg
Posts: 4
Joined: 14. Sep 2008, 13:51

how can I copy file of windows to ubuntu

Post by lcabcdefg »

I install the virtualbox.
my host is ubuntu 8.04, and guest is windowns xp, according the way of mannul pages, I can share file between ubuntu and xp, but only can access and copy the shared file in ubuntu on windowns xp, how can I copy the files in windonws xp to ubuntu shared folder?


thank you very much!
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

Post by Sasquatch »

Shared folders is a Guest Addition, meaning you can only access the Shared Folder you set in VB from the Guest. If you want to access files from the Guest using the Host, you need a network share and a Host Interface. See the Manual and VirtualBox FAQ to how to set up a Host Interface. With that, you have two way communication. You don't have to do the bridge part if you don't want your Guest on the rest of your network.
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.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

Whether you use VBox shared folders or straight windows file shares and smbclient on Ubuntu, the master folder sits within the host file system. Yes you can access this from Ubuntu and even do a cp to copy them into the Ubuntu FS, but you can't directly access the Ubuntu FS from the host unless you set up a bridged network and install Samba on your guest to enable to offer file services.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Post Reply