

Since I became a full time independent software developer, I have frequently found myself working on very different software environments. If you face any problem, feel free to comment.VirtualBox is a powerful virtualization product that allows an unmodified operating system with all of its installed software to run in a special environment, on top of your existing operating system.

You can check it’s contents using ls, for example, ls /e. This will mount the shared folder at location /e in the Linux guest system. Steps for that is (For beginners: You don’t need to write $): $ cd /Įxecute the below command and it will mount it: /$ sudo mount -t vboxsf -o uid=1000,gid=50 e /e Here in this example, I have created a new folder named “e” in the root. Now the setup is completed, all we need to mount the shared folder.

sudo apt-get install linux-headers-$(uname -r) 3. Note: If you get an error, then probably Linux header is not installed, so install it in the guest machine using below command, and after that again execute the above commands. Now execute below commands in the same terminal: sudo chmod +x n sudo. It will automatically open the terminal and navigate to the folder, where files need to be installed are present. This will insert and mount the guest addition inside the Linux system. Now in your guest machine window, click on Devices and then click on Insert Guest Addition CD Image. So first your guest machine must be in running state. For example, I am sharing my entire E drive as a shared folder, like in the below image.Ģ. Open VirtualBox settings for your virtual machine (the guest Linux OS), and go to the shared folder section.

