You have to install GuestAdditions beforehand.
After installing Sharing GuestAdditions sharing clipboard is enabled.
You don't have to do special things.
Sharing folders described below may be little difficult for Linux beginner.
But read and do carefully it isn't so difficult!
- Setting shared folder on Virtualbox
- Open Shared folder Setting from Devices
Shared Folders...
- Click Add Shared Folder icon.
- Set parameters
- Folder Path
- Shared folder place in Host OS.
- Folder Name
- Shared folder name which you want use in Ubuntu.
- Read-only
- Check this if you want.
- Make Permanent
- Check this to make the change permanent.
- Mount shared folder on Ubuntu
- Open terminal
- Create a folder for sharing
mkdir vbshare
- Type below command. Don't forget change **username** to your username.
sudo mount.vboxsf -o uid=1000,gid=1000 vbshare /home/**username**/vbshare
- Check shared folders by creating new folders and files
- Setting for automatic mount
- Type below command to open the file /etc/rc.local
sudo leafpad /etc/rc.local
- Editor window appears and you will see below.
# By default this script does nothing.
exit 0
- Insert 1 line you typed before like
# By default this script does nothing.
sudo mount.vboxsf -o uid=1000,gid=1000 vbshare /home/**username**/vbshare
exit 0
- Save and close the editor
- Reboot Ubuntu
- Check shared folders by creating new folders and files
hiroshi
2011-01-12