First confirm your Ubuntu-guest is not running from CD and its installed on harddisk of virtualbox.
Than you have to make sure that have install Guest Additions. From the VirtualBox's menu go to Devices → Install Guest Additions . This will Download and mount a virtual CD on your /media/cdrom. Normally this folder's window will show up. As root run the program autorun.sh. When the program completes reboot your VirtualBox.
With Guest Additions installed you may now go ahead and define the shared folder(s). From the VirtualBox's menu go to Devices → Shared Folders. A dialog will show up. In this dialog you can specify which folder from your Windows system you want to share with your Ubuntu. Press the button with the + symbol to add a new shared folder in the list. You will have to specify a Folder Name for each folder you add. Make sure you memorize that name because you will need it very soon.
When done with you shared folder(s) specification, you may now go ahead and actually mount these folders from Ubuntu. First you have to run a command to make it show up. Now, create a mount point, and then use the special mount syntax to actually "map" the folder to the shared VirtualBox folder.
Of course you may choose an alternative path for your mountpoint. With your mountpoint created you can now mount the shared folder, like this:
Where folder-name will be the name you assigned for this folder when you were adding it in the shared folders list.
Than you have to make sure that have install Guest Additions. From the VirtualBox's menu go to Devices → Install Guest Additions . This will Download and mount a virtual CD on your /media/cdrom. Normally this folder's window will show up. As root run the program autorun.sh. When the program completes reboot your VirtualBox.
With Guest Additions installed you may now go ahead and define the shared folder(s). From the VirtualBox's menu go to Devices → Shared Folders. A dialog will show up. In this dialog you can specify which folder from your Windows system you want to share with your Ubuntu. Press the button with the + symbol to add a new shared folder in the list. You will have to specify a Folder Name for each folder you add. Make sure you memorize that name because you will need it very soon.
When done with you shared folder(s) specification, you may now go ahead and actually mount these folders from Ubuntu. First you have to run a command to make it show up. Now, create a mount point, and then use the special mount syntax to actually "map" the folder to the shared VirtualBox folder.
sudo mkdir /media/windows-share
Of course you may choose an alternative path for your mountpoint. With your mountpoint created you can now mount the shared folder, like this:
sudo mount -t vboxsf folder-name /media/windows-share
Where folder-name will be the name you assigned for this folder when you were adding it in the shared folders list.
No comments:
Post a Comment