- Open VirtualBox
- Open setting of your guest OS Ubuntu
- Goto shared folders
- Click the "Add shred folder" button. Its the button on far right with a plus sign on folder.
- Give a folder name and the path you want to share.
- Select "Read-only" if you want the share to be read only.
- Now open your guest OS Ubuntu
- Once its on, open terminal and run the command
sudo mount.vboxfs name_of_your_shared_folder /mnt