# These tools are part of the Linux bash console. It is assumed, that the SD card appears # as /dev/sdd. You can verify it by listing the devices as follows: ls /dev/sd* WF 20230714 #---------------------------------------------------------------------------------------------------------- # To save the SD card drives A and B to an image file use this: sudo dd ibs=512 skip=N count=32768 if=/dev/sdd of=/home/wf/wftmp/image.mfm # To save the SD card drive A to an image file use this: sudo dd ibs=512 skip=N+16384 count=16384 if=/dev/sdd of=/home/wf/wftmp/image.mfm # To save the SD card drive B to an image file use this: sudo dd ibs=512 skip=N count=16384 if=/dev/sdd of=/home/wf/wftmp/image.mfm # To write the image file (Drive A and B, file size = 16.777.216 bytes) to the SD card use this: sudo dd obs=512 seek=N count=32768 if=/home/wf/wftmp/image.mfm of=/dev/sdd # To write the image file (Drive A, file size = 8.388.608 bytes) to the SD card use this: sudo dd obs=512 seek=N+16384 count=16384 if=/home/wf/wftmp/image.mfm of=/dev/sdd # To write the image file (Drive B, file size = 8.388.608 bytes) to the SD card use this: sudo dd obs=512 seek=N count=16384 if=/home/wf/wftmp/image.mfm of=/dev/sdd # To erase the floppy disk image (Drive A and B, file size = 16.777.216 bytes) from the SD card use this: sudo dd obs=512 seek=N count=32768 if=/dev/zero of=/dev/sdd # To erase the floppy disk image (Drive A, file size = 8.388.608 bytes) from the SD card use this: sudo dd obs=512 seek=N+16384 count=16384 if=/dev/zero of=/dev/sdd # To erase the floppy disk image (Drive B, file size = 8.388.608 bytes) from the SD card use this: sudo dd obs=512 seek=N count=16384 if=/dev/zero of=/dev/sdd #---------------------------------------------------------------------------------------------------------- # The skip and seek count is as follows: # BLKCNT is the total amount of 512byte blocks on the respective SD card. N = BLKCNT-32768 #Determine BLKCNT for example with this: sudo fdisk -l /dev/sdd ## The output of this command is for example like this; BLKCNT is 15523840: Platte /dev/sdd: 7948 MByte, 7948206080 Byte 4 Köpfe, 61 Sektoren/Spur, 63622 Zylinder, zusammen 15523840 Sektoren