I deleted /dev/sda1 partition of Ubuntu 20.04 by mistake, now when I try to boot, system is not able to detect the OS, is there any way to fix this ?
This the image of disks using live usb
I have tried various approaches mentioned in various articles including using boot repair, but nothing fixed it.
grub-install /dev/sda
I am getting errorgrub-install: error: /boot/efi doesn't look like an EFI partition
Any idea how to fix this ? – Mohit Malik Jul 09 '20 at 10:32mount /dev/sda1 /boot/efi
again after the error and tried again installing grub and it worked. I am now able to boot. Thanks a lot for the help :-) – Mohit Malik Jul 09 '20 at 10:50