Friday, May 8, 2020

How to share folders between Windows and Ubuntu running in Virtualbox

  1. Create a folder on window host machine e:\Win7SharedFolder
  2. Start vitrualbox >> Settings >> General >> Advance >> set Shared clipboard = Bidirectional ; Set Drag n Drop = Bidirectional 
  3. Start vitrualbox >> Settings >> Shared folder >> add new shared >> browse the folder e:\Win7SharedFolder
  4. Start the Linux Virtual machine >> Oracle VM virtualBox  menu >> Devices >> Insert Guest Additions CD Image  >> Install guest additon 
  5. Create a folder UbuntuSharedFolder on Ubuntu Home  
  6. On terminal run below command :  
        $ sudo mount -t vboxsf  Win7SharedFolder UbuntuSharedFolder


       keeping both folders same in windows and Linux also works like below: 
       $ sudo mount -t vboxsf  WinUbuntuShared  WinUbuntuShared

No comments:

Post a Comment