gerrescue.blogg.se

Ubuntu virtualbox shared folder
Ubuntu virtualbox shared folder








ubuntu virtualbox shared folder

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.

ubuntu virtualbox shared folder

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.

ubuntu virtualbox 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.

ubuntu virtualbox shared folder

  • Mounting the shared folder in the guest OS.
  • Install VirtualBox guest additions in guest OS.
  • I am using Ubuntu, but these commands will work on any Linux distribution.įor this, you will need to perform the below steps: So I am showing here those steps, which is needed to access the shared folder inside Linux based Guest OS. VirtualBox is one of the most used virtualization technology for various purposes.Īccessing the shared folder is very simple when the guest operating system is Windows, but it needs some extra work if you need to access the shared folder inside Linux based guest OS. Here in this HowTo article, I will show you how you can easily access the shared folder inside the Linux/ubuntu guest using VirtualBox.










    Ubuntu virtualbox shared folder