How to Use a Shared Windows Folders in Ubuntu Guest on Virtualbox

Written by chris hoffman Google
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Use a Shared Windows Folders in Ubuntu Guest on Virtualbox
(Jupiterimages/Creatas/Getty Images)

VirtualBox is a virtualisation program that runs operating systems in other operating systems. VirtualBox also provides tools for sharing folders between virtualized operating systems and host operating systems. Use shared Windows folders with a Ubuntu guest in VirtualBox by installing the VirtualBox guest additions in the Ubuntu guest, configuring the shared Windows folders and mounting them in Ubuntu.

Skill level:
Moderate

Other People Are Reading

Instructions

  1. 1

    Open a Terminal in the Ubuntu guest by clicking \"Applications,\" \"Accessories\" then \"Terminal.\"

  2. 2

    Install Dynamic Kernel Module support by typing \"sudo apt-get install dkms\" into the Terminal window and hitting \"Enter.\" Type your password if prompted, then hit \"Enter.\"

  3. 3

    Click the \"Devices\" menu at the top of the Ubuntu VirtualBox virtual machine window, click \"Mount CD/DVD-ROM\" and click \"CD/DVD-ROM Image.\"

  4. 4

    Click \"Add\" in the \"Virtual Media Manager\" window, browse to \"C:\Program Files\Oracle\VirtualBox\" then double-click \"VBoxGuestAdditions.iso.\"

  5. 5

    Connect the ISO image to your Ubuntu guest by clicking it in the \"Virtual Media Manager\" window. Then click \"Select.\"

  6. 6

    Navigate to the mounted VBoxGuestAdditions directory in the Ubuntu Terminal. For example, type \"cd /media/VBoxGuestAdditions\" if Ubuntu choses \"VBoxGuestAdditions\" for the media file's name, then press \"Enter.\"

  7. 7

    Install VirtualBox Guest Additions by typing \"sudo sh ./VBoxLinuxAdditions-x86.run\" into the Terminal window, then pressing enter. Type \"sudo sh ./VBoxLinuxAdditions-amd64.run\" instead if your Ubuntu guest is 64-bit.

  8. 8

    Reboot the Ubuntu guest by clicking the menu at the top right of the Ubuntu window, then clicking \"Restart.\"

  1. 1

    Click the \"Devices\" menu at the top of the Ubuntu VirtualBox virtual machine window, then click \"Shared Folders.\"

  2. 2

    Click the \"Add\" button at the top right of the \"Shared Folders\" window.

  3. 3

    Click the down arrow in the \"Folder Path\" box, then click \"Other.\"

  4. 4

    Share a folder by browsing to it in the \"Browse For Folder\" window, clicking it then clicking \"OK.\"

  5. 5

    Click \"OK\" in the \"Add Share\" window, then click \"OK\" in the \"Shared Folders\" window.

  1. 1

    Open a Terminal in the Ubuntu guest by clicking \"Applications,\" \"Accessories\" then \"Terminal.\"

  2. 2

    Create a mount point for the Windows folder by typing \"sudo mkdir /media/foldername\" into the Terminal window, where \"foldername\" is any name you choose. Then press \"Enter.\"

  3. 3

    Mount a shared Windows folder by typing \"sudo mount -t vboxsf Folder /media/foldername,\" where \"Folder\" is the name of your shared folder. Then press \"Enter.\"

  4. 4

    Use the shared folder like you would any other folder. Navigate to it in the terminal by typing \"cd /media/foldername.\" Or browse to \"foldername\" under \"media\" in the graphical file browser.

Don't Miss

Filter:
  • All types
  • Articles
  • Slideshows
  • Videos
Sort:
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the eHow.co.uk site, you consent to the use of cookies. For more information, please see our Cookie policy.