VOGONS


First post, by mhartzel

User metadata
Rank Newbie
Rank
Newbie

Hi All 😀

Ontrack Disk Manager mangles disk partitions in a way that prevents Linux from seeing where a partition starts. So there is no easy way to mount a FAT32 partition on a OTDM disk. I searched for a way for mounting these partitions on Linux but found nothing on the internet. I discovered this method myself so I thought I should document it here.

- Ontrack Disk Manager 9.57 from Phil's Computer Lab: https://www.philscomputerlab.com/ontrack-disk-manager.html
- Install Ontrack Disk Manager on the retro computer and create and format a single big partition as FAT32 and install os on it.
- Move the disk to a Linux computer and search for the start of the FAT32 partition by opening the disk (in this example: /dev/sde1) to a hex editor:

hexdump -C /dev/sde1 | less

- Search for FAT32 id string "MSWIN4". In my case the first occurrence of the "MSWIN4" string was not the beginning of the partition but the second one was.
- Count three bytes backwards from the beginning of the "MSWIN4" string and take a note of that hex address. In my case it was: 0xEA03 and the beginning of the partition was: 0xEA00.
- Convert the address to decimal (0xEA00 = 59904) and mount the partition using this number as offset to the start of the FAT32 partition:

mount -t vfat -o offset=59904 /dev/sde1 /mnt/

Done 😀 Now you can copy stuff to / from the partition and move the disk back to your retro DOS - machine.

Further reading:
https://wiki.osdev.org/FAT#FAT_32
https://en.wikipedia.org/wiki/Design_of_the_FAT_file_system

Reply 1 of 2, by 1541

User metadata
Rank Member
Rank
Member

Ontrack Disk Manager also has issues in modern Windows systems.
If you'd like to avoid such issues, I'd recommend
"EZ-Drive 9.06W" as ODD software. Its created FAT32 partitions can be accessed natively (at least in Windows 10, sorry couldn't test Linux).

💾 Windows 9x resources (drivers, tools, NUSB,...) 💾

Reply 2 of 2, by curggles@gmail.com

User metadata
Rank Newbie
Rank
Newbie

This should be a pinned thread.
I just found this as I wanted to find an easier way to put info onto my On Track drives for various 486 and older machines I have. They all have dos and win 31. I just made a quick image file in 86 box without ontrack and then one of the images of one of my ontrack drives for my 486 laptop. went through the no OnTrack image and found where the partition started and found MSDOS was there and was the first occurence. so searched for that in the OnTrack image it also was the first occurence of MSDOS. MSDOS was located at 0xFC03 or 64515 in decimal and after a little trial and error found the partition started at 0xFC00 or 64512.
Thent did
Sudo Mount -t vfat -o loop,offset=64512 Image.img /mnt/ast

Have yet to move data in or out then try back in the old 486 but it's quite promising.

Asus p55t2p4 PEntium 200, 48mb ram, Cirrus logic 5446 PCI, diamond monster voodoo 3d, ISA Asus vibra 16.
PCChips m321, am386 dx40, 4mb ram, trident 8900c ISA, Creative labs SB16 CT2230.
Ap43 Intel i486dx4-100 also have a amd am486dx2-66v16bcg.