Unable to mount / als read/write

Luca Bertoncello lucabert at lucabert.de
Fri Dec 30 07:38:58 PST 2022


Hi all!

After a power interrupt the /-directory is read-only:

/dev/mtdblock2 on /rom 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 /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlay
(ro,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts
(rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)

I already tried to remount it as rw, but it does not work:

root at OpenWrt:~# mount -o remount,rw /
mount: /: cannot remount overlayfs:/overlay read-write, is write-protected.

Can someone help me?

Thanks
Luca Bertoncello
(lucabert at lucabert.de)



More information about the openwrt-devel mailing list