by wryun · 1y ago · 0 comments
I see the fresh re-install suggestions probably work but that's tedious and risky.
I use arch, btw.
Do keep in mind that the OpenWRT backup does not contain information about which extra packages were installed after firstboot. I solved this adding a cron job which runs opkg list-installed > /etc/opkg_installed.txt and adding that last filepath to /etc/sysupgrade.conf so it gets added to backups.
ls /overlay/upper/usr/lib/opkg/info/*.list | sed -e 's/.*\///' | sed -e 's/\.list//' # mount|grep ext4
/dev/mapper/pve-vm--501--disk--0 on / type ext4 (rw,relatime,stripe=512)
The /overlay directory exists just like the /rom one does but they're empty: # ls -l /|grep -E 'overlay|rom'
drwxr-xr-x 2 root root 1024 Jan 27 23:53 overlay
drwxr-xr-x 2 root root 1024 Jan 27 23:53 rom
These are empty directories (there is a note file in /rom with some info for those using squashfs which is not applicable to these installations).