Skip to content
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#2121 - firstboot -> "writing /dev/ubi0_2 failed: Operation not permitted" on home hub 5a #8411

Closed
openwrt-bot opened this issue Feb 11, 2019 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

jaimet:

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

@openwrt-bot
Copy link
Author

mkresin:

As a workaround, run mount_root before firstboot.

@openwrt-bot
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant