Q: How do I upgrade/replace/clone my USB Flash drive/CF card running Embedded platform?
A: If your new USB FLash/CF is equal or bigger than original Flash/CF you can just copy from old one to new one. There are a couple of ways to do this.
First way:
Boot from old Flash/CF if XigmaNAS is down.
Insert the second/new Flash/CF stick. Old FLash/CF stick should be da0. New FLash/CF stick should be da1, check your dmesg log to make sure.
Copy old to new.
dd if=/dev/da0 of=/dev/da1 bs=16k
Shutdown and remove old FLash/CF
Boot from new FLash/CF
Second way:
Burn a LiveCD with the same XigmaNAS version you are running now on USB#1
Backup XigmaNAS configuration.
Install USB#2 and boot from Live CD.
Install XigmaNAS to USB#2, use same options as previous install to USB#1.
Boot from USB#2, assign interfaces and setup network.
Restore saved configuration and reboot.