Shared folder addition: no errors, but no shared folder
Posted: 24. Aug 2018, 16:53
I have six virtual machines that I use daily. On five of them, the shared folder works great. On the sixth and newest one, it doesn't.
This is a Lubuntu 18.04 VM running on an Ubuntu 18.04 host. My VBox version is Version 5.2.18 r124319 (Qt5.9.5)
* The Guest Additions version 5.2.18 installed without error.
* My user is in the vboxsf group
* I have rebooted multiple times
When I go to add the shared folder using the Devices/Shared Folders/Shared Folders Settings dialog, it accepts the inputs and emits no errors.
Yet, when I go to /media, the expected /sf_VM-shared is not there.
Please suggest troubleshooting steps. What log file should I look in? I see nothing in syslog. Or is there a terminal command for adding the folder, so that I can watch the output?
I'm baffled because this gave me no trouble on the previous VMs.
Edit - after posting this, I discovered more information.
This VM is a dual booter - it has a 18.04 install on one virtual drive and a 16.04 install on another virtual drive. (This was done to test the config before applying it to my physical server).
I've discovered that when I add the shared folder, it is getting added to the *16.04 install* which is not the one that the VM boots into by default! (It has the lowest numbered partition, which is why it gets chosen, I assume)
The other VMs are not multi-boot, which explains why I didn't have this issue.
So my question is now: On a multi-boot VM, how do I specify which install's "/" gets the shared folder?
This is a Lubuntu 18.04 VM running on an Ubuntu 18.04 host. My VBox version is Version 5.2.18 r124319 (Qt5.9.5)
* The Guest Additions version 5.2.18 installed without error.
* My user is in the vboxsf group
* I have rebooted multiple times
When I go to add the shared folder using the Devices/Shared Folders/Shared Folders Settings dialog, it accepts the inputs and emits no errors.
Yet, when I go to /media, the expected /sf_VM-shared is not there.
Please suggest troubleshooting steps. What log file should I look in? I see nothing in syslog. Or is there a terminal command for adding the folder, so that I can watch the output?
I'm baffled because this gave me no trouble on the previous VMs.
Edit - after posting this, I discovered more information.
This VM is a dual booter - it has a 18.04 install on one virtual drive and a 16.04 install on another virtual drive. (This was done to test the config before applying it to my physical server).
I've discovered that when I add the shared folder, it is getting added to the *16.04 install* which is not the one that the VM boots into by default! (It has the lowest numbered partition, which is why it gets chosen, I assume)
The other VMs are not multi-boot, which explains why I didn't have this issue.
So my question is now: On a multi-boot VM, how do I specify which install's "/" gets the shared folder?