Tuesday, December 29, 2015

VirtualBox Shared Folder

Ubuntu VirtualBox Linux Distro Shared Folder


  1. Locate the VBoxGuestAdditions.iso in "/usr/share/virualbox"
  2. In the program, "Oracle VM VirtualBox Manager", for any VMs
    • Settings
      • Storage
        • Click on "Adds Optical Drive" and locate "VBoxGuestAdditions.iso"
      • Shared Folders
        • Click on "Adds new shared folder"
  3. Start the VM
  4. Run "Terminal"
    •  Terminal# cd /media/<cdrom>
      • (In this case it will be the iso file)
    • Terminal# sudo sh ./VBoxLinuxAdditions.run
  5. If the error, 'You do not have the permissions necessary to view the contents of "<folder>" ', occur
    • In GuestOS
      • Terminal# sudo adduser <GuestOS username> vboxsf
        • Verify the result by doing, "getent group vboxsf"
  6. Reboot the VM and gain access to the shared folder

No comments:

Post a Comment