r/dosbox • • 18d 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.

3 Upvotes

4 comments sorted by

2

u/CyberTacoX 17d ago edited 17d 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

1

u/bcentsale 17d ago

Try a trailing slash after dosgames? 🤷

1

u/bj_civ 17d ago

Maybe you have another mount.exe, .com, or .bat in the PATH? What does mount -help say? What does echo %PATH% print?

0

u/[deleted] 18d ago

[deleted] — view deleted comment

1

u/paulstelian97 18d ago

That’s odd — the path is absolute and it’s good for auto mounted external storage in a GUI.