Connecting Tech Pros Worldwide Help | Site Map

How do i access and edit files in my virtual machine from host?

KUB365's Avatar
Administrator
 
Join Date: Jul 2005
Location: Portland, OR
Posts: 965
#1: Jun 4 '09
How can i access and edit files in my vmware virtual machine from my host machine(code editor)?

The host machine is vista.
The virtual machine is CentOS.
VMware workstation 6.5.2

I'd like to code/edit files from my code editor in vista. I guess in essense it would be setting up a share in the virtual machine.
NeoPa's Avatar
Administrator
 
Join Date: Oct 2006
Location: London - UK
Posts: 15,672
#2: Jun 5 '09

re: How do i access and edit files in my virtual machine from host?


I think the whole VM File System is contained within a single file on your host PC. I would guess that this is not possible. At least not while the VM is running.

However, if you'd like me to pursue it, I can make some enquiries of a friend who's more experienced in VMWare than I am.
NeoPa's Avatar
Administrator
 
Join Date: Oct 2006
Location: London - UK
Posts: 15,672
#3: Jun 5 '09

re: How do i access and edit files in my virtual machine from host?


Unless & until that can work, I would consider setting up an FTP server on the VM and transfer the files across between the two PCs. I use this for manipulating files on a Unix machine we have at work.
Nepomuk's Avatar
Moderator
 
Join Date: Aug 2007
Location: Germany
Posts: 2,466
#4: Jun 5 '09

re: How do i access and edit files in my virtual machine from host?


It is possible to mount a vmware harddrive - I've only done it under Linux so far, but it's possible with Windows too. Just search for "mount vmware harddrive" online and you should find a solution.

Of course, this should only be attempted, when the VM is not running.

Greetings,
Nepomuk
ambrnewlearner's Avatar
Expert
 
Join Date: Jan 2008
Location: A city in my country ;)
Posts: 855
#5: Jun 5 '09

re: How do i access and edit files in my virtual machine from host?


Hello,

Quote:

Originally Posted by KUB365 View Post

I guess in essense it would be setting up a share in the virtual machine.

Yes, this is what I do when I use VirtualBox. This should be more or less same with VMware workstation. I found this on Google.

AmbrNewlearner
NeoPa's Avatar
Administrator
 
Join Date: Oct 2006
Location: London - UK
Posts: 15,672
#6: Jun 5 '09

re: How do i access and edit files in my virtual machine from host?


That's a point KUB. I only ever used VMWare with unix builds and I'm not a great expert in that area. From what I remember though, networking works as you'd expect a stand-alone machine to, so setting up a share on either machine would allow easy access from both machines.

Did you have any trouble trying this?
Reply

Tags
cenos vista, host, virtual machine, vwmare


Similar Microsoft Windows / Vista / XP / ME / 95 & 98 bytes