carta
mkdiskimage(1)

mkdiskimage1

Create a blank ms-dos formatted hard disk image

Usage

mkdiskimage [-doFMz4] [-i id] file cyl head sect

Overview

This is a convenient tool to generate a hard disk image, pre-formatted according to the MS-DOS specification, and having stated properties.

A disk image named file will be created, large enough to have cyl cylinders, head heads, and sect sectors. Using -M, the value of cyl will instead be interpreted as size in MBytes.

Additional settings include ZIP type disks, FAT32 formatting, and the inclusion of an emulation header.

Options

-4

Use the fourth partition table entry. This is the standard for ZIP-disks.

-F

Format the partition using a FAT32 file system.

-M

The argument cyl is given in Megabytes. Recalculate this to get the count in cylinders.

-d

Add a DOSEMU header.

-i id

Specify the MBR identity field as id.

-o

Print to stdout the file system offset.

-z

Use a ZIP-disk geometry. This needs heads=64 and sect=32.

Homepage

More information about the Syslinux project can be found on the homepage at <http://www.syslinux.org/>.

History

  • Debian 13 (Trixie) to Debian 8 (Jessie): the text shown here
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze)

Author

mkdiskimage was written by H. Peter Anvin <[email protected]>.

This manual page was written by Mats Erik Andersson <[email protected]>.

From syslinux-utils 3:6.04~git20190206.bf6db5b4+dfsg1-3.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.