Firstboot does not work on ZyXEL P-2812HNU-F1 (17.01.0-rc1)
Username: anonymous
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=468
After installing lede-17.01.0-rc1-r3042-ec095b5b-lantiq-xrx200-P2812HNUF1-squashfs-sysupgrade.bin on top of Chaos-Calmer on my P-2812HNU-F1, it kept it’s old config, although I didn’t specify that
sysupgrade /tmp/lede.bin
After activating fail-safe I tried to use firstboot to drop the config, but it failed:
root@(none):~# firstboot This will erase all settings and remove any installed packages. Are you sure? [N/y] y /dev/ubi0_1 is not mounted /dev/ubi0_1 will be erased on next mount writing /dev/ubi0_1 failed: Operation not permitted
After rebooting it had kept it’s config.
Worked around it with
root@(none):~# mount_root switching to ubifs overlay root@(none):/rom/root# firstboot This will erase all settings and remove any installed packages. Are you sure? [N/y] y /dev/ubi0_1 is mounted as /overlay, only erasing files