Transferring OpenWrt on x86/64 by moving the SSD

I want to pull the SSD out of dual NIC AMD-based mini PC and use it instead an a more power efficient Intel-based mini PC. NICs are literally eth0 and eth1 in the current setup... any gotcha problems in doing this?

It's possible that the ethernet adapters in the "new" machine would be picked up in the "wrong" order, or not at all. You'll probably only know once you try.

I thought of that and will figure it out. I did build the image with intel firmware (removing AMD firmware). Both are x86-64-v3 CFLAGS so no conflicts there. Both use the igc kmod for their networks. Aside from the canonical naming of eth0 and eth1, I would think nothing else would be in play. Both mini PCs are pretty basic, dual NIC.

/etc/config/network and /etc/config/wireless (if applicable) will see differences in regards to the devices paths, it's better to delete them beforehand. The rest should be fine (famous last words).

Out of curiosity I checked, and none of my x86 devices has device paths in /etc/config/network. Where would they come from? USB ethernet adapters?

You're right, I was mixing it up with target/linux/x86/base-files/etc/board.d/02_network doing its magic.

1 Like

So yeah, beyond what I mentioned above, this swap was painless. Just have to make sure eth0 and eth1 are consistent between your two setups.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.