I installed VirtualBox 6.1 on Windows 11 and created two VMs with a shared folder WinDok. But on both VMs I cannot find the shared folder.
In the log 10-36-31 I see
00:02:14.500072 SharedFolders host service: Adding host mapping
00:02:14.500104 Host path 'E:\WinDok', map name 'WinDok', writable, automount=true, automntpnt=, create_symlinks=false, missing=false
but I don't see /media/sf_WinDok.
After restarting the VM the log (11-57-10) has
00:00:03.146240 SharedFolders host service: Adding host mapping
00:00:03.146247 Host path 'E:\WinDok', map name 'WinDok', writable, automount=true, automntpnt=, create_symlinks=false, missing=false
but again there is no /media/sf_WinDok.
Shared Folders on MX Linux
-
- Posts: 53
- Joined: 3. Oct 2010, 12:24
- Primary OS: MS Windows other
- VBox Version: OSE other
- Guest OSses: MX Linux
Shared Folders on MX Linux
- Attachments
-
- HeraServer-2022-08-13-11-57-10.zip
- (21.24 KiB) Downloaded 6 times
-
- HeraServer-2022-08-13-10-36-31.zip
- (32.51 KiB) Downloaded 7 times
-
- Volunteer
- Posts: 832
- Joined: 14. Sep 2019, 16:51
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: WIN11,10, 7, Linux (various)
- Location: United Kingdom
Re: Shared Folders on MX Linux
Have you added the 'user' to the vboxsf group in the MX VMs?
-
- Posts: 53
- Joined: 3. Oct 2010, 12:24
- Primary OS: MS Windows other
- VBox Version: OSE other
- Guest OSses: MX Linux
Re: Shared Folders on MX Linux
yes, I did.
-
- Volunteer
- Posts: 832
- Joined: 14. Sep 2019, 16:51
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: WIN11,10, 7, Linux (various)
- Location: United Kingdom
Re: Shared Folders on MX Linux
The Logs appear to be incomplete. Possibly taken before the VM was completely shut down?
However, the first log (HeraServer-2022-08-13-11-57-10) does show configuration issues:
- After launching the VM use the VirtualBox Menu > Devices > Insert Guest Additions CD Image...
- Use the MX File Manager to select the CD drive and with its contents visible right click to launch Terminal
- In Terminal issue the command - sudo sh ./VBoxLinux Additions.run
- Watch for any error messages in terminal, but assuming all goes well on completion eject the 'CD' and reboot.
- Check that the user is listed as a member of the vbxxsf group; and then try to view the shared folder(s) again.
Also:
Please let us know how you get on.
However, the first log (HeraServer-2022-08-13-11-57-10) does show configuration issues:
This is probably the version distributed with the MX Linux installer and is well out of date, so might well be the cause of the shared folder problem. I suggest you update the guest additions, using the 'current' version provided with the VirtualBox installation.00:00:16.098372 VMMDev: Guest Additions information report: Version 6.0.0 r127566 '6.0.0'
- After launching the VM use the VirtualBox Menu > Devices > Insert Guest Additions CD Image...
- Use the MX File Manager to select the CD drive and with its contents visible right click to launch Terminal
- In Terminal issue the command - sudo sh ./VBoxLinux Additions.run
- Watch for any error messages in terminal, but assuming all goes well on completion eject the 'CD' and reboot.
- Check that the user is listed as a member of the vbxxsf group; and then try to view the shared folder(s) again.
Also:
You may need to increase to 2 CPUs if there is any lag in performance.00:00:02.580656 NumCPUs <integer> = 0x0000000000000001 (1)
Is 16 MB Video RAM really likely to be sufficient for the VM screen sizes/resolution you will want to use? I would max the allocation to 128 MB when the VM is shut down.00:00:02.580777 VRamSize <integer> = 0x0000000001000000 (16 777 216, 16 MB)
Please let us know how you get on.
-
- Posts: 53
- Joined: 3. Oct 2010, 12:24
- Primary OS: MS Windows other
- VBox Version: OSE other
- Guest OSses: MX Linux
Re: Shared Folders on MX Linux
Thank you.
I 'll report.
EgonF
I 'll report.
EgonF
-
- Posts: 53
- Joined: 3. Oct 2010, 12:24
- Primary OS: MS Windows other
- VBox Version: OSE other
- Guest OSses: MX Linux
Re: Shared Folders on MX Linux
Hi,
I destroyed HeraServer and created a new VM. I installed MX Linux. After restart I wanted to add the GuestAdditions. I have got this error:
Das virtuelle optische Medium C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso konnte nicht in das Laufwerk der Maschine HeraServer eingelegt werden.
Could not mount the media/drive 'C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).
Fehlercode: E_FAIL (0x80004005)
Komponente: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
Callee: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
I looked up Windows 11 Explorer. The file was blocked because the file is from another computer. I deblocked the file as an administrator. But after this I have got the above error.
I destroyed HeraServer and created a new VM. I installed MX Linux. After restart I wanted to add the GuestAdditions. I have got this error:
Das virtuelle optische Medium C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso konnte nicht in das Laufwerk der Maschine HeraServer eingelegt werden.
Could not mount the media/drive 'C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso' (VERR_PDM_MEDIA_LOCKED).
Fehlercode: E_FAIL (0x80004005)
Komponente: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
Callee: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
I looked up Windows 11 Explorer. The file was blocked because the file is from another computer. I deblocked the file as an administrator. But after this I have got the above error.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Shared Folders on MX Linux
The VERR_PDM_MEDIA_LOCKED error is common and can be web-searched. Basically, Linux likes to grab rrrreeeeaaaalllllllllyyy hard on its CD-ROMs, probably because they mount them to use them, and won't let the "CD drive" be opened. I'm not certain of the solution, but the web-search will provide the answer.
-
- Posts: 53
- Joined: 3. Oct 2010, 12:24
- Primary OS: MS Windows other
- VBox Version: OSE other
- Guest OSses: MX Linux
Re: Shared Folders on MX Linux
I could load the GuestAdditiions file and install the Additions.
Now SharedFolders work.
Thanks
Now SharedFolders work.
Thanks
-
- Volunteer
- Posts: 832
- Joined: 14. Sep 2019, 16:51
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: WIN11,10, 7, Linux (various)
- Location: United Kingdom
Re: Shared Folders on MX Linux
Thanks for letting us know that you've solved the problem. I suspect that the Guest Additions ISO file was held by another VM and needed to be released before it could be re-used.
Hope everything is working now.
Hope everything is working now.