Difference between revisions of "IMGMOUNT"

From DOSBoxWiki
Jump to navigationJump to search
(New page: (excerpt from official DOSBox Readme) IMGMOUNT A utility to mount disk images and CD-ROM images in DOSBox. IMGMOUNT DRIVE [imagefile] -t [image_type] -fs [image_format] ...)
 
Line 1: Line 1:
 
(excerpt from official DOSBox Readme)
 
(excerpt from official DOSBox Readme)
  
IMGMOUNT
+
=IMGMOUNT=
  A utility to mount disk images and CD-ROM images in DOSBox.
+
A utility to mount disk images and CD-ROM images in DOSBox.
 
 
  IMGMOUNT DRIVE [imagefile] -t [image_type] -fs [image_format]
 
            -size [sectorsbytesize, sectorsperhead, heads, cylinders]
 
  
  imagefile
+
<code>IMGMOUNT DRIVE [imagefile] -t [image_type] -fs [image_format]<br/>
      Location of the image files to mount in DOSBox. The location can
+
-size [sectorsbytesize, sectorsperhead, heads, cylinders]</code>
      be on a mounted drive inside DOSBox, or on your real disk. It is
+
 
      possible to mount CD-ROM images (ISOs or CUE/BIN) as well, if you
+
;imagefile: Location of the image files to mount in DOSBox. The location can be on a mounted drive inside DOSBox, or on your real disk. It is possible to mount multiple (e.g. <code>"~/images/CD1.cue ~/images/CD2.cue [...] ~images/CDn.cue"</code>) CD-ROM images (ISOs or CUE/BIN) as well, if you need CD swapping capabilities specify all images in succession. The CDs can be swapped with CTRL-F4 at any time.
      need CD swapping capabilities specify all images in succession.
 
      The CDs can be swapped with CTRL-F4 at any time.
 
 
    
 
    
  -t  
+
;-t: The following are valid image types:
      The following are valid image types:
+
:;floppy: Specifies a floppy image or images. DOSBox will automatically identify the disk geometry (360K, 1.2MB, 720K, 1.44MB, etc).
        floppy: Specifies a floppy image or images. DOSBox will automatically  
+
:;iso: Specifies a CD-ROM iso image.  The geometry is automatic and set for this size. This can be an iso or a cue/bin.
                identify the disk geometry ( 360K, 1.2MB, 720K, 1.44MB, etc).
+
:;hdd: Specifies a harddrive image. The proper CHS geometry must be set for this to work.
        iso:   Specifies a CD-ROM iso image.  The geometry is automatic and  
 
                set for this size. This can be an iso or a cue/bin.
 
        hdd:   Specifies a harddrive image. The proper CHS geometry  
 
                must be set for this to work.
 
  
  -fs  
+
;-fs: The following are valid file system formats:
      The following are valid file system formats:
+
:;iso: Specifies the ISO 9660 CD-ROM format.
        iso: Specifies the ISO 9660 CD-ROM format.
+
:;fat: Specifies that the image uses the FAT file system. DOSBox will attempt to mount this image as a drive in DOSBox and make the files available from inside DOSBox.
        fat: Specifies that the image uses the FAT file system. DOSBox will attempt
+
:;none: DOSBox will make no attempt to read the file system on the disk. This is useful if you need to format it or if you want to boot the disk using the BOOT command. When using the "none" filesystem, you must specify the drive number (2 or 3, where 2=master, 3=slave) rather than a drive letter. For example, to mount a 70MB image as the slave drive device, you would type: <code>"imgmount 3 d:\test.img -size 512,63,16,142 -fs none"</code> (without the quotes). Compare this with a mount to read the drive in DOSBox, which would read as: <code>"imgmount e: d:\test.img -size 512,63,16,142"</code>.
              to mount this image as a drive in DOSBox and make the files  
 
              available from inside DOSBox.
 
        none: DOSBox will make no attempt to read the file system on the disk.
 
              This is useful if you need to format it or if you want to boot  
 
              the disk using the BOOT command. When using the "none"  
 
              filesystem, you must specify the drive number (2 or 3,  
 
              where 2 = master, 3 = slave) rather than a drive letter.
 
              For example, to mount a 70MB image as the slave drive device,  
 
              you would type:
 
                "imgmount 3 d:\test.img -size 512,63,16,142 -fs none"  
 
                (without the quotes) Compare this with a mount to read the  
 
                drive in DOSBox, which would read as:  
 
                "imgmount e: d:\test.img -size 512,63,16,142"
 
  
  -size  
+
;-size: The Cylinders, Heads and Sectors specification of the drive. Required to mount hard drive images. An example how to mount CD-ROM images:
    The Cylinders, Heads and Sectors specification of the drive.
+
:#<code>"mount c /tmp"</code>
    Required to mount hard drive images.
+
:#<code>"imgmount d c:\myiso.iso -t iso"</code> or (which also works):
   
+
:#<code>"imgmount d /tmp/myiso.iso -t iso"</code>
  An example how to mount CD-ROM images:
 
    1a. mount c /tmp
 
    1b. imgmount d c:\myiso.iso -t iso
 
  or (which also works):
 
    2. imgmount d /tmp/myiso.iso -t iso
 
  
 
(excerpt from official DOSBox Readme)
 
(excerpt from official DOSBox Readme)

Revision as of 10:11, 9 January 2008

(excerpt from official DOSBox Readme)

IMGMOUNT

A utility to mount disk images and CD-ROM images in DOSBox.

IMGMOUNT DRIVE [imagefile] -t [image_type] -fs [image_format]
-size [sectorsbytesize, sectorsperhead, heads, cylinders]

imagefile
Location of the image files to mount in DOSBox. The location can be on a mounted drive inside DOSBox, or on your real disk. It is possible to mount multiple (e.g. "~/images/CD1.cue ~/images/CD2.cue [...] ~images/CDn.cue") CD-ROM images (ISOs or CUE/BIN) as well, if you need CD swapping capabilities specify all images in succession. The CDs can be swapped with CTRL-F4 at any time.
-t
The following are valid image types:
floppy
Specifies a floppy image or images. DOSBox will automatically identify the disk geometry (360K, 1.2MB, 720K, 1.44MB, etc).
iso
Specifies a CD-ROM iso image. The geometry is automatic and set for this size. This can be an iso or a cue/bin.
hdd
Specifies a harddrive image. The proper CHS geometry must be set for this to work.
-fs
The following are valid file system formats:
iso
Specifies the ISO 9660 CD-ROM format.
fat
Specifies that the image uses the FAT file system. DOSBox will attempt to mount this image as a drive in DOSBox and make the files available from inside DOSBox.
none
DOSBox will make no attempt to read the file system on the disk. This is useful if you need to format it or if you want to boot the disk using the BOOT command. When using the "none" filesystem, you must specify the drive number (2 or 3, where 2=master, 3=slave) rather than a drive letter. For example, to mount a 70MB image as the slave drive device, you would type: "imgmount 3 d:\test.img -size 512,63,16,142 -fs none" (without the quotes). Compare this with a mount to read the drive in DOSBox, which would read as: "imgmount e: d:\test.img -size 512,63,16,142".
-size
The Cylinders, Heads and Sectors specification of the drive. Required to mount hard drive images. An example how to mount CD-ROM images:
  1. "mount c /tmp"
  2. "imgmount d c:\myiso.iso -t iso" or (which also works):
  3. "imgmount d /tmp/myiso.iso -t iso"

(excerpt from official DOSBox Readme)