Monday 15 June 2015

Linux: Share Folder between Guest Virtual Machine and Host Machine

Install Guest Additions for Virtual Machine inside virtual machine by selecting Device -> Insert Guest Addition CD Image Host+D

Make a folder in VM by selecting Machine -> Settings -> Shared Folder-> Click on Machine and press + icon: 


Give the path of Main machine’s folder you want to access and name it.

Give rights and ownership to the folder in VM

Execute below mentioned command as root user
mount –t vboxsf Share /Share


from vm go to created folder path and ls it you will get the content of the main machine’s folder.


Tags:
Red Hat Linux Virtual Machine VM Folder Share, Folder Share between host and guest machine