How to Mount a Hard Drive:
To get started we first need the letter of the hard drive you want to mount in Dosbox. Normally your main hard drive is the C: drive but you can double check by looking under "My Computer" in Windows.
Now assuming the drive letter is C: (although it can be other letters as well) lets look at the actual commands you will have to enter to allow Dosbox to see this drive.
mount d c:\
The last part "c:\" is the original drive letter you are changing, in this case you would be changing it to the drive letter "d".
How to Mount a Windows Directory as a Hard Drive:
You can also take a directory on your hard drive and trick DOS into thinking its its own drive. For instance lets say you store all your old dos games in the directory "c:\oldgames". Normally when you're at the C: drive prompt in Dosbox you would have to type "cd oldgames" to access this directory. Then you would have to type in an additional command to access the sub-directory where the game you wish to play is located (for example "cd pandora" if it was The Pandora Directive). This multi-step process would be shortened by simply making the "oldgames" directory the C: drive itself. Therefore when you are at the C: drive prompt you would only see the folders in the "c:\oldgames" directory, in this case it would be all your old DOS games.
Using the "c:\oldgames" directory mentioned above as an example, this is what the mount command would look like.
How to Mount a CD-ROM Drive:
Mounting a CD-ROM drive on your computer is very similar to the methods above, all you need is an extra command. So just like the methods used for a hard drive there is a "mount" command followed by the "assigned letter command" finally followed by the "location of the drive" command. The only difference would be the need for one additional command, "-t cdrom". This command allows Dosbox to make the distinction that this drive is a CD-ROM drive and not simply a hard drive.
Assuming the CD-ROM drive is "D:" on your computer here is what the mount command would look like.
How to Enter Any of These Mount Commands in Dosbox:
So now that you're more familiar with mounting drives in Dosbox the last question is where do you enter these commands? There is two answers to that question.
Method 1: The most basic way to enter these commands is when you open Dosbox and you're looking at the command prompt. This is an example of what that might look like.
Method 2: This is probably the better method for entering commands if you plan to enter them each time you run Dosbox. To avoid having to do this simply go into the folder where you keep the Dosbox program and find the dosbox.conf file. Right click on this file and select "open with" and choose notepad.
Now with the config file open scroll down to the bottom and find the section named [autoexec]. You can place your mount commands below this section title and not have to reenter them each time you run Dosbox. Here is an example of what mounting both a hard drive directory and a CD-ROM drive might look like.
Well hopefully I helped you get started in running your old games again. Enjoy and have a great weekend everyone!
FAQ:
The config file is missing what do I do?
The game won't run on Windows Vista. What should I do?
The game runs sluggish. Is there a way to improve this?
How do I make the game launch in fullscreen mode?
How do I change the amount of RAM available?
How do I mount a hard drive or CD-ROM drive in Dosbox?
How do I change my machine type in Dosbox?
How do I capture a screenshot during gameplay?
I can't download from Abandonia. What should I do?
I can't download from Home of the Underdogs. What should I do?
How do I close or exit Dosbox?


9 comments:
If you want to place all your mount commands in the config file so that they run when you start dosbox, does this mean all your games have to be in the same folder.
Eg i have jones.bat in c:\jones
i have disc.bat in c:\discwld
should i move them to one folder?
quote
>Eg i have jones.bat in c:\jones
>i have disc.bat in c:\discwld
>
>should i move them to one folder?
end quote
No I would not do this. Create a different config file for each game (or program). when you create your shortcut to start your game it should be like this:
dosbox -conf followed by the filename of the config
you can also add entrys to start the game and exit dosbox
But how to proceed when you have and image on virtual drive (my case : Gabriel knight II)
I have my config as follows,
[autoexec]
# Lines in this section will be run at startup.
H:\simc2000\simc2000
H:
cd simc2000
sc2000
When I run dos it says H drive does not exsist must mount,so I put
mount h h:\
it says drive h is mounted what do I do next?This has turned into a huge time sink but I think its funny and would like to know what to do.I have vista btw.
Thanks
Hi, it sounds like the game might have been installed on the H:\games\Simc200 but you are mounting only the H: drive. I'm not sure how you did the game files install but if this is the case the first line of mount h h:\ should be mount h h:\games\simc2000.
Best,
Glenn
Hi Athman there is a Dosbox Wikipedia page on this that might help you out:
http://www.dosbox.com/wiki/IMGMOUNT
Best,
Glenn
Howdy,
I have the config set up like so,
mount c c:\games\ty2000
c:
cd tyrian~1
tyrian2k
and it says drive C is mounted. Then, it shows
Z:\>c:
C:\>cd tyrian~1
Unable to change to: tyrian~1.
C:\>tyrian2k
Illegal command: tyrian 2K.
How can I get this to work?
Thanks,
Mike
Hi Mike, are you using the Abandonia download of the game or one from another site? I just reinstalled the Abandonia download and it worked like before.
Best,
Glenn
hey i have downloaded an iso file and extracted it to my c:\games\warcraft2. in dos i put
mount c c:\games\warcraft 2
c:
it says that the directory doesnt exist and neither does drive c. got no idea what is wrong.i dunno if i should try mounting the iso either. im using vista.
Post a Comment