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.

  • nickapos
    arrow-up
    2
    arrow-down
    1
    ·
    18 days ago
    link
    fedilink

    @InFerNo@lemmy.ml you should do the partition not the whole disk. Then create a new partition in the 32gb disk or mount the dd file with a loopback device and transfer the files to the whole 32gb disk

    • InFerNoOP
      arrow-up
      4
      arrow-down
      0
      ·
      18 days ago
      link
      fedilink

      It’s a root fs for an ARM device. I can’t simply copy the files over.

      • azron
        arrow-up
        3
        arrow-down
        1
        ·
        18 days ago
        link
        fedilink

        Is the system Linux? If so, then yes you can. Rsync it on to the newly created device get the uiid and fix up the fstab and boot loader configs and you are back in business.