I'm quite new to Linux and when I have done an update on the Ubuntu 21.04 Hirsute Hippo, on restarting the system hasn't worked anymore. As I am not an expert I've thought that the most straightforward way to solve this would be reinstalling Ubuntu keeping all my data.
These are the partitions in my Hard Drive, using sudo parted -l
(right now I'm using Ubuntu from a live USB):
Model: SAMSUNG MZVLQ1T0HALB-000H1 (nvme)
Disk /dev/nvme0n1: 1024GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 23.0GB 23.0GB fat32 boot, esp
2 23.0GB 1024GB 1001GB ext4
As you can see, the first partition is a Boot, ESP (EFI System Partition), but when it comes to reinstalling Ubuntu, the installer tells me it doesn't recognize any EFI. It says: "No EFI system partition was found. This system will not be able to boot successfully, and the installation process may fail. Please go back and add an EFI system partition or continue at your own risk".
Although on the menu that appears when I "go back" from this alert, an interface of all the partitions, their type and the space they occupy, I can see a clearly defined partition as EFI. Even in the "Device for boot loader installation" toggle menu at the bottom I can select the EFI partition. Should I do that? Create a new EFI (is that even possible)? I'm not a software engineer so I would really appreciate not excessively abstract answers, although I will do my best to understand you :)
PS: if there's any tip on how I could avoid these problems when updating Ubuntu it will be well received too.