On Sat, 16 Jan 2016 17:53:18 +0800, Bill Kenworthy wrote:

> It is possible to create a dd image of the whole SD card and mount it in
> a loopback to repartition etc.
> 
> Mount it then shrink your existing file system (and probably the
> partition too) to less than the required size, then recreate the dd
> image to a size still less than the new sd card.
> 
> On the new card, dd it across until it errors off, then fix/expand the
> partition and then the file system.  You dont care if the end is missing
> as long as your data is within the size needed.

I get the impression that Meino is trying to keep it as simple as
possible for the other user, so fixing after errors is not a good idea.
Otherwise you could do what you suggest with the original card, shrink the
filesystem and partition to fit a smaller card then create a dd image
that will overflow but should work.


-- 
Neil Bothwick

RISC: Reduced Into Silly Code

Attachment: pgpnj2F8SLj1Y.pgp
Description: OpenPGP digital signature

Reply via email to