There was a power loss in the middle of the upgrade. Now the whole system is no more working, wan't boot up, can't continue with the upgrade in a terminal and can't unroll the installation -> leaving the whole system useless. What can I do to recover?
2 Answers
Debian-based systems (including Ubuntu) are vulnerable to severe damage if a release-upgrade is interrupted. There is no "rollback" nor "failsafe". (Exception: Ubuntu Core's snap-only design offers rollback)
That's why there are warnings when you start the process. And that's why support volunteers strongly recommend regular backups.
If your system is unbootable after an aborted release-upgrade, then reinstall Ubuntu and restore your data from backups.
If you don't have backups, use a LiveUSB's "Try Ubuntu" environment to rescue your data onto some other media.
- 68,493
I've managed it the following way:
First brought a virtual machine to run with the newest version (24.04).
Because networking was not installed properly, I've configured it manually according to https://linux.fernandocejas.com/docs/how-to/switch-from-network-manager-to-systemd-networkd
Then I handled to access my fixed disk and copied all new files from the VM to the defect installation.
Reboot and voila - finished (What a mess ... took me weeks now.)
- 157
- 2
- 9