firstboot -> "writing /dev/ubi0_2 failed: Operation not permitted" on home hub 5a
Username: Jaime Towns
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=2121
bt home hub 5a running OpenWrt 18.06.2
Boot into failsafe mode then “firstboot” results in:
writing /dev/ubi0_2 failed: Operation not permitted
Extra info:
root@(none):~# mount
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /dev type tmpfs (rw,nosuid,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
root@(none):~# cat /proc/mtd
dev: size erasesize name
mtd0: 000a0000 00020000 “u-boot” mtd1: 00020000 00020000 “uboot-env” mtd2: 00040000 00020000 “unused” mtd3: 07e80000 00020000 “ubi”
root@(none):~# firstboot
This will erase all settings and remove any installed packages. Are you sure? [N/y]
y
/dev/ubi0_2 is not mounted
/dev/ubi0_2 will be erased on next mount
writing /dev/ubi0_2 failed: Operation not permitted