Page 1 of 1

Newbie: Can you access host files from virtual OS?

Posted: 5. Dec 2009, 05:40
by 1bru1
I am a newbie, as in just joined today. I haven't even attempted to get this all set up, because there is only one real reason I want to at this point. I want to start learning Linux, but I want to be able to access files on the host.

So I'm running Vista 64, and I want to run Linux on VirtualBox. Right now I use UWIN to emulate Unix on windows, and run shell scripts. So at long last my question is this (I did search the forums, but it's really hard to find an answer to a really specific question like this):

If I'm running Linux on VirtualBox, can I "see" my shell scripts that will be stored on the host in order to run them on the Linux guest?

Re: Newbie: Can you access host files from virtual OS?

Posted: 5. Dec 2009, 10:44
by mpack
Install the GAs and use shared folders (check user manual for details).

Re: Newbie: Can you access host files from virtual OS?

Posted: 5. Dec 2009, 18:08
by 1bru1
Cool, I found it. Thank you very much.

And for anyone else who needs this:
http://www.virtualbox.org/manual/UserMa ... redfolders

Re: Newbie: Can you access host files from virtual OS?

Posted: 7. Dec 2009, 04:55
by Hachiman
1bru1 wrote: If I'm running Linux on VirtualBox, can I "see" my shell scripts that will be stored on the host in order to run them on the Linux guest?
If your networking type is NAT you might try this also.

Code: Select all

# sudo mkdir /mnt/c
# sudo mount -t cifs //10.0.2.2/c\$ /mnt/c -o user=username,noperm