3 ms·
Starting a few years ago I partition all my drives with two root partitions. Once is used and the other is blank. For precisely this reason. Sometimes it's e
by akira2501 2y ago
Starting a few years ago I partition all my drives with two root partitions. Once is used and the other is blank. For precisely this reason. Sometimes it's easier to just roll out a brand new stage3 onto the unused partition, build an entirely new root, and then just move over to that once it's finished.
The bonus is you can build your new system from your old system using just chroot. Very convenient.
- jasomill 2y agoSeveral OSes I use on a daily basis (FreeBSD, Fedora CoreOS, and Fedora Kinoite) adopt related strategies as part of their regular (binary) update processes: https://wiki.freebsd.org/BootEnvironments https://wiki.freebsd.org/BootEnvironments https://coreos.github.io/rpm-ostree/ https://coreos.github.io/rpm-ostree/
- naitgacem 2y agoAndroid adopted an approach in a similar spirit. https://source.android.com/docs/core/ota/ab https://source.android.com/docs/core/ota/ab