I had deleted a few partitions from my disk that I thought was useless. I continued to use my computer normally until I had to restart it and now when I choose Ubuntu (at the dual boot), I receive the following message:
[0.1XXX] x86/cpu: SGX disabled by BIOS.
/dev/sdb5: clean, nnn/nnn files, nnn/nnn blocks
You are in emergency mode. After logging in, type "journalctl -xb" to view system logs,
"systemctl reboot" to reboot, "systemctl default" or "exit" to boot into default mode.
Press Enter for maintenance (or press Control-D to continue):
I was using Ubuntu 22.04 LTS
https://sourceforge.net/p/boot-repair/home/Home/ – oldfred Jun 09 '22 at 02:34