Page 1 of 1

Create our own eflasher image from existing sd card

Posted: Tue Nov 28, 2017 7:33 am
by dado_2017
Hello everyone,

We plan to use around 100 units of your NanoPi NEO Air and we have a question: is it possible to clone the contents of sd card into eMMC of NanoPi? We need it because we have a good, well-tested system running from one sd card and now want to copy it to all 100 NanoPi's we have.

If yes, what is the procedure?

We've seen these links:
http://wiki.friendlyarm.com/wiki/index. ... n_eFlasher
https://github.com/Fourdee/DietPi/issues/862

We were not successfull in cloning from SDcard to eMMC:
eflasher, when started on NanoPi from SDcard, only suggests to setup a fresh copy of Debian or Ubuntu from the FriendlyARM folder; it does not attempt to clone the rootfs folder from the card's root.

Please suggest any solutions. That would help us to avoid a need for SDcards for our devices.

Thank you for your help!

Re: Create our own eflasher image from existing sd card

Posted: Tue Nov 28, 2017 5:26 pm
by @lex
There are some alternatives, depending on how you build your SD CARD (uImage, zImage and how you build your u-boot) you could:

a) Create your Image on a 8GB SD CARD size, boot from this SD CARD and do a 'dd' to copy the whole 8GB sd card image to eMMC (you need to have eMMC visible when booted from sd card), when finished, copy the correct booloader (u-boot and environment to boot from eMMC) to eMMC boot partition.

or

b) adapt https://github.com/armbian/build/blob/m ... ta-install to your needs or use Armbian

Re: Create our own eflasher image from existing sd card

Posted: Wed Nov 29, 2017 5:29 am
by Maroon5

Re: Create our own eflasher image from existing sd card

Posted: Wed Dec 06, 2017 7:08 am
by Xeye