New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FS#468 - Firstboot does not work on ZyXEL P-2812HNU-F1 (17.01.0-rc1) #7399
Comments
techsolx: Same issue, a few differences: Fully functional Chaos Calmer 15.05.1 on a Linksys 1900v2. Update to lede-17.01.4-mvebu-linksys-wrt1900acv2-squashfs-factory.img Unable to run firstboot as above. |
jeffsf: This appears to impact multiple devices -- the overlay is NOT erased on next mount, as indicated Seen on IPQ4019-based Linksys EA8300 (WIP) -- master, Linux 4.19
as well as being reported at Mir3G |
jeffsf: jffs2reset.c:
|
mpa: I can confirm the problem with firstboot for the BT Home Hub 5A and a current OpenWrt snapshot (r9851-d1739c6c9a). jffs2reset was made for a different filesystem. Please try this instead: |
jeffsf: The core of the problem here is that writing a JFFS2 mark to a UBIFS volume doesn't make any sense. |
jeffsf: Duplicated by |
Mijzelf:
After installing lede-17.01.0-rc1-r3042-ec095b5-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
After rebooting it had kept it's config.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
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
The text was updated successfully, but these errors were encountered: