The story is simple. I didn’t noticed that the laptop was not plugged, battery was too low, I triggered a dnf update and in the middle of it laptop shutdown.
I am pretty much sure downloads where completed and the shutdown happen in the middle of an update. Why, because I see that /lib64/libgcc_s.so is too short message when I tried dnf or lsblk. I suppose the library is completely broken at this stage.
To make things worse, the disk is LUKS encrypted but after power-on I don’t get any prompt, so I suppose it’s was not a complete power-cut but rather a suspend to disk.
My first thought was to install the libgcc RPM, but I have no clue which one I need to install.
Anyway, I would need some help to bring it back to life please.
swap is placed on a partition.
I don’t known if a live image honnors that, but you may try to add inst.rescue to the
GRUB linux parameters: this may mount properly the system under /mnt/sysroot
Re-installing libgcc fixed booting to the system. Then I completed the transaction and all good.
Thank you for pointing out the Live image, I have completely forgot about it!