Difference between revisions of "Create a shared folder"

From Archivematica
Jump to navigation Jump to search
(Created page with 'Main Page > Virtual appliance instructions > Create a shared folder Creating a shared folder allows you to add files to a folder on the host machine and have them appear…')
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[Main Page]] > [[Virtual appliance instructions]] > Create a shared folder
 
[[Main Page]] > [[Virtual appliance instructions]] > Create a shared folder
  
Creating a shared folder allows you to add files to a folder on the host machine and have them appear in a folder in the virtual machine (VM).
+
Moved to [[Virtual_appliance_instructions#Import_files_into_virtual_machine_.28optional.29|Virtual appliance instructions: Import files into virtual machine (optional)]]
 
 
 
 
1. Create a folder on the host machine.
 
 
 
 
 
2. Set up the shared folder in VirtualBox
 
*From within the Sun VirtualBox application, select the current version of the Archivimatica appliance and click on the "Settings" button below the main menu bar. Note that the application must '''not''' be running in order to be able to slect the settings.
 
*From with the Settings dialog, select "Shared Folders" from within the "Details" tab.
 
*Click on the "Add Share" button on the right side of the window (the folder with the plus sign) and navigate to the folder you created in step 1. Give the shared folder a name that VirtualBox can use to identify it. The default is the name the folder already has in the host system; note that due to Linux limitations you should create a folder name that has no capital letters or special characters (such as underscores).
 
 
 
 
 
3. Mount the shared folder in the VM
 
*Launch the Archivimatica appliance in VirtualBox.
 
*Open a command line interface in Ubuntu: <ctrl><alt><F1>
 
*Login as demo
 
*Grant the demo account /root privileges by typing "sudo -s", and type the password "demo" when prompted
 
*Mount the shared folder by using the following command:
 
  mount -t vboxsf <folder name (the name you gave the folder in the Virtual Box Settings menu)> <filepath in Linux>. Example: mount -t vboxsf sharedfolder /home/demo/Documents
 
 
 
*type "exit" to exit from your root login
 
*type "exit" to exit from your demo login
 
*Return to the Gnome GUI <ctrl><alt><F7>
 
 
 
 
 
You should now be able to see and manipulate the contents of both folders from within both the host environment and the guest Ubuntu environment.
 
 
 
Note that if you power off or restart Ubuntu (as opposed to preserving the VM state when you end the session) you will need to re-mount the shared folder(s) when Ubuntu starts again.
 

Latest revision as of 13:12, 15 September 2009