Easybox - fresh openwrt does not persist changes

Hi, we just flashed our old easybox 803 with this image:
openwrt-19.07.3-lantiq-xway-arcadyan_arv752dpw22-initramfs-kernel.bin

it boots fine, we can log in etc. But any changes done to the root filesystem (like network config) are gone with the next reboot. I don't seem to have any overlay filesystem, can this be the cause?

root@OpenWrt:/# mount
rootfs on / type rootfs (rw,size=28140k,nr_inodes=7035)
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)
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)

Thanks for any help,

Best regareds, Raoul

Check dmesg and logread for clues why the overlay isn't mounted, as-is your changes are only done to RAM (tmpfs) and never hit the flash. Given the flash size (8 MB, with 7.68 MB used for kernel+rootfs) there should be enough free space (unless you built OpenWrt yourself and enabled too much cruft). Using sysupgrade -n /tmp/openwrt-*sysupgrade.bin to flash OpenWrt again wouldn't hurt either.

thanks for the tips.

when I do
dmesg | grep -i overlay there is nothing
same for logread.

I tryed a sysupgrade to
openwrt-19.07.3-lantiq-xway-arcadyan_arv752dpw22-squashfs-sysupgrade.bin

This worked!

when booting the upgraded system, I get:

root@OpenWrt:/# mount
/dev/root 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)
tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on / type overlay (rw,noatime,lowerdir=/,upperdir=/tmp/root/upper,workdir=/tmp/root/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)

and after reboot, changes are still there!

This question is solved!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.