Grub is not opening after reboot

Due to solve the freezing problem, I pressed the poweroff button of the computer and the computer was turned down abruptly. Then I turned the computer on but not I am seeing a black screen with a text written as Reboot and select proper device or Insert Boot Media in selected boot device and press a key

What should I do to solve this problem without reinstalling Ubuntu 20.04?

Also, I tried to use the TRY Ubuntu section to repair the boot. But it didn't help. Then I decided to reinstall Ubuntu 20.04. But I received a warning message that says Error fsyncinc/closing/dev/sda:input/output error

My priority is to know whether there's a way to fix the problem happens when the computer restarts. I have some data that I need to save.

Thanks in advance.


Solution 1:

It appears that your drive was corrupted when you interrupted it. I'm not sure if there's much more that you can do without taking it to someone to look at the drive. However, if you are fine with wiping your installation, try getting a copy of the GParted live ISO and using that to format your disk. Also, look in to using REISUB keys for killing your installation instead next time. This normally prevents such corruption.

As for the data you need off of your drive, try using the live installation to enter the old installation's files in file manager. If you can do this, you'll be able to grab all your files from it. However, if this isn't possible you'll need to take this drive to somewhere with drive recovery (Best Buy, etc.).

This error has a broad number of things that cause it, so sorry in advanced if my answer isn't related in any way to the problem.