OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version openwrt-18.06
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Jaime Towns - 11.02.2019

FS#2121 - firstboot -> "writing /dev/ubi0_2 failed: Operation not permitted" on home hub 5a

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]
/dev/ubi0_2 is not mounted
/dev/ubi0_2 will be erased on next mount
writing /dev/ubi0_2 failed: Operation not permitted

Project Manager
Mathias Kresin commented on 12.02.2019 06:26

As a workaround, run mount_root before firstboot.

Jeff Kletsky commented on 11.06.2019 22:44


Available keyboard shortcuts


Task Details

Task Editing