That sounds strange. If it is a raw image it should be possible to mount using just specific offset and size.
If you try to mount directly with ImDisk command line control program, what happens if you for example:
imdisk -a -f "C:\AMI486\SCSI HD #4.img" -o shared,par -v 1 -m #:
imdisk -a -f "C:\AMI486\SCSI HD #4.img" -o shared,par -v 2 -m #:
imdisk -a -f "C:\AMI486\SCSI HD #4.img" -o shared,par -v 3 -m #:
imdisk -a -f "C:\AMI486\SCSI HD #4.img" -o shared,par -v 4 -m #:
imdisk -a -f "C:\AMI486\SCSI HD #4.img" -o shared,par -v 5 -m #:
imdisk -a -f "C:\AMI486\SCSI HD #4.img" -o shared,par -v 6 -m #:
imdisk -a -f "C:\AMI486\SCSI HD #4.img" -o shared,par -v 7 -m #:
etc. This should mount each partition using parameters it might find in the MBR partition table.
By entering this command below:
imdisk -a -f "C:\AMI486\SCSI HD #4.img" -o shared,par -v 1 -m K:
I can access the primary partition just fine. I can copy, rename and delete files without any problems.
When I enter this command below:
imdisk -a -f "C:\AMI486\SCSI HD #4.img" -o shared,par -v 5 -m K:
When I try to access the directories inside the first mounted logical drive this way, I can copy, rename or delete files without problems.
Here is the log output when I copy the files from drive I (the virtual CD-ROM) to drive K:
XXCopy log: https://pastebin.com/Tj7GzDWK
But when I access partition 6 (the second logical partition) by typing this command:
imdisk -a -f "C:\AMI486\SCSI HD #4.img" -o shared,par -v 6 -m #:
I get a message that reads:
Creating device...
Created device 6: K: -> C:\AMI486\SCSI HD #4.img
Notifying applications...
Done.
But when I try to access drive K: I get this instead:
You need to format the disk in drive K: before you can use it.
Do you want to format it?
ImDisk ends up NOT reading the file system on the second logical drive.
And when I remount the hard disk image again, this is what I get:
Select partition in disk image
Use entire image file
Primary partition 1 - 1.838 GB FAT16
Primary partition 2 - 5.998 Extended
Primary partition 3 - Unused
Primary partition 4 - Unused
Logical partition 1 - 1.999 GB FAT16
Logical partition 2 - 1.999 GB Extended
Logical partition 3 - Unused
Logical partition 4 - Unused
The disk image that I mounted has a primary partition (#1) and three logical drives (#5, #6 and #7). For some reason, the latest release of ImDisk isn't properly detecting more than one primary partition or one logical partition. ImDisk is supposed to detect three logical partitions, so something could be wrong with the code that doesn't allow ImDisk to display more than one primary or logical partition.
Edited by ppgrainbow, 16 November 2018 - 01:02 AM.