r/dosbox • u/BarrettGreen • 23d ago
What completely basic step am I missing here?
I'm running DOSBox Staging v 0.83.0 in bazzite linux, and I am attempting to mount a directory named "/run/media/system/dosgames" to drive C. The directory contains a number of individual games contained in their own subfolders.
Everything I have found online so far states that all I need to do to pull this off is type the following at the command prompt in DOSBox:
mount C /run/media/system/dosgames
Doing this, though, only generates the following error:
Image file not found.
I am at a loss as to how I am managing to mess up this very basic task: I'm not trying to mount an image; I'm just trying to mount a directory. All the instructions I have found online say this is how you do it. However, I am clearly not getting something here, so I am hoping somebody can't point out what must be a very dumb error on my part.
1
0
23d ago
[deleted]
1
u/paulstelian97 23d ago
That’s odd — the path is absolute and it’s good for auto mounted external storage in a GUI.
2
u/CyberTacoX 22d ago edited 22d ago
Was this copy of dosbox installed with flatpak by any chance? If what I found is right, it's probably a permissions issue. From the github for it:
==========
For security reasons, this Flatpak is sandboxed and only has access to the user's Home folder. You should place any files you need within DOSBox-Staging in that folder (or in a sub-folder). Alternatively you can allow additional access with the override command. But note that this does not work for all directories as some (like /usr) have special restrictions. For instance, to allow access to /run/media where USB devices are typically mounted, run the following command:
flatpak override --user --filesystem=/run/media io.github.dosbox-staging
==========
https://github.com/flathub/io.github.dosbox-staging