<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[FAQ: Is it possible to &quot;clone&quot; the firmware running on an Omega2 device and copy it to other Omega2 units?]]></title><description><![CDATA[<p dir="auto"><strong>Yes!</strong> The firmware, installed packages, and configuration of a device can be "cloned" and written to other devices.</p>
<p dir="auto">This method is useful for <strong>quickly</strong> deploying a fleet of devices for the same application. Ie you have a single device setup and working for the application, and want to quickly get dozens or hundreds more devices up and running doing the same thing. This is an alternative to building your own firmware.</p>
<h3>Pros and Cons</h3>
<p dir="auto"><img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--white_check_mark" title=":white_check_mark:" alt="✅" /> This cloning process serves as a quicker alternative to creating your own firmware from scratch using the build system (<a href="https://github.com/OnionIoT/source" rel="nofollow">https://github.com/OnionIoT/source</a>), which is more work intensive<br />
<img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/274c.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--x" title=":x:" alt="❌" /> If a factory restore is triggered on a cloned device, <strong>it will revert to the original firmware</strong>. Meaning it will look and behave like an Omega device coming from the factory.</p>
<h3>Overview of the Process</h3>
<ol>
<li>Create the clone image from the original device:
<ul>
<li>Set up device with all of the packages, files, and configuration that you'll need</li>
<li>Create a full filesystem image and copy it to external storage (usb drive, sd card, etc)</li>
</ul>
</li>
<li>Clone to other devices
<ul>
<li>Flash other Omega devices using the image</li>
<li>Run a script on the cloned device to restore its unique identifiers</li>
</ul>
</li>
</ol>
<h3>Step 1: Create the Clone Image from an Original</h3>
<ul>
<li>Set up an Omega2 device that will act as the original device. Meaning install all required packages, add files, perform configuration, etc
<ul>
<li>Take note of the firmware version the original device is running</li>
</ul>
</li>
<li>When ready, plug in a USB drive (or other external storage)</li>
<li>Navigate to the mounted USB drive<br />
<code>cd /mnt/sda1</code></li>
<li><strong>Create the image</strong><br />
<code>dd if=/dev/mtd3 of=&lt;IMAGE-NAME&gt;.bin</code></li>
</ul>
<blockquote>
<p dir="auto">We recommend using a version number or a date to easily differentiate the clone images, for example:<br />
<code>dd if=/dev/mtd3 of=/mnt/sda1/firmware-20200308.bin</code></p>
</blockquote>
<h3>Step 2: Clone other devices</h3>
<ul>
<li>Boot a target device</li>
<li>Make sure the target device is running the same firmware version as the original device</li>
<li>Plug in the USB drive</li>
<li>Navigate to the mounted USB drive<br />
cd /mnt/sda1</li>
<li>Flash the image<br />
<code>mtd -r write &lt;IMAGE-NAME&gt;.bin firmware</code></li>
<li>When the device reboots, restore the device's unique identifiers by running<br />
<code>updateHostname -f</code></li>
</ul>
<p dir="auto">Repeat Step 2 for all devices that you want to clone with the same setup as the original.</p>
]]></description><link>http://community.onion.io/topic/4563/faq-is-it-possible-to-clone-the-firmware-running-on-an-omega2-device-and-copy-it-to-other-omega2-units</link><generator>RSS for Node</generator><lastBuildDate>Tue, 16 Jun 2026 15:03:19 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/4563.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 Aug 2021 15:06:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FAQ: Is it possible to &quot;clone&quot; the firmware running on an Omega2 device and copy it to other Omega2 units? on Wed, 01 Sep 2021 21:14:10 GMT]]></title><description><![CDATA[<p dir="auto"><strong>Yes!</strong> The firmware, installed packages, and configuration of a device can be "cloned" and written to other devices.</p>
<p dir="auto">This method is useful for <strong>quickly</strong> deploying a fleet of devices for the same application. Ie you have a single device setup and working for the application, and want to quickly get dozens or hundreds more devices up and running doing the same thing. This is an alternative to building your own firmware.</p>
<h3>Pros and Cons</h3>
<p dir="auto"><img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--white_check_mark" title=":white_check_mark:" alt="✅" /> This cloning process serves as a quicker alternative to creating your own firmware from scratch using the build system (<a href="https://github.com/OnionIoT/source" rel="nofollow">https://github.com/OnionIoT/source</a>), which is more work intensive<br />
<img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/274c.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--x" title=":x:" alt="❌" /> If a factory restore is triggered on a cloned device, <strong>it will revert to the original firmware</strong>. Meaning it will look and behave like an Omega device coming from the factory.</p>
<h3>Overview of the Process</h3>
<ol>
<li>Create the clone image from the original device:
<ul>
<li>Set up device with all of the packages, files, and configuration that you'll need</li>
<li>Create a full filesystem image and copy it to external storage (usb drive, sd card, etc)</li>
</ul>
</li>
<li>Clone to other devices
<ul>
<li>Flash other Omega devices using the image</li>
<li>Run a script on the cloned device to restore its unique identifiers</li>
</ul>
</li>
</ol>
<h3>Step 1: Create the Clone Image from an Original</h3>
<ul>
<li>Set up an Omega2 device that will act as the original device. Meaning install all required packages, add files, perform configuration, etc
<ul>
<li>Take note of the firmware version the original device is running</li>
</ul>
</li>
<li>When ready, plug in a USB drive (or other external storage)</li>
<li>Navigate to the mounted USB drive<br />
<code>cd /mnt/sda1</code></li>
<li><strong>Create the image</strong><br />
<code>dd if=/dev/mtd3 of=&lt;IMAGE-NAME&gt;.bin</code></li>
</ul>
<blockquote>
<p dir="auto">We recommend using a version number or a date to easily differentiate the clone images, for example:<br />
<code>dd if=/dev/mtd3 of=/mnt/sda1/firmware-20200308.bin</code></p>
</blockquote>
<h3>Step 2: Clone other devices</h3>
<ul>
<li>Boot a target device</li>
<li>Make sure the target device is running the same firmware version as the original device</li>
<li>Plug in the USB drive</li>
<li>Navigate to the mounted USB drive<br />
cd /mnt/sda1</li>
<li>Flash the image<br />
<code>mtd -r write &lt;IMAGE-NAME&gt;.bin firmware</code></li>
<li>When the device reboots, restore the device's unique identifiers by running<br />
<code>updateHostname -f</code></li>
</ul>
<p dir="auto">Repeat Step 2 for all devices that you want to clone with the same setup as the original.</p>
]]></description><link>http://community.onion.io/post/23972</link><guid isPermaLink="true">http://community.onion.io/post/23972</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Wed, 01 Sep 2021 21:14:10 GMT</pubDate></item><item><title><![CDATA[Reply to FAQ: Is it possible to &quot;clone&quot; the firmware running on an Omega2 device and copy it to other Omega2 units? on Wed, 01 Sep 2021 13:33:55 GMT]]></title><description><![CDATA[<p dir="auto">Hey Lazar,</p>
<p dir="auto">This is exactly what i was hoping for, thanks for that!<br />
I guess this is just cloning and injecting the overlay into a "fresh" omega right?</p>
<p dir="auto">Are there any concerns about using the same firmware version on both source and target?</p>
<p dir="auto">I can imagine that you wouldn't want to clone that overlay (maybe containing older version packages) to a firmware thats newer than those packages?  Or the other way around... Any thoughts on that?</p>
<p dir="auto">I will keep on the safe side for now and will be checking for matching firmware versions using this method...</p>
<p dir="auto">Cheers, Tony</p>
]]></description><link>http://community.onion.io/post/23979</link><guid isPermaLink="true">http://community.onion.io/post/23979</guid><dc:creator><![CDATA[tony ter neuzen]]></dc:creator><pubDate>Wed, 01 Sep 2021 13:33:55 GMT</pubDate></item><item><title><![CDATA[Reply to FAQ: Is it possible to &quot;clone&quot; the firmware running on an Omega2 device and copy it to other Omega2 units? on Wed, 01 Sep 2021 21:21:38 GMT]]></title><description><![CDATA[<p dir="auto">Np!</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5225">@tony-ter-neuzen</a> said in <a href="/post/23979">FAQ: Is it possible to "clone" the firmware running on an Omega2 device and copy it to other Omega2 units?</a>:</p>
<blockquote>
<p dir="auto">I guess this is just cloning and injecting the overlay into a "fresh" omega right?</p>
</blockquote>
<p dir="auto">The target device can be not "fresh" since this will overwrite the overlay partition (on /dev/mtd3). But just to be safe try to make sure the target device is fresh.</p>
<p dir="auto"><em>For more info on openwrt flash layout, see this <a href="https://openwrt.org/docs/techref/flash.layout" rel="nofollow">OpenWRT Docs article</a></em></p>
<hr />
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5225">@tony-ter-neuzen</a> said in <a href="/post/23979">FAQ: Is it possible to "clone" the firmware running on an Omega2 device and copy it to other Omega2 units?</a>:</p>
<blockquote>
<p dir="auto">Are there any concerns about using the same firmware version on both source and target?</p>
</blockquote>
<p dir="auto">You raise a good point! I would recommend making sure you're using the same firmware version on both source and target. I've edited the procedure above to mention this.</p>
<p dir="auto">This process will only clone the overlay partition, that is, changes you've made to the device. This could potentially cause issues if the packages in the firmware of the target are a different version than on the source.</p>
]]></description><link>http://community.onion.io/post/23980</link><guid isPermaLink="true">http://community.onion.io/post/23980</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Wed, 01 Sep 2021 21:21:38 GMT</pubDate></item><item><title><![CDATA[Reply to FAQ: Is it possible to &quot;clone&quot; the firmware running on an Omega2 device and copy it to other Omega2 units? on Mon, 08 Nov 2021 14:05:04 GMT]]></title><description><![CDATA[<p dir="auto">Hi Lazar,</p>
<p dir="auto">After having the auto-provisioning up and running I still have a small imperfection in play.</p>
<p dir="auto">Whenever mtd -r write &lt;IMAGE-NAME&gt;.bin firmware finishes it does not do the -r because it complains about not being able to [e]rase a block. ...it exits with 1</p>
<p dir="auto">Writing from 20211027-pan35-blusser-9-5.bin to firmware ...<br />
[e]Failed to erase block</p>
<p dir="auto">mtd verify doesn't end well either.</p>
<p dir="auto">After a reboot the omega seems to be running my custom firmware happily, so I dont worry too much yet, but it keeps nagging</p>
<p dir="auto">I have followed the instructions closely, also tried a couple of times more to make a new .bin file using the dd method.</p>
<p dir="auto">This is how that runs:</p>
<p dir="auto">root@Pandora3-74F3:/mnt/mmcblk0# dd if=/dev/mtd3 of=20211108-pan35-blusser-9-5.bin<br />
64896+0 records in<br />
64896+0 records out</p>
<p dir="auto">Any idea where i should look?</p>
<p dir="auto">Thanks, Tony</p>
]]></description><link>http://community.onion.io/post/24106</link><guid isPermaLink="true">http://community.onion.io/post/24106</guid><dc:creator><![CDATA[tony ter neuzen]]></dc:creator><pubDate>Mon, 08 Nov 2021 14:05:04 GMT</pubDate></item><item><title><![CDATA[Reply to FAQ: Is it possible to &quot;clone&quot; the firmware running on an Omega2 device and copy it to other Omega2 units? on Fri, 23 Feb 2024 11:42:39 GMT]]></title><description><![CDATA[<p dir="auto">hi Lazar, it's me again.</p>
<p dir="auto">We have been working with OpenWRT 22.03 ever since you posted the good news "Beta OpenWRT 22.03 firmware available! Your feedback is needed"</p>
<p dir="auto">I have had a hard time deciding where to post this question since you asked for feedback elsewhere, but this is where it all started for us.</p>
<p dir="auto">The "dd if=/dev/mtd3 of=&lt;IMAGE-NAME&gt;.bin" trick has been great for a long time.We have cloned our product 100's of times with tthis method.</p>
<p dir="auto">However it seems that the "new" OpenWRT is not so forgiving about this trick.</p>
<p dir="auto">I've made a clone the same way as i did before, and all seemed well.</p>
<p dir="auto">However during the write on a fresh Omega2S+ things get really nasty.</p>
<pre><code>[  191.778153] jffs2: error: (483) jffs2_do_read_inode_internal: Argh. Special inode #16 with mode 0x2000 had more than one node
[  191.848147] jffs2: error: (483) jffs2_do_read_inode_internal: Argh. Special inode #16 with mode 0x2000 had more than one node
[  191.918210] jffs2: error: (483) jffs2_do_read_inode_internal: Argh. Special inode #16 with mode 0x2000 had more than one node
[  191.988187] jffs2: error: (483) jffs2_do_read_inode_internal: Argh. Special inode #16 with mode 0x2000 had more than one node
[  192.058167] jffs2: error: (483) jffs2_do_read_inode_internal: Argh. Special inode #16 with mode 0x2000 had more than one node
[  192.128210] jffs2: error: (483) jffs2_do_read_inode_internal: Argh. Special inode #16 with mode 0x2000 had more than one node
</code></pre>
<p dir="auto">this does NOT stop....</p>
<p dir="auto">after a very messy reboot a second firmware write with the same image makes everything good again</p>
<p dir="auto">Probably it's all very obvious but i don't know how to do it the right way.<br />
Using "mtd -r write &lt;IMAGE-NAME&gt;.bin firmware" definitely seems not to be the way anymore.</p>
<p dir="auto">I noticed that with an openwrt.bin you advise using sysupgrade -F -n -v &lt;SELECTED-FIRMWARE-IMAGE&gt;.bin (in your <a href="https://github.com/OnionIoT/OpenWRT-Packages/blob/openwrt-22.03/technical-doc.md#installing-the-firmware" rel="nofollow">technical doc</a> )</p>
<p dir="auto">I am not sure if i can use sysupgrade to write our clone, but my guess is no. (NOOOH!)</p>
<p dir="auto">I hope you can give us some advice, since i now need to provision 200+ fresh Omega2s+ devices with our nice and perfectly running OpenWRT 22.03 image...</p>
<p dir="auto">Thanks for the help... if you can offer any...</p>
<p dir="auto">Cheers, Tony</p>
<p dir="auto">PS,<br />
i'm also looking at how the openwrt-imagebuilder-wrapper works, maybe thats a better path... but it will take me a long while to migrate everything we have in that direction i'm afraid.<br />
Do you think that's the way to go in this case?</p>
]]></description><link>http://community.onion.io/post/25840</link><guid isPermaLink="true">http://community.onion.io/post/25840</guid><dc:creator><![CDATA[tony ter neuzen]]></dc:creator><pubDate>Fri, 23 Feb 2024 11:42:39 GMT</pubDate></item><item><title><![CDATA[Reply to FAQ: Is it possible to &quot;clone&quot; the firmware running on an Omega2 device and copy it to other Omega2 units? on Fri, 23 Feb 2024 16:06:32 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5225"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5225">@tony-ter-neuzen</a></a>, good to hear from you!</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5225"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5225">@tony-ter-neuzen</a></a> said in <a href="/post/25840">FAQ: Is it possible to "clone" the firmware running on an Omega2 device and copy it to other Omega2 units?</a>:</p>
<blockquote>
<p dir="auto">However during the write on a fresh Omega2S+ things get really nasty.</p>
</blockquote>
<p dir="auto">It's a strange error message, I haven't encountered it before.<br />
Was this the first time you tried cloning to a fresh device? Were you able to get it to work before this?</p>
<hr />
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5225"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5225">@tony-ter-neuzen</a></a> said in <a href="/post/25840">FAQ: Is it possible to "clone" the firmware running on an Omega2 device and copy it to other Omega2 units?</a>:</p>
<blockquote>
<p dir="auto">after a very messy reboot a second firmware write with the same image makes everything good again</p>
</blockquote>
<p dir="auto">To make it good again did you reflash the beta firmware or write the cloned partition again?</p>
<hr />
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5225"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5225">@tony-ter-neuzen</a></a> said in <a href="/post/25840">FAQ: Is it possible to "clone" the firmware running on an Omega2 device and copy it to other Omega2 units?</a>:</p>
<blockquote>
<p dir="auto">I noticed that with an openwrt.bin you advise using sysupgrade -F -n -v &lt;SELECTED-FIRMWARE-IMAGE&gt;.bin (in your technical doc )<br />
I am not sure if i can use sysupgrade to write our clone, but my guess is no. (NOOOH!)</p>
</blockquote>
<p dir="auto">Your guess is correct, sysupgrade can only be used with full firmware images, it doesn't work with clone partition images</p>
<hr />
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5225"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5225">@tony-ter-neuzen</a></a> said in <a href="/post/25840">FAQ: Is it possible to "clone" the firmware running on an Omega2 device and copy it to other Omega2 units?</a>:</p>
<blockquote>
<p dir="auto">i'm also looking at how the openwrt-imagebuilder-wrapper works, maybe thats a better path... but it will take me a long while to migrate everything we have in that direction i'm afraid.<br />
Do you think that's the way to go in this case?</p>
</blockquote>
<p dir="auto">Yes, we made the openwrt-imagebuilder-wrapper for exactly this purpose <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":)" alt="🙂" /><br />
It's very simple to set up and incredibly quick to run - it takes minutes to build a firmware image. We use it to build our beta firmware and we plan on using this to move forward.</p>
<p dir="auto">So I definitely recommend moving in this direction.</p>
<p dir="auto">The only wrinkle is that you'll need to have your customizations wrapped up as packages.<br />
As a stop-gap, you can add individual files to the firmware build (see <a href="https://github.com/OnionIoT/openwrt-imagebuilder-wrapper?tab=readme-ov-file#the-additions-directory" rel="nofollow">this section in the wrapper readme</a>) but in the long-term we recommend having your custom programs, configs, etc in packages.</p>
<p dir="auto">If you have questions about the imagebuilder wrapper, feel free to post in the <a href="https://community.onion.io/category/2/omega-talk" rel="nofollow">Omega2 Talk category</a> and I'll get back to you!</p>
]]></description><link>http://community.onion.io/post/25841</link><guid isPermaLink="true">http://community.onion.io/post/25841</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Fri, 23 Feb 2024 16:06:32 GMT</pubDate></item><item><title><![CDATA[Reply to FAQ: Is it possible to &quot;clone&quot; the firmware running on an Omega2 device and copy it to other Omega2 units? on Fri, 23 Feb 2024 17:07:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/95">@Lazar-Demin</a><br />
Thanks for the enthousiastic imagebuilder endorsement <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":)" alt="🙂" /><br />
i'll start doing my homework before i start asking questions about it...<br />
Sound like i need to learn a new skill.</p>
<p dir="auto">i'll try to elaborate on the nasty cloning problem first.</p>
<p dir="auto">I never got this to work "in one go" with "my own" cloned custom openwrt 22.03 on any occasion. I can reproduce the problem every time i "flash" a fresh omega this way (mtd write).</p>
<p dir="auto">I have a hunch it might break because the image is too big, filesize is 33226752, it seems like it does not finish the write completely and the os gets corrupted because of it.  I even saw "broken pipe" at one point.<br />
After a reboot into the cripple new os (with a lot of console complaining) i "mtd write" exactly the same custom image again and then it works out completely fine. (so the second writing is started from the first-flashed 22.03 "cripple" os)</p>
<p dir="auto">The woraround i found now is to first<br />
sysupgrade -F -n -v onion_omega2p-22.03.5-20240122.bin a fresh omega<br />
let that reboot and then<br />
mtd -r write pan230_v4.1-96_20240222.bin firmware</p>
<p dir="auto">This works, taking a LOT of precious extra time, but no nastyness.</p>
<p dir="auto">Needles to say it would be great to write in one go because of the time loss (times 200)</p>
<p dir="auto">This "not completely finishing the write" used to happen to the first clones we spoke about two years ago too, with the original onion os, they gave the error "[e]Failed to erase block" after writing, but they ended up running completely fine so i stopped thinking about it.</p>
]]></description><link>http://community.onion.io/post/25842</link><guid isPermaLink="true">http://community.onion.io/post/25842</guid><dc:creator><![CDATA[tony ter neuzen]]></dc:creator><pubDate>Fri, 23 Feb 2024 17:07:17 GMT</pubDate></item><item><title><![CDATA[Reply to FAQ: Is it possible to &quot;clone&quot; the firmware running on an Omega2 device and copy it to other Omega2 units? on Sat, 24 Feb 2024 11:11:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/95">@Lazar-Demin</a><br />
thanks for that little push toward the  image builder.</p>
<p dir="auto">i'm still curious why the old mtd write method does not work for me anymore, but i think its more useful to point my energy towards the new and improved method...</p>
<p dir="auto">I hope i still can bother you now and then, because i'm absolutely convinced i will find plenty of obstacles to be conquered <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--wink" title=";)" alt="😉" /></p>
<p dir="auto">On that note, would it be better to report in the git issues or to discuss in the  community?</p>
<p dir="auto">thanks, tony</p>
]]></description><link>http://community.onion.io/post/25849</link><guid isPermaLink="true">http://community.onion.io/post/25849</guid><dc:creator><![CDATA[tony ter neuzen]]></dc:creator><pubDate>Sat, 24 Feb 2024 11:11:08 GMT</pubDate></item><item><title><![CDATA[Reply to FAQ: Is it possible to &quot;clone&quot; the firmware running on an Omega2 device and copy it to other Omega2 units? on Sat, 02 Mar 2024 03:58:59 GMT]]></title><description><![CDATA[<p dir="auto">Ah I think this answers the question of why it doesn't work initially:<br />
<a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5225"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5225">@tony-ter-neuzen</a></a> said in <a href="/post/25842">FAQ: Is it possible to "clone" the firmware running on an Omega2 device and copy it to other Omega2 units?</a>:</p>
<blockquote>
<p dir="auto">The woraround i found now is to first<br />
sysupgrade -F -n -v onion_omega2p-22.03.5-20240122.bin a fresh omega<br />
let that reboot and then<br />
mtd -r write pan230_v4.1-96_20240222.bin firmware<br />
This works, taking a LOT of precious extra time, but no nastyness.</p>
</blockquote>
<p dir="auto"><strong>The target device needs to be running the same firmware version as the original device</strong>. (This is mentioned in <a href="https://community.onion.io/topic/4563/faq-is-it-possible-to-clone-the-firmware-running-on-an-omega2-device-and-copy-it-to-other-omega2-units" rel="nofollow">Step 2 in the original post</a>)</p>
<p dir="auto">The reason being the cloning only overwrites the <code>firmware</code> partition. If the rest of the partitions don't match, that opens to door to the nastiness you've been experiencing.</p>
<hr />
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5225"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5225">@tony-ter-neuzen</a></a> said in <a href="/post/25849">FAQ: Is it possible to "clone" the firmware running on an Omega2 device and copy it to other Omega2 units?</a>:</p>
<blockquote>
<p dir="auto">thanks for that little push toward the  image builder.</p>
</blockquote>
<p dir="auto">Glad you're finding it useful!!</p>
<hr />
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5225"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5225">@tony-ter-neuzen</a></a> said in <a href="/post/25849">FAQ: Is it possible to "clone" the firmware running on an Omega2 device and copy it to other Omega2 units?</a>:</p>
<blockquote>
<p dir="auto">I hope i still can bother you now and then, because i'm absolutely convinced i will find plenty of obstacles to be conquered<br />
On that note, would it be better to report in the git issues or to discuss in the  community?</p>
</blockquote>
<p dir="auto">Definitely! Always open to suggestions! <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":)" alt="🙂" /></p>
<p dir="auto">I think the community is good for general discussion, if there's something specific then open a github issue</p>
]]></description><link>http://community.onion.io/post/25883</link><guid isPermaLink="true">http://community.onion.io/post/25883</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Sat, 02 Mar 2024 03:58:59 GMT</pubDate></item></channel></rss>