LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-06-2007, 06:35 PM   #1
lebabyg
Member
 
Registered: Mar 2006
Location: UK
Distribution: Ubuntu Feisty
Posts: 272

Rep: Reputation: 30
Copying files from Host (Ubuntu) to Guest (XP) OS with VMWare


Hey,

How do I set up a network in VMware for sharing files from my host OS (ubuntu) to my guest OS (XP). I have various folders that are samba shared on the network in ubuntu, but VMWare doesn't pick up on these. Any ideas?
 
Old 04-06-2007, 07:36 PM   #2
thecarpy
Member
 
Registered: Apr 2005
Location: France
Distribution: Debian Squeeeeze
Posts: 116

Rep: Reputation: 18
Which version of vmware are you running?
VMware player or workstation?
Have you configured bridged networking?
If you have vmware workstation, you have "shared folders" that do the trick ...
 
Old 04-07-2007, 03:57 AM   #3
lebabyg
Member
 
Registered: Mar 2006
Location: UK
Distribution: Ubuntu Feisty
Posts: 272

Original Poster
Rep: Reputation: 30
Yer it's workstation. I do have shared folders, but I can't seem to see my samba shares in VMWare. The networking thing has me stumped a little: Basically, I don't know which networking to set up on VMware.: NAT, Bridged, host only etc. I don't care about being able to access the internet from the Guest, but I want to share files. Also the Uni network that I am on doesn't like networking on VMWare, as it bans me from the network if VMWare is trying to access the external network (basically because the virtual machine is trying to gain it's own IP and the network won't allow 2 IPs on one port). So simply put:
1. What networking do I need to set up in VMWare
2. How do I configure this on the Host (Ubuntu) side.
3. How do I configure this on the Guest (XP) side??

Thank in advance.
 
Old 04-10-2007, 06:44 AM   #4
thecarpy
Member
 
Registered: Apr 2005
Location: France
Distribution: Debian Squeeeeze
Posts: 116

Rep: Reputation: 18
In vmware, you configure shared folders, that are local folders on you ubuntu box ...

Choose to confugure the virtual machine, advanced tab, shared folders.... click add and give it a name, a path ... i think there is also a description field you can fill in ... this is out of the top of my head ...
in the windowsxp guest you type \\.host\ to see the available shared folders .... or \\.host\sharename to see a specific one ...
hope this helps ...

or you could copy this into your vmx file, the file you open with vmware workstation without the ###'s ...
###
sharedFolder0.present = "TRUE"
sharedFolder0.enabled = "TRUE"
sharedFolder0.readAccess = "TRUE"
sharedFolder0.writeAccess = "TRUE"
sharedFolder0.hostPath = "/home/thecarpy/cvs"
sharedFolder0.guestName = "cvs"
sharedFolder0.expiration = "never"
sharedFolder1.present = "TRUE"
sharedFolder1.enabled = "TRUE"
sharedFolder1.readAccess = "TRUE"
sharedFolder1.writeAccess = "TRUE"
sharedFolder1.hostPath = "/home/hans"
sharedFolder1.guestName = "HOME"
sharedFolder1.expiration = "never"
sharedFolder.maxNum = "10"
###


I have two folders shared:
cvs
/home/thecarpy/cvs
and HOME
/home/hans

host only networking is cool for this to work .... just wanted to make sure that you did not get the IP's wrong ... like host only trying to access the ip of the host network ....

Last edited by thecarpy; 04-10-2007 at 06:46 AM.
 
Old 04-10-2007, 07:23 AM   #5
mrnicks
LQ Newbie
 
Registered: Jan 2006
Distribution: Just in the beginning rite now
Posts: 12

Rep: Reputation: 0
On vm workstation 5.5 you can drag the files directly onto the vm os. I did it on accident once and was happy to find out you can do it.
 
Old 04-10-2007, 11:57 AM   #6
lebabyg
Member
 
Registered: Mar 2006
Location: UK
Distribution: Ubuntu Feisty
Posts: 272

Original Poster
Rep: Reputation: 30
I don't have 5.5, and can't work out how to update it!! Carpy, your solution of editing the .vmx file worked 100% thanks a lot, I knew that it wouldn't be difficult to do, but I couldn't work out where to input it. Thanks for your help guys.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VMware: How to communicate between host and guest oudent Linux - Software 3 07-30-2008 11:01 AM
network between the host and guest in VMWare gongcon Linux - Networking 1 03-08-2005 09:25 PM
vmware xp host redhat guest Ecco Linux - Software 2 05-01-2004 07:25 AM
VMWare Linux Guest On XP Host PlatinumRik Linux - Networking 2 02-09-2004 08:05 PM
VMware Linux guest on 2K host. seriaalportx Linux - Newbie 1 11-19-2002 07:51 PM


All times are GMT -5. The time now is 03:34 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration