<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.dosbox.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cutop</id>
	<title>DOSBoxWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://www.dosbox.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cutop"/>
	<link rel="alternate" type="text/html" href="http://www.dosbox.com/wiki/Special:Contributions/Cutop"/>
	<updated>2026-05-05T20:21:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>http://www.dosbox.com/wiki/index.php?title=Drives&amp;diff=3024</id>
		<title>Drives</title>
		<link rel="alternate" type="text/html" href="http://www.dosbox.com/wiki/index.php?title=Drives&amp;diff=3024"/>
		<updated>2009-10-13T22:33:02Z</updated>

		<summary type="html">&lt;p&gt;Cutop: just fixing the mount link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;DOSBox, in an effort to emulate a DOS environment, needs some location to emulate a virtual Hard Drive.  Commonly MS-DOS users would be greeted with a &amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;C:\&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt; prompt once a computer is done booting. The hard drives currently in your system are most likely many times larger than the kinds of hard drives that existed back when MS-DOS was commercially available.  Also, they contain software that is not suited for DOSBox.  In order to create a realistic (and safe) environment to run your DOS software you should define a path somewhere on your hard disk that will be treated as a virtual hard disk.&lt;br /&gt;
&lt;br /&gt;
Note that upon starting DOSBox the prompt instead reads &amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;Z:\&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt; which is a virtual drive in memory (RAMDrive) where the OS Tools are stored. Users cannot write data to the Z:\ and it exists only for DOSBox purposes. See the [[ZDrive]] section for more information&lt;br /&gt;
&lt;br /&gt;
Navigation between different drives is done by typing &amp;lt;tt&amp;gt;C:&amp;lt;/tt&amp;gt; where C is the letter of the drive you wish to go to. By default DOSBox, like Windows, will detect [[Floppy|Floppy Drives]] connected via floppy cables as the A:\ and B:\ respectively.&lt;br /&gt;
&lt;br /&gt;
==Mounting a C: drive==&lt;br /&gt;
''More details on Mounting Drives may refer to'' [[MOUNT|Mount a Drive]] ''topic.''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It bears repeating that it's '''unsafe''' to mount one's entire drive into DOSBox, particularly if another OS is already installed on it. For that reason, it's recommended only to mount a subdirectory (subfolder) of the drive where DOS files will be stored and have DOSBox fool its games/applications into thinking that is the [[CDrive|C: drive]].  Ideal locations for a virtual hard disk are&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;C:\DOSROOT&lt;br /&gt;
MOUNT C C:\DOSROOT&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;~/DOSROOT&lt;br /&gt;
MOUNT C ~/DOSROOT&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mac OSX ===&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;~/DOSROOT&lt;br /&gt;
MOUNT C ~/DOSROOT&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== BeOS ===&lt;br /&gt;
&lt;br /&gt;
=== OS/2 ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that you can have more than one Drive defined if you want to recreate complex configurations, but it is generally easier to have a single drive that will be [[MOUNT|mounted]] as your C: drive.&lt;/div&gt;</summary>
		<author><name>Cutop</name></author>
	</entry>
	<entry>
		<id>http://www.dosbox.com/wiki/index.php?title=MOUNT&amp;diff=3023</id>
		<title>MOUNT</title>
		<link rel="alternate" type="text/html" href="http://www.dosbox.com/wiki/index.php?title=MOUNT&amp;diff=3023"/>
		<updated>2009-10-13T22:18:46Z</updated>

		<summary type="html">&lt;p&gt;Cutop: Added info about swap image and accessing changed files outside of DOSBox&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''MOUNT.COM''' is a command inside DOSBox that can connect physical folders and drives to [[Drives|virtual drives]] inside DOSBox.  The mounted drive does not automatically refresh files changed out side of DOSBox. You can refresh these files on all mounted drives by activating the Swap Image event (Hot key: ctrl F4).  To have access to changed files automatically map the drive as a floppy.&lt;br /&gt;
&lt;br /&gt;
When you enter the command MOUNT from the DOSBox prompt you should see&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;Z:\&amp;gt;MOUNT&lt;br /&gt;
Current mounted drives are:&lt;br /&gt;
Drive Z is mounted as Internal Virtual Drive&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To mount a folder as a drive, follow this basic template.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;MOUNT [Drive-Letter] [Local-Directory]&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The local directory can be specified relative to the working directory from which DOSBox was started.&lt;br /&gt;
&lt;br /&gt;
To unmount a drive, follow this basic template.&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;MOUNT -u [Drive-Letter]&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Usage Examples =&lt;br /&gt;
&lt;br /&gt;
== Windows ==&lt;br /&gt;
&lt;br /&gt;
=== Setting the amount of free space for a drive ===&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;Z:\&amp;gt;MOUNT C C:\DOSGAMES -freesize 1024&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mounting a folder from your harddrive ===&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;Z:\&amp;gt;MOUNT C C:\DOSGAMES&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mounting a floppy drive ===&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;Z:\&amp;gt;MOUNT A A:\ -t floppy&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mounting a CD-Rom drive ===&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;Z:\&amp;gt;MOUNT D D:\ -t cdrom&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Extra CD ROM options ===&lt;br /&gt;
 -t [floppy|cdrom] Define how the mounted folder should behave to the emulated operating system.&lt;br /&gt;
 -usecd [drive #]  For direct hardware emulation ie: audio playback, etc.&lt;br /&gt;
 -cd = Generate a list of local CD ROM drive's &amp;quot;drive #&amp;quot; values&lt;br /&gt;
 -label [name] = Set the volume name of the drive (all caps)&lt;br /&gt;
 -ioctl = Lowest level of hardware access (Win 2K, XP and Linux)...follows the -usecd command&lt;br /&gt;
 &lt;br /&gt;
 Z:\&amp;gt;MOUNT D D:\ -t cdrom -usecd 0 -ioctl -label GAME_CD&lt;br /&gt;
&lt;br /&gt;
=== Mounting an ISO-File as volume ===&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;Z:\&amp;gt;IMGMOUNT E C:\Images\MyImage.iso -t iso&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mounting a CUE/BIN-Pair as volume ===&lt;br /&gt;
If the game plays additional music tracks from the cd ([http://en.wikipedia.org/wiki/Mixed_Mode_CD mixed mode]), you can still mount it as an image file. Since ISO can only contain pure data, the image has to be in the [[Cuesheet|CUE/BIN format]]. You mount it with&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;Z:\&amp;gt;IMGMOUNT E C:\Images\MyImage.cue -t iso&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
The BIN-file has to be in the same folder as the CUE-file. It is also possible to use a cuescheet in combination with an ISO and [[Cuesheet|compressed audio tracks]] in OGG or MP3 format.&lt;br /&gt;
&lt;br /&gt;
=== Mounting Multiple Images (ISO or CUE/BIN) ===&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;Z:\&amp;gt;IMGMOUNT E C:\Images\MyImage1.iso C:\Images\MyImage2.iso -t iso&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When mounting multiple images (useful for any application which requires discs to be swapped while it is running), you can then switch between the mounted disk-images by pressing Ctrl+F4 (by default) while your application is running.&lt;br /&gt;
&lt;br /&gt;
== Linux ==&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;Z:\&amp;gt;MOUNT C ~/DOSGAMES&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;Z:\&amp;gt;MOUNT D /MEDIA/CDROM/ -T CDROM&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;Z:\&amp;gt;IMGMOUNT E ~/IMAGES/MYIMAGE.ISO -T ISO&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Mac OSX ==&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;Z:\&amp;gt;MOUNT C ~/DOSGAMES&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;Z:\&amp;gt;IMGMOUNT D ~/Documents/IMAGE.toast -t iso&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Using your mounted drive ==&lt;br /&gt;
To change to the newly mounted virtual drive simply type&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;[Drive-Letter]:&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example (If you mounted a Local-Directory to the Drive-Letter '''C''')&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;Z:\&amp;gt;C:&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cutop</name></author>
	</entry>
</feed>