How to share files between host XP and RedHat VM?

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat How to share files between host XP and RedHat VM?
# 1  
Old 04-16-2010
How to share files between host XP and RedHat VM?

Hi, I am fairly new to Linux. I have a Win XP host machine where I am running a Redhat virtual machine using VMplayer. I have a tool in the VM that I need to run using some input data located on the host machine. How can I share files between the host and the VM? I need to be able to read/write files from within the VM.

Someone mentioned "Samba" to me and it looks like it's installed on the VM, or at least I see files and folders on the VM containing "samba" in their names. So how do I use it for sharing? Are there other approaches?

Can you provide step-by-step instructions or point me to those?

Any help will be greatly appreciated!
# 2  
Old 04-19-2010
This is a bit old, but it should still cover some basics:

Configuring a Samba Server
# 3  
Old 04-29-2010
Done this

Well u could do it with a little tweaking ,first on you VM image have two lan cards configured as

1] Host-only
2] NAT

then try pinging your local host to VM and VM to local host on your NAT interface which you can access on Network connections GUI of your host
(probably VMnet8) enable CIFS (common internet file sharing)

then on you linux image do as follows

mount -t cifs //ntserver/download -o username=yourname /mnt
it will prompt you for password

now access your windows files in /mnt

That should do it
# 4  
Old 05-13-2010
Bug to share files between xp and vm

hi

just download winscp software on ur host machine.As it is in gui mode u just need to enter the ip address of the redhat linux ,and just drag and drop the required file from xp to linux.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Redhat Offline enviroment with satellite and sync host

Hello, we got a high security network which is completely offline. We want to use a Sync Host like described here in the Redhat documentation for Sattelite 6. I have the following Questions: - We need the complete Repository not only the main one how much space we need for this ? - Can... (2 Replies)
Discussion started by: izual
2 Replies

2. Red Hat

Redhat 4 host based migration

Hi, I need to migrate using Redhat 4 as host based migration,EMC Clariion to VNX. Please what are the best ways to perform online migration,with users working on the box?The file system is ext3 and the source logical voulumes are raid 1. - adding the 3rd LUN(from VNX) to the... (0 Replies)
Discussion started by: tanislavm11
0 Replies

3. Shell Programming and Scripting

Compare files and share output from both files

hi all, Thanks to all for your great help... I have a scenario that I have two files (file1 & file2). I need to compare two files entire row by row and share the output if any discrepancies within two files. File1: DB1|TB1|C1,C3 DB2|TB2|C1,C2 DB3|TB3|C1,C2,C3,C4 File2: ... (2 Replies)
Discussion started by: Selva_2507
2 Replies

4. Solaris

Windows network share visible to Solaris 9 host and vice versa

Hi, I have a Windows server running WinSVR 2008R2 with a network share configured \\hostname\JSS_Share I would like to be able to mount this share on a Solaris host running Solaris 9. I would also like to mount a directory on the Solaris host and make it visible to the Windows server. The idea... (1 Reply)
Discussion started by: jamba1
1 Replies

5. UNIX for Dummies Questions & Answers

Transfer large number of files host to host

Hello.... I have two servers, one has an empty / and the other has a subdirectory with a large number (4 gig) with many, many files. I need a way to transfer the files en masse from the server with the large number of files to the one that is essentially blank. I don't have space on the used... (16 Replies)
Discussion started by: blaine.miller
16 Replies

6. Red Hat

Mount Windows share on Redhat, WITHOUT Samba?

Hi, Please let me know whether I can mount a windows share on Redhat, which does not have Samba installed. The constraint is that I cannot install Samba . Looking forward for a possible solution. (1 Reply)
Discussion started by: jksena
1 Replies

7. Red Hat

Problem with configuring host name in Redhat Linux 5

Hi All when I give the command, $ ping <hostname> I get the following error ping: unknown host <hostname> I have checked in the following files, /etc/sysconfig/network /etc/hosts /etc/resolv.conf /etc/nsswitch.conf Every where in these files host name and IP address are given... (2 Replies)
Discussion started by: nagapradeep
2 Replies

8. Solaris

How to delete the files from local host to remote host

Hi all, i am copying .gz files from production server to development server using "scp" command.my requirement is after copying .gz files i want to delete old .gz files(two days back) in development server from production server. like this way i need to delelte .log ,.z and .dmp files... (3 Replies)
Discussion started by: krishna176
3 Replies

9. Linux

Mount W2K share on Redhat Linux

How do I mount a Windows 2K share on Redhat Linux? I tried this: mount -t smbfs -o username=administrator,password=mypassword //machine/share But it just returns the help for the mount command:( (3 Replies)
Discussion started by: Spetnik
3 Replies
Login or Register to Ask a Question