Jump to content

Recommended Posts

Posted (edited)

I can not reiterate enough just how easy it is to "clone" your modified emmc, or microSD card OS, ... into an image file that you can easily restore with (balena)Ethcher afterwards, and all withiin Linux.

 

1:/ you'll need a USB-card-reader-adapter.

2:/ no matter how your USB-reader card reader sees your emmc, microSD card, ..., it'll most likely be mounted on a /dev/sda1 partition.

3:/ sudo dd bs=4M if=/dev/sda of=~/tmp/armbian_odroidc4_11_01_2025.img
(you don't dd the partition, you dd the drive).

4:/ (optionally) sudo xz -v armbian_odroidc4_11_01_2025.img  
(this will take some time).

 

...and that's it, ... and you know the rest.

Edited by rin
spacing
  • rin changed the title to Clone any Armbian emmc|microSD with dd using Linux
<
Posted (edited)

Very cool. I didn't realize it could be that easy. Great (but potentially slow) for making backups.

Here's the "tricky parts" that I'm still trying to figure out...

- cloning a larger drive that only has part of it used to a smaller drive that has room for the used part.

- changing the UUID/boot info so that you can clone a µSD to the eMMC and still have it boot from either one.

Edited by Meestor_X
Posted (edited)

That tool is great for backing up, but not doing the UUID/boot change I need. I have to see if I can find some documentation on how to copy and change the boot info as staring at the source code of armbian-install (where this is solved) is making my eyes hurt. 😉

Edited by Meestor_X

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines