atari-hd-image man page

atari-hd-image — tool for creating a harddisk image for use with Hatari


atari-hd-image size [filename] [partition name] [directory]


Create an ACSI/IDE harddisk image for Hatari with a single Atari compatible DOS partition (using sfdisk, mkdosfs, atari-convert-dir, mcopy and dd).



Harddisk image size in megabytes, 8-512.  512MB is largest partition size supported by TOS versions before v4.x and by mkdosfs (for Atari compatible partition formatting).


Name for the harddisk image (default: hd.img)

partition name

Name for the single partition (default: DOS)


directory for initial content copied to the image. HINT: use atari-convert-dir tool first, to detect long file names that aren't anymore unique when clipped!


16MB 'hd.img' HD image:

atari-hd-image 16

8MB image with partition named 'TEST', and files from content/:

atari-hd-image 8 8mb-disk.img TEST content/

See Also

atari-convert-dir(1), hmsa(1), zip2st(1), hatari(1), mkdosfs(1), sfdisk(1), dd(1)


Written by Eero Tamminen <oak at helsinkinet fi>.

This manual page was written by Teemu Hukkanen <> for the Debian project and later modified by Eero Tamminen to suit the latest version of Hatari.


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

No Warranty

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Referenced By

atari-convert-dir(1), hatari(1), hmsa(1), zip2st(1).

2015-04-26 Hatari utilities