First post, by foxbat
I have old 250MB spinning drive with Windows 98 that I wish to clone to CF card. My host system on which I executes all steps is 64bit Fedora 36 Phenom II machine.
/dev/sdd is the spinning drive
/dev/sde is the CF
fdisk p command shows:
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/sdd1 * 35 491399 491365 239.9M 6 FAT16
then I used dd to save image of the drive:
dd if=/dev/sdd of=myimage
next I copied the image to the CF card
$ sudo dd if=myimage of=/dev/sde bs=1M status=progress
$ sync
After that fdisk of /dev/sde shows:
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x616e2069
Device Boot Start End Sectors Size Id Type
/dev/sde1 2037279855 3671775118 1634495264 779.4G 20 unknown
/dev/sde2 1330184192 1869160479 538976288 257G 20 unknown
/dev/sde3 538989391 1937352302 1398362912 666.8G 53 OnTrack DM6 Aux3
/dev/sde4 3909118566 3909183904 65339 31.9M bb Boot Wizard hidden
which is not that I would expect to see.
Not possible to boot legacy Pentium P54C with such a CF as a hard drive. But what is interesting when I switch on host system BIOS 'USB boot device' to 'Floppy mode' the CF boots up but stuck during boot because of wrong drive letter (A instead of C). Then when boot again host system with two CFs with same image on them it boots up successfully but hangs because this is 64bit machine.