aVd wrote on Today, 20:56:
Hi, Dave,
I know this thread is old, but I don't know where to write this, since your Image Disk IMD tool is mentioned in multiple threads.
IMD is very nice and handy DOS tool, thank you! Yesterday I used it for head number 1 (the one "on the upper side") alignment of a old 5.25" diskette drive and it worked very well. I also made a couple of image-files for some very old diskettes.
Always good to hear when people find IMD useful!
One thing I notices is, that it reads and tries to copy every sector, even if there's no file or file part on it and this way it also copies the bad sectors from the unused space on the diskettes. VGACOPY, which is not better do not try to image empty sectors at all, and this way can make a healthy image from partially broken floppy media, if the bad sectors are nor part of any file. Could, you include some option in IMD menu (selectable - on/off) for skipping the free space from imaging?
ImageDisk is all about copying ANY disk the PC hardware can read, I designed it to make backups of very old systems that existed long before DOS, Winblows, Linux etc. It knows nothing about FAT (or any other file system) and therefore cannot identify which sectors belong to files (or are otherwise used by an operating system) or not. ImageDIsk known all about the lowest level of a disk: Tracks, Density, Sectors, Interleave, various Gaps etc. and records information about what It found in the .IMD file.
It's purpose is to recreate as closely to exact a replica of the original disk read, not to "copy files".
ImageDisk doesn't keep bad sectors unless you have "Keep bad sectors" turned ON in Settings.
If however you recreate that disk, ImageDisk will only format and write the sectors that are in the image, therefore any "bad" sectors on the original disk that you read will not exist on the
new disk which means an OS won't be able to access them. (Keep in mind that not all OSs use the same low-level format, some have mixed density, some use "odd" sector numbering (ie: starting at other than 0 or 1, and with gaps in the sequence, non-standard methods of interleave etc.)
If you want a file by file copy of a disk, I urge you to use the standard COPY command/function for whatever OS you are using.
If for some reason you really want a .IMD of a disk that had unused bad sectors and want the .IMD to "look" like there are no bad sectors and all sectors are present, it is possible to create this:
- Read the "bad" disk into image A.IMD with "Keep bad sector" OFF
- Format a "good" blank disk to the same format as A - this will have all sectors, all blank
- Read this "good" disk into B.IMD
- Use IMageDisk Utility (IMDU) to merge the two .IMDs into a new one which will have all sectors from A.IMD, with any extra sectors from B.IMD inserted.
> IMDU A B C
C.IMD will have all content from A.IMD with bad/missing sectors added from B.IMD
Dave
- Dave ; https://dunfield.themindfactory.com ; "Daves Old Computers" ; SW dev addict best known:
ImageDisk: rd/wr ANY floppy PChardware can ; Micro-C: compiler for DOS+ManySmallCPU ; DDLINK: simple/small FileTrans(w/o netSW)via Lan/Lpt/Serial