How do you want to supply the replacement or control the replacement? Are you accessing the machine via keyboard, network, VNC, SSH? Does the device have physical space for USB?
I assume from the general question, you are planning and are not locked into anything. There is one basic roadblock. Your file system is based on Ext4 and you cannot replace the partition while booted from the partition. You need to boot from somewhere else. That means two partitions on the one storage device or two devices plus a dual boot configuration.
Lots of people in the Linux Mint forums dual boot multiple Linux distributions on the one SSD. I have not tested a Pi OS equivalent. If you use a 64 GB microSD and replace it with a 128 GB microSD, you could dual boot. You can then replace the image in the partition you are not booted to.
Take it a step further. Split the 64 GB partition into /, /home/, swap, etc. You can then have multiple partitions for / that are only 20 GB. You could have four OS images on a 128 GB card. Boot to each version as needed. Redundancy in case one fails.
Each variation could be on a different USB device.
Then you have the question of how you start a reboot and how you select a different option when rebooting. How are you accessing and controlling the machine?
I assume from the general question, you are planning and are not locked into anything. There is one basic roadblock. Your file system is based on Ext4 and you cannot replace the partition while booted from the partition. You need to boot from somewhere else. That means two partitions on the one storage device or two devices plus a dual boot configuration.
Lots of people in the Linux Mint forums dual boot multiple Linux distributions on the one SSD. I have not tested a Pi OS equivalent. If you use a 64 GB microSD and replace it with a 128 GB microSD, you could dual boot. You can then replace the image in the partition you are not booted to.
Take it a step further. Split the 64 GB partition into /, /home/, swap, etc. You can then have multiple partitions for / that are only 20 GB. You could have four OS images on a 128 GB card. Boot to each version as needed. Redundancy in case one fails.
Each variation could be on a different USB device.
Then you have the question of how you start a reboot and how you select a different option when rebooting. How are you accessing and controlling the machine?
Statistics: Posted by peterlite — Sat Apr 06, 2024 12:04 am