It would be helpful to know how far you are off. That is, can you just
resize the partition or do you need to remove some content first? If
you really need to do a block-by-block copy, the debian resize2fs tool
can be used to shrink the partition ahead of updating the partition
table.[2] You'd need a bootable microSD card (non-flasher!!) to
perform the resize operation.

Typically, if you are working from an image that has
/opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh[1],
then you'd simply want to run that script on BBB1 to write the image
to a microSD card and then boot that microSD card on BBB2 to write to
the eMMC. This copies the appropriate files, but partitions and
formats the destination eMMC rather than doing a block-by-block copy
that could be why your image doesn't fit.

[1] 
https://github.com/RobertCNelson/boot-scripts/blob/master/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh
[2] http://lmgtfy.com/?q=shrink+partition+resize2fs

On Tue, Nov 17, 2015 at 6:06 AM, Fohnbit <[email protected]> wrote:
> Hello Joe,
>
> I need to backup eMMC from BBB1 and restore it on eMMC on BBB2.
> I have 2 BBB. One of the BBB has a different eMMC Chip and can“t copy the
> image from BBB1 to BBB2, because of insufficient space on BBB2.
>
> So I want to decrease the Image of BBB1.
>
> But not sure if it work with dd ?
>
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to