Power & Source of Big Ideas

Create our own eflasher image from existing sd card

Moderators: chensy, FATechsupport

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!
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
Solution is already discussed here: http://www.friendlyarm.com/Forum/viewtopic.php?f=47&t=965

Who is online

In total there are 5 users online :: 0 registered, 0 hidden and 5 guests (based on users active over the past 5 minutes)
Most users ever online was 106 on Tue Jun 04, 2019 5:48 pm

Users browsing this forum: No registered users and 5 guests