Amiga.org

Operating System Specific Discussions => Amiga OS => Amiga OS -- Application questions and support => Topic started by: NinjaCyborg on January 23, 2021, 11:19:59 PM

Title: Best app for creating disk images?
Post by: NinjaCyborg on January 23, 2021, 11:19:59 PM
OK so DiskImage is brilliant for mounting disk images and working with them. But it can't create them (can it?) either empty ones or ripped from another disk. I'm not talking about ripping ADF or even DMS files, nor creating zip or lha archives. I am wondering what's the best tool that can rip a disk to a standard image format like img, iso, hdf or dmg?
Title: Re: Best app for creating disk images?
Post by: TribbleSmasher on January 23, 2021, 11:36:00 PM
None of those formats are actually standards as they vary in size and layout.
IMGs for example can mean really everything.
Same goes for a disk. if it is AmigaDOS you can use TSGui(tracksaver) and name the image whatever you want but it is a raw copy of the tracks of a floppy disk.
If you use it on harddrive partitions it will work but if you name the image .iso will not magically turn the image into a disc.

Btw, you can get TSGui here or from Aminet.
https://thomas-rapp.homepage.t-online.de/download.html
Title: Re: Best app for creating disk images?
Post by: NinjaCyborg on January 24, 2021, 08:31:55 AM
Can diskimage mount the output ? then yes that's what i want.
Title: Re: Best app for creating disk images?
Post by: Thomas on January 27, 2021, 03:08:48 PM
Can diskimage mount the output ?

Generally speaking yes. But if you work on harddisk partitions, it might depend on the file system used. SFS partitions for example become NDOS if the start sector changes. So if you make a single-partition HDF of an SFS partition, it won't mount because the start sector changes from whatever it was to 0.
Title: Re: Best app for creating disk images?
Post by: NinjaCyborg on January 27, 2021, 05:15:40 PM
Please elaborate.
Title: Re: Best app for creating disk images?
Post by: Thomas on January 28, 2021, 10:24:58 AM
Imagine you have an 8 GB harddrive with two partitions. The layout might look like this:

Code: [Select]
0  2016              3904992                                          15624000
+--+--------------------+----------------------------------------------------+
|PT|  System-Partition  |                Work-Partition                      |
+--+--------------------+----------------------------------------------------+
PT = Partiton Table


If you only image the System partition the image file will contain this:

Code: [Select]
0              3902976
+--------------------+
|  System-Partition  |
+--------------------+

And if you image only the Work partition the image file will be like this:

Code: [Select]
0                                             11719008
+----------------------------------------------------+
|                Work-Partition                      |
+----------------------------------------------------+


On the harddrive the partitions started at sector 2016 resp. 3904992. In the image files they start at the beginning of each file.

Title: Re: Best app for creating disk images?
Post by: NinjaCyborg on January 28, 2021, 05:51:45 PM
OK understood. But that's a problem how? If you want to restore image to disk you better restore whole disk image not single partition image, right?
Title: Re: Best app for creating disk images?
Post by: Pat the Cat on January 28, 2021, 07:50:29 PM
I think Thomas already said... it's not a problem when you make an HDF of a whole disk.

But it is a problem when you make an HDF of a partition which uses a filesystem like sfs, for the reasons stated.

He was just being thoughtful (as usual) because people casually reading the thread might think it's OK for all partitions.

As you specifically asked for a disk imager, not really an issue for you.
Title: Re: Best app for creating disk images?
Post by: NinjaCyborg on January 29, 2021, 08:35:40 AM
I appreciate all the advice folks, but more details are needed please.
Title: Re: Best app for creating disk images?
Post by: TribbleSmasher on January 29, 2021, 09:02:55 AM
For floppies (ADOS) you can use TSGui, for hdds (probably flash drives anyway) you can use ImageWriter(Win) and for discs ImageBurn or AnyToIso.

To create disc ISOs on Amiga you can use any authoring software for CDs, like BurnIt, FryingPan, MakeCD.
Title: Re: Best app for creating disk images?
Post by: kolla on January 30, 2021, 02:11:09 AM
http://aminet.net/package/util/sys/Dev-Handler

for mounting with diskimage.device, you need to write mountlist entries that match the filesystem on the image you wish to mount, witt right filesystem handler, the mentioned offsets etc.