Whatever boot issue you're facing or system breakage you encounter, that would be neat to be able to fix you system rather than reinstalling it, isn't it?
I'll give you a few hints to do that, especially if you have a setup similar to mine.
I hope you have an AL USB key ready to go.
Unless you have an English qwerty keyboard, don't forget to change your keyboard layout for a good start.
You can use lsblk -f
to identify your ESP and your root partition.
In case of an encrypted partition, unlock it (eg. LVM on LUKS).
Mount the root partition then the ESP (and swap if you have one).
Let's change root into the system to be saved:
That may not be a bad idea to drop privileges to normal user to prevent accidents. With great power comes great responsibility.
If planning to fix boot images and having a bind mount, one doesn't want to forget to mount it before generating initramfs images or something.
Finally, please try anything in your power to save that poor system.