What is the proper process of sysupgrading an generic X86 image with combined ext4fs root fs?
Every time I do sysupgrade, it wipes all the settings.
Embedded Wifi-routers don't seem to do that. They are able to keep settings.
So what would be the correct process to keep /etc when I have only one RW partition?
/dev/root on / type ext4 (rw,noatime)
/dev/nvme0n1p1 on /boot type vfat
It is annoying to update an headless X86 device that always resets to default.
Tried the squashfs image instead?
and what exactly is /dev/root, post fdisk -l ?
egc
4
I have a combined ext4 image and I upgrade via the GUI with keeping settings.
root@X86:~# df -T
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/root ext4 253800 90212 158348 36% /
tmpfs tmpfs 1019324 352 1018972 0% /tmp
/dev/sda1 vfat 16334 6610 9724 40% /boot
/dev/sda1 vfat 16334 6610 9724 40% /boot
tmpfs tmpfs 512 0 512 0% /dev
root@X86:~#
I make my own builds but otherwise use OWUT to upgrade.
Make sure you have set the proper root fs_size beforehand if you changed that see:
1 Like