Go to ‘Shared Folders’ option under virtual machine’s settings. Browse the Windows 7 folder or partition you want to share with Ubuntu.
Note: Any network between both Operating Systems not required.
1)VirtualBox Shared Folders in Ubuntu GuestNote down the Share Name. ‘Make Permanent’ option if you want all the time.
2) Guest OS will detect this share if guest additions installed and started properly. We have to mount this share inside Ubuntu guest. To do it, create a folder on any location.
lets say create a folder inside media folder called ‘ windows7share’
sudo mkdir windows7share
VirtualBox Shared Folders in Ubuntu Guest
3) Now we have to mount the VirtualBox shared folder to above folder with following command.
sudo mount -t vboxsf H_DRIVE /media/windows7share
VirtualBox Shared Folders in Ubuntu Guest
4) That’s it. It should work without any issues. You could see the all folders and files from particular Windows 7 partition. Creating files and folders from Ubuntu guest worked well and You can see them from Windows 7 too, because ‘Read Only’ option was not selected.
virtualization software
5) Once you restart this virtual machine, the above mount will disappear. To make this mount and virtualbox shared folder access permanent,
Make sure to select ‘ Make Permanent’ option in step 1.
Add the command used in Step 3 to /etc/init.d/rc.local file, to run the command every time when system starts up.
Hope this will help you