Thank you so much, it worked!
For others who might have the same problem.
First you have to identify which is the block where the system is mounted, for this, I used the
lsblk command. I knew that my block was /dev/sda5 because I recognized it by its size. If you are not sure, you can boot with gparted live and see the partitions with errors.
Then start the system with Debian live install, follow the steps of the most voted answer (not the one that was accepted).
Notes
I was never able to run the following command:
Code: Select all
mount -o sb=32768 /dev/sdxx /mnt/sdxx
Since the output was always about bad superblock/short read.
So what I did was go straight to run:
And my file system was working again.
I can not guarantee that this works equally for everyone as others may have different configurations, as mentioned in the most voted answer, fs superblocks size may be larger than 4096, or it may not be in 32768.
If you can try to recover your files with ddrescue first, I think it's the best idea. I couldn't do it (I didn't have an external disk) so I took a chance.