dd is kinda dumb. it does exactly what you tell it to do.dd cloning SN2700 image: from 256gb mSATA to a 64gb mSATA.
dd cloning operation is failing, here are the commands I have tried.
sudo dd status=progress if=/dev/sd256 of=/dev/sd64 bs=4096 conv=notrunc,noerror
sudo dd status=progress if=/dev/sd256 of=/dev/sd64 bs=512 count= 69206016
What is the proper command?
Do you know the exact block layout of the source drive? Since your target is smaller, you need to know where the partition boundaries are and what is empty space to skip/resize. The partition table if you just block copy the drive is going to specify end blocks that dont exist in the target drive.