Hello there! I’m new to fedora. Recently installed KDE PLASMA. I have random load shedding in my area and don’t have an ups. What is the safest way to update? In case power goes out in the middle of the installation, does that continue after power comes back? I updated twice from the discover app, is it alright?. Also which safety standards should I follow if the system gets to an unusable state?
If you lost power during an update then you stand a chance of the update being incomplete and that can break your system. I do not know of a way around this in software.
Consider getting a UPS would be one way to get a reliable system.
I might suggest using Clonezilla live USB to create an image of your system partition before doing the upgrade. Then in the worst case that your partition gets corrupted, you can restore it from the image.
Thanks. I might get one soon. But it feels better to know what to do in the worst case scenario
You mean booting from it and rewriting it in the ssd? Just like installing OS ?
- Download a Clonezilla live USB image and write it to a USB drive (with Fedora Media Writer or whatever tool you prefer).
- Before performing the upgrade, boot into the Clonezilla live USB. Go into “device-image” mode and create an image of your system partition. You need somewhere to store that partition, preferably on a second USB drive that won’t be connected to your computer during the upgrade (just to eliminate any risk of corrupting it).
- Reboot into Fedora and do your upgrade.
- Hopefully there is no problem and your upgrade works
- But if the upgrade goes wrong and Fedora is unbootable, then boot again into the Clonezilla live USB, go into “device-image” mode again, and restore the image back to the system partition. Then your system should be back in the state it was before you created the image.
Check that the UPS you get has linux support. Then you can do stuff like controlled shutdown when battery is low.
I use dd for the same purposes. And, as live USB, you can use any distro as you wish. I use Fedora 41 USB disc for boot.