Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: enable file sharing between the host and Virtual systems?

08 Aug 2010   #21
Nizz

Windows 7 Professional 64bit + Ubuntu in Virtual Box
 
 

Things that i have managed to get right:
1: creating a virtual drive
2: Installing an operating system on the virtual box
3: Figuring out what the terminal is and how to use it... [just like windows CMD, a tad different]
4: Installing Guest Additions
5: Changing the resolution to a max of 1272x920
6: Creating folders in the /mnt directory using the terminal....

Quote   Quote: Originally Posted by Pusspa View Post
the easy way for you to tell me you have is if your mouse will move from win7 to the linux window without you having to use the right control key to take control of the mouse, or if you can go full screen properly without ur linux window being small and being surrounded by a black border.
Yes then they are correctly installed... but on a side note the mouse integration worked right from the start.


My System SpecsSystem Spec
.
08 Aug 2010   #22
Pusspa

 
 

woo hoo ok the last bit is easy... sudo mount -t vboxsf sharename mountpoint
sharename is what u called it in virtualbox (like i called my music shared folder mp3s) and mountpoint is the place you created in /mnt

if you restart your linux you will need to manually remount the shared folders or add a line for each shared folder in you /etc/fstab file to have them accessable on reboot.

To mount a shared folder during boot, add the following entry to /etc/fstab:
sharename mountpoint vboxsf defaults 0 0


Attached Images
enable file sharing between the host and Virtual systems?-capture.jpg 
My System SpecsSystem Spec
08 Aug 2010   #23
Nizz

Windows 7 Professional 64bit + Ubuntu in Virtual Box
 
 

I think i managed to get it to mount... not sure but i understand the commands that need to be inputted now to get the thing working. I just have 3 questions:

1. Where are the files and how do i access them?
2. How do i get root privileges so that i can edit the fstab file?
3. How do i know if it has worked?
My System SpecsSystem Spec
.

08 Aug 2010   #24
Pusspa

 
 

Quote   Quote: Originally Posted by Nizz View Post
I think i managed to get it to mount... not sure but i understand the commands that need to be inputted now to get the thing working. I just have 3 questions:

1. Where are the files and how do i access them?
2. How do i get root privileges so that i can edit the fstab file?
3. How do i know if it has worked?
1/ the easy way for you to access the folders is by using the places menu, then the computer submenu. In Ubuntu, this brings up Nautilus which is like explorer in windows, then browse to the location you mounted the shared folders.

2/ typing sudo before any command will temporarily raise your privileges to root.

3/ you will know 'it' worked if you can access your shared folders.

good luck!
My System SpecsSystem Spec
09 Aug 2010   #25
Nizz

Windows 7 Professional 64bit + Ubuntu in Virtual Box
 
 

there, nailed it

but the sharing is kinda useless... all my music just completely invaded my /mnt folder....
My System SpecsSystem Spec
09 Aug 2010   #26
Pusspa

 
 

did you sudo mkdir /mnt/foldername then sudo mount -t vboxsf sharename mountpoint
for example if i sudo mkdir /mnt/music then if in virtualbox my name for the shared folder was mp3s i would just type sudo mount -t vboxsf mp3s /mnt/music it seems you mounted your shared folder to just /mnt from your description. i hope you are enjoying this linux tutorial!!
My System SpecsSystem Spec
09 Aug 2010   #27
Nizz

Windows 7 Professional 64bit + Ubuntu in Virtual Box
 
 

oh... ok... rookie mistake..

how can i make a shortcut to the mnt folder on the desktop?

figured it out
Thanks man..
PROBLEM SOLVED!
My System SpecsSystem Spec
09 Aug 2010   #28
Pusspa

 
 

i am happy to hear this... i hope u play with linux (i know this is a win7 forum)!!
My System SpecsSystem Spec
10 Aug 2010   #29
Night Hawk

W7 Ultimate x64/W10 Pro x64 dual boot main build-remote pc W10 Pro x64 Insider Preview/W7 Pro x64
 
 

Quote   Quote: Originally Posted by TheBull View Post
How do I enable file sharing between the host and Virtual systems?

EDIT: (solution)

Windows Virtual PC - Select Host Devices to Share
I'm glad to see you found what you were looking for with the guide there.

On VBox and other VM programs I've been trying to work things like this on them to see what can be done.
My System SpecsSystem Spec
Reply

 enable file sharing between the host and Virtual systems?




Thread Tools




Similar help and support threads
Thread Forum
No Option to enable file sharing in firewall?
Hey all, If I disable the windows firewall, I am able to turn on file sharing and network discovery. However, if I turn the firewall on, every time I try to enable file sharing and network discovery, they wont turn on.. I tried to go into the firewall settings and enable file sharing but...
Network & Sharing
Enable File and Printer Sharing via Group Policy or Registry
http://i.imgur.com/e5GWKam.png I really need this enabled on all of the computers on my network. Unfortunately they weren't enabled durring the initial setup process and now they are spread out across 5 branches in three cities, and I really don't want to have to remote to each one and enable it...
Network & Sharing
Do I need 8 gig just to host virtual OS's?
I am new to Virtual Box and was setting up openSUSE just to try it out. The wizard then seems to tell me that I must have 8 gig of space.... Is that correct? Thanks!
Virtualization
Can't Enable Printer & File Sharing
I have a Windows 7 Pro PC with Local Printer Installed & a Vista Ultimate PC that is networked to the Windows 7 local printer. All has been working fine until today when the Vista PC would not print. I deleted the networked printer in Vista & tried to re-add it but it cannot find the...
Network & Sharing
sharing devices in virtual xp to host
Hello folks sorry if this has been discussed before. What settings in the Host, Virtual PC program and within virtual XP do i need to share an xp only printer so that i can print to it from the host? is there a good tutorial for this? Thanks TJ
Virtualization


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 16:11.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App