Tagged: VirtualBox "shared folders"
- This topic has 5 replies, 4 voices, and was last updated Dec 29-4:38 am by rayluo.
-
AuthorPosts
-
October 17, 2020 at 5:31 pm #43149Member
rolfarius
I have now antiX base 19 (32bit) running in the VirtualBox 6.1 as guest system and need a shared folder which is arranged in the settings of VirtualBox. But I cant find any option in the guest system to find the shared folder…
In this thread
unix.stackexchange.com/questions/286934/how-to-install-virtualbox-guest-additions-in-a-debian-virtual-machinetwo packages are mentioned:
apt install virtualbox-guest-dkms virtualbox-guest-x11 linux-headers-$(uname -r)
These packages are installed (the linux header of course also).
I never installed them separately but there are displayed as installed in synaptic, please see screenshot.Do I have to follow the instruction for Debian 9 from first answer?
Or better the ones from second answer?
hmm ..?Attachments:
October 17, 2020 at 5:40 pm #43153Anonymous
::(on the host system) must add your user to the “vboxsf” group
sudo usermod -aG vboxsf <your username>
* the change will not take effect until you restart the guest
As I recall, if you perform the installation of “guest additions” via the packageinstaller utility (rather than using commandline apt, or synaptic) it automagically handles the details.
searched the forum for “vboxsf” and found this screencap
October 17, 2020 at 6:42 pm #43164Anonymous
::related note:
I don’t know whether it’s supposed to happen automatcially…
when I occasionally want to enable the shared clipboard, from within the guest instance I type:
sudo VBoxClient --clipboardOctober 17, 2020 at 7:03 pm #43167Member
Xecure
::For VBox, I add
/usr/bin/VBoxClient-all &
to the startup file to get clipboard, dragging, etc. working. Doesn’t work on 32 bits with newest VBOX (the system completly freezes), but does on 64bits.antiX Live system enthusiast.
General Live Boot Parameters for antiX.October 18, 2020 at 5:16 pm #43239Member
rolfarius
::Thanks for that.
I saw in the User Manager that my user was already in the vbox group. I found than by further searching
sudo usermod -a -G vboxsf <username>
has to be done (also?) in the guest machine. I did so and it worked then.
But I have changed also the mount point of the shared folder in the guest system since before I had defined /home/useme/Pictures. So I have create a new folder exclusively as shared one (to be sure it works finaly).
Anyway there were no aditional software packages needed.December 29, 2021 at 4:38 am #74011Member
rayluo
::I’m writing to share a workaround.
In my setup, both my guest OS and the host OS are antiX. When I attempted the “Insert Guest Additions CD image…” operation, it failed with an error
Unable to insert the virtual optical disk /usr/share/virtualbox/VBoxGuestAdditions.iso into the machine ... Could not mount the media/drive '/usr/share/virtualbox/VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED). Result Code: NS_ERROR_FAILURE (0x80004005) ...That error was the same as this post, which also mentioned a possible reason “VERR_PDM_MEDIA_LOCKED, means something already resides in the drive and is locked so you can not add another until you remove what is there already”. That is likely the case, because my Guest OS was not a fully-installed antiX, I was merely booting the VM from an antiX CD iso for some quick experiment. That forum post was very long. I did not dig deeper. I ended up with a simpler alternative.
The alternative:
1. Verify that the guest OS can do “ssh your_username@the_ip_of_host”
2. Now, use the gFTP client which is shipped with antiX full version, connect to your host OS’s IP, and choose “SSH2” (instead of the default “FTP”) as the protocol.
3. There is no step 3. Now the gFTP already connected your host and guest. The file transfer speed between them feels equally fast as ftp! -
AuthorPosts
- You must be logged in to reply to this topic.
