Sharing clipboard and folders

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!

  1. Setting shared folder on Virtualbox
    1. Open Shared folder Setting from Devices$\rightarrow$Shared Folders...
    2. Click Add Shared Folder icon.
    3. 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.
  2. Mount shared folder on Ubuntu
    1. Open terminal
    2. Create a folder for sharing
      mkdir vbshare
      
    3. Type below command. Don't forget change **username** to your username.
      sudo mount.vboxsf -o uid=1000,gid=1000 vbshare /home/**username**/vbshare
      
    4. Check shared folders by creating new folders and files
  3. Setting for automatic mount
    1. Type below command to open the file /etc/rc.local
      sudo leafpad /etc/rc.local
      
    2. Editor window appears and you will see below.
      # By default this script does nothing.
      
      exit 0
      
    3. 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
      
    4. Save and close the editor
    5. Reboot Ubuntu
    6. Check shared folders by creating new folders and files

hiroshi
2011-01-12