So, to share folder D:\test (just as an example) on Windows host machine to Ubuntu 18.04 Virtualbox's guest machine (it's content should be available in /home/myusername/test directory) we make these steps:ġ) Start Ubuntu VM from VirtualBox interfaceĢ) Open "Shared Folder Settings" in the "devices" submenu of the started Ubuntu VM window's upper menu and set the shared folder name as "test" and the path as "/home/myusername/test" and fill the checkbox "Make Permanent"ģ) Install virtualbox-guest-dkms and virtualbox-guest-utils packages to Ubuntu VM with the package manager. We suppose that we already have the Ubuntu 18.04 VM installed and the linux user "myusername" with sudo permissions on this machine. But I'm gonna repeat my topic content partially and put here step by step instruction for someone struggling with this task like me. What am I missing, what is the way to make it work?Īfter a whole day of trying different solutions I finally found the missing ingredient. I see there is no /sbin/mount.vboxsf link present, I'm not sure if this is a problem, also I tried add my user to 'vboxsf' group with: sudo usermod -a -G vboxsf myusername I've got error: mount: /home/myusername/test: wrong fs type, bad option, bad superblock on /home/myusername/test, missing codepage or helper program or other error. Sudo mount -t vboxsf test /home/myusername/test Sudo apt-get install virtualbox-guest-dkmsĪnd checked that the package was installed with command: lsmod | grep -io vboxguestīut when I rebooted and tried to mount the shared folder with: mkdir -p /home/myusername/test Mac ubuntu virtualbox automount shared folder fails update#I looked for this file into other directories but had no success.Īfter that I tried to install Virtualbox-guest-additions from repository as was advised on ubuntu forum: sudo apt-get update But /media directory is empty so I have nothing to do with it. Mac ubuntu virtualbox automount shared folder fails iso#What is advised and what I've already tried:ġ) In the VM's menu I found 'devices' submenu and clicked 'Insert Guest Additions CD image' option after which the CD icon in the status bar was lit and shows that the CD is inserted and the path to iso is C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso (I checked that file really exists there).Ģ) In the same 'devices' VM's settings submenu I opened 'Shared Folder Settings' and added shared folder with name 'test' and path 'D:\test' which leads to the folder on my D: disk which contains test files.ģ) I reboot my Ubuntu VM and look into /media directory expecting to find /media/cdrom directory or something like this with file n in it, which should be run according to docs. In my case the host is Windows machine and guest is Ubuntu18.04 server machine. I've read docs and all questions about sharing folder from host machine to Virtualbox's guest machine and still can't get it working.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |