Creating IDE disk images to use with Hatari
Posted: 31 Jan 2021 12:10
As a regular user of Hatari, I've used GEMDOS drives for a long time to give me hard disk like capabilities and the ability to easily exchange files with my PC.
Whilst this is extremely useful, I discovered that when I tried to install Freemint that GEMDOS drives were not supported, and I spent a lot of time messing around not knowing this.
I have since been able to install on a live system, but I thought it would be interesting to go back to Hatari and try again, but this time with a 'real' hard drive.
For this I'd need a hard drive image to replace my GEMDOS drive, so a quick trawl of the internet and I found a way.
It should be noted that for this process, you are creating an IDE drive and not an ACSI image and the two, as far as my testing has found, are not interchangeable.
The commands used for this image file creation are Linux based, however if you are a Windows user, as I am, all is not lost.
Follow the guide here: https://www.howtogeek.com/249966/how-to ... indows-10/ and you'll be able to install the Windows Linux Subsystem (WSL), which is what I'll be using here, specifically the Ubuntu shell.
Creating a drive image
The steps to create a drive are as follows:
1. On the C:\ drive of your windows machine, create a directory called "images".
2. Start your WSL command prompt.
3. In your WSL command prompt, change directory using the following command: cd /mnt/c/images. This will take us to the c:\images directory created in step 1.
4. Execute the command: dd if=/dev/zero of=1GBIDE bs=1024k count=1024. This will create a 1GB IDE image file called 1GBIDE.
The following shows all the above as I ran the commands.
Of course, if you happen to be using Linux, then you can skip the WSL steps above and do straight to step 4 in a directory of your choosing.
You can now add this image as an IDE drive in Hatari and partition as you would on a live machine. I personally use HDDRIVER as it gives me all the tools I need.
Be aware that you may run into problems if you still need to use a GEMDOS drive as the Hatari support for adding GEMDOS drives after 'real' drives is experimental.
As of writing this, I haven't tried a drive bigger than 1GB, but I will try and update here once I do.
That's it, have fun!
Other information can be found here: https://www.atari-forum.com/viewtopic.php?t=26093
Whilst this is extremely useful, I discovered that when I tried to install Freemint that GEMDOS drives were not supported, and I spent a lot of time messing around not knowing this.
I have since been able to install on a live system, but I thought it would be interesting to go back to Hatari and try again, but this time with a 'real' hard drive.
For this I'd need a hard drive image to replace my GEMDOS drive, so a quick trawl of the internet and I found a way.
It should be noted that for this process, you are creating an IDE drive and not an ACSI image and the two, as far as my testing has found, are not interchangeable.
The commands used for this image file creation are Linux based, however if you are a Windows user, as I am, all is not lost.
Follow the guide here: https://www.howtogeek.com/249966/how-to ... indows-10/ and you'll be able to install the Windows Linux Subsystem (WSL), which is what I'll be using here, specifically the Ubuntu shell.
Creating a drive image
The steps to create a drive are as follows:
1. On the C:\ drive of your windows machine, create a directory called "images".
2. Start your WSL command prompt.
3. In your WSL command prompt, change directory using the following command: cd /mnt/c/images. This will take us to the c:\images directory created in step 1.
4. Execute the command: dd if=/dev/zero of=1GBIDE bs=1024k count=1024. This will create a 1GB IDE image file called 1GBIDE.
The following shows all the above as I ran the commands.
Of course, if you happen to be using Linux, then you can skip the WSL steps above and do straight to step 4 in a directory of your choosing.
You can now add this image as an IDE drive in Hatari and partition as you would on a live machine. I personally use HDDRIVER as it gives me all the tools I need.
Be aware that you may run into problems if you still need to use a GEMDOS drive as the Hatari support for adding GEMDOS drives after 'real' drives is experimental.
As of writing this, I haven't tried a drive bigger than 1GB, but I will try and update here once I do.
That's it, have fun!
Other information can be found here: https://www.atari-forum.com/viewtopic.php?t=26093