How to access virtual machine's files from OSX?

2

3

I'm running an Ubuntu 10.10 VM under Parallels Desktop in Mac OS X Snow Leopard.

I need to make the filesystem of this VM available to OS X. I can do it the other way around, where my OS X folders show up inside the VM, but this isn't acceptable, unfortunately.

I've installed Parallels Tools, but this doesn't make any new options available to me in the VM configuration.

I fully realize that this might be the easiest thing in the world, but for whatever reason, I'm not finding a simple answer.

bigmattyh

Posted 2011-03-20T21:24:55.997

Reputation: 1 204

oh, one question - what do you want, sharing files when your VM is online, or only do it when the VM is stopped? – Florenz Kley – 2011-03-20T21:47:34.630

I need to share files when it's online, if that's possible. – bigmattyh – 2011-03-20T21:49:08.323

it is. use NFS. – Florenz Kley – 2011-03-20T22:10:05.170

Answers

3

Easiest way to do it with a live system is to export it via NFS on the Linux VM and then use "Go to foder" in finder (Shift-Cmd-G) on the Mac host and enter

/net/vmhost

or whatever hostname your VM has. If the name does not wirk, try the IP address.

geekosaur

Posted 2011-03-20T21:24:55.997

Reputation: 10 195

I'm trying it with NFSv4, but even with the same usernames and idmapping enabled, it still won't give access. Always permission denied for some reason. Perhaps even the domains need to match? – Kar – 2015-12-17T18:58:07.817

I'm giving this a try now. Never used NFS before though, so we'll see how it goes! – bigmattyh – 2011-03-20T21:55:03.713

if you are in a network where you trust everyone and you "just want to read + write" try this as export line in /etc/exports: /myexport *(insecure,rw,async,no_subtree_check,no_root_squash) – Florenz Kley – 2011-03-20T22:12:02.367

Exporting an nfs share actually ended up being a huge headache, unfortunately. I ended up using MacFusion to mount the VM as an SSHFS share, and it was a lot easier than setting up and configuring nfs. Thanks for the help! – bigmattyh – 2011-03-21T18:16:25.130

why? That should not be so hard :-) can you elaborate on the (Linux?) problems? – Florenz Kley – 2011-03-22T22:42:42.440