Hi guys,
unbelievable, but in spite of the red alert text in the first post, i managed to erase mtd1 and mtd2 on one of my Zyxel NSA320s when trying to install the rescue system (wanted to do everything quickly, since I need to go out for a while in a minute and copy and pasted the wrong commands ...).
Now the machine is still running and I have others with which I could try to remedy the situation if I only knew enough to do so. Therefore, here is what I believe to be the case:
a) mtd1 = uboot_env and mtd2 = key_store (from looking at fw_printenv)
b) uBoot is still there as it is in mtd0
fw_printenv still gives me the values I expect to see, but maybe it does not read directly from /dev/mtd1? What is/dev/mtd2 used for (key_store)? Can I reboot with it overwritten?
If not, will the following help:
1. Extract images of /dev/mtd1 and /dev/mtd2 from another NSA320 (will be a challenge, but google will be my friend ...)
2. Flash those images to the one currently under re-construction
Any help would be greatly appreciated, as always ...
unbelievable, but in spite of the red alert text in the first post, i managed to erase mtd1 and mtd2 on one of my Zyxel NSA320s when trying to install the rescue system (wanted to do everything quickly, since I need to go out for a while in a minute and copy and pasted the wrong commands ...).
Now the machine is still running and I have others with which I could try to remedy the situation if I only knew enough to do so. Therefore, here is what I believe to be the case:
a) mtd1 = uboot_env and mtd2 = key_store (from looking at fw_printenv)
b) uBoot is still there as it is in mtd0
fw_printenv still gives me the values I expect to see, but maybe it does not read directly from /dev/mtd1? What is/dev/mtd2 used for (key_store)? Can I reboot with it overwritten?
If not, will the following help:
1. Extract images of /dev/mtd1 and /dev/mtd2 from another NSA320 (will be a challenge, but google will be my friend ...)
2. Flash those images to the one currently under re-construction
Any help would be greatly appreciated, as always ...