5

I am running DosBox 0.74 on Linux Mint 18 and have an issue with trying to run certain built-in commands.

When using the dosbox-0.74.conf file to mount images, folder, etc., it works fine. However, I am unable to mount anything from within the DosBox prompt itself.

When trying to use the mount or imgmount commands, I get the error Illegal command: mount..

Even running help /all does not list these as available commands.

I seem to remember being able to use mount all the time in the past (and indeed, many tutorials found online still say to issue the mount command from within DosBox).

What am I missing?

6
  • Incidentally, I removed all my mount commands from the .conf file and I was able to issue mount commands within DosBox again. Does DOSBox only allow mounting in one place or the other?
    – Zephyr
    Commented Aug 22, 2017 at 3:15
  • What EXACTLY is the mount command you're trying to use, and what EXACTLY is the error you get. I set my path to null: "Z:\>path=", and ask dosbox what my path is: "Z:\>path" --> "PATH=(null)", and dosbox can still find the "mount" command. But if you unset Z, and switch to a different drive/directory, you'll get that exact error. At the dosbox prompt, enter "path=z:\". Then check if you can use mount. Commented Aug 15, 2018 at 2:52
  • 1
    I’m voting to close this question because it's about general computing, not gaming (I don't think DOSBox counts as gaming-specific software)
    – pppery
    Commented Jul 30, 2022 at 0:28
  • 1
    We do have a 'dosbox' tag, and its description reads that it is "primarily intended for playing older games".
    – Joachim
    Commented Jul 30, 2022 at 9:21
  • A bit unsure of this one. While dosbox's own website say it's primarily for games, I know you can do more with it. I've personally compiled the C code for Wolfenstein 3D using it and played it. I guess you can say that's somewhat gaming related too though? :)
    – Timmy Jim
    Commented Jul 30, 2022 at 11:29

2 Answers 2

2

The mount and imgmount commands exist on the virtual Z: drive within DOSBox. You need to either keep Z:\ in the PATH or specify the drive letter explicitly when running them. For example:

z:mount c c:\games
z:imgmount d c:\cdgame.iso -t iso
-2

Just restart Dosbox by rightclick on Dosbox and run as Administrator. Illegal command solved.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .