Debian server guest won't mount shared folder

Discussions related to using VirtualBox on Windows hosts.
Post Reply
emil78
Posts: 112
Joined: 15. Jun 2012, 11:28

Debian server guest won't mount shared folder

Post by emil78 »

My host machine is Windows 7 and i have guest machine with debian 10 server. I have setup shared folder and set the folder to be auto mounted, but when i start the guest machine the shared folder is not mounted. I tried to install the guest additions because i thought this could be the reason for the problem. I inserted the guest additions iso, but the iso file is also not mounted inside the debian server, even so i can see the iso is mounted in the tray icon. How to fix this?
emil78
Posts: 112
Joined: 15. Jun 2012, 11:28

Re: Debian server guest won't mount shared folder

Post by emil78 »

I found a way to install the guest additions, but the shared folder is still not mounted, so guest additions are not the issue.
emil78
Posts: 112
Joined: 15. Jun 2012, 11:28

Re: Debian server guest won't mount shared folder

Post by emil78 »

I think i fixed it. I installed new linux headers, and the folder still won't auto mount, but i can mount it with the command sudo mount -t vboxsf Shared /mnt
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Debian server guest won't mount shared folder

Post by scottgus1 »

Guest Additions are required to be installed in the guest OS for the shared folders set up through Virtualbox. (I call these Guest Additions Shared Folders, to differentiate them from real shared folders set up in the host or guest OS and shared over a Virtualbox network. Real shared folders do anything a normal shared folder can do. GASF's are for file transfer only. See section 4.3 in the Virtualbox manual.)

I don't know how to troubleshoot the automount function. It is discussed in the manual, and there are prerequisites for the automount folder access, see the manual.
Post Reply