Need to clone 16GB partition on 128GB disk to 32GB disk - eviltoast

I’m not coming up with a lot of useful (clear) results when searching for a solution to this issue.

Is it OK to simply dd the 128GB disk to the 32GB disk using count to stop after the 16GB partition was cloned?

A bit more context: I had to clone a 16GB eMMC and only had a 128GB SD around. Now I purchased a 32GB eMMC and want to clone it again. The partition holds a root filesystem for an ARMv8 device. I don’t have the 16GB eMMC anymore, that would have been the easy way out.

    • Lucy :3@feddit.org
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      If it’s normal files, yeah. If the partition is complicated to replicate, or encrypted etc., then just dd’ing the partition would be easier