2

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 the partition which I delted another partition which contains all the files

I have tried various approaches mentioned in various articles including using boot repair, but nothing fixed it.

Mohit Malik
  • 141
  • 5

1 Answers1

1

Thanks @PonJar for the link. Using askubuntu.com/questions/1028375/deleted-ubuntu-efi I was able to fix it. If you face this error grub-install: error: /boot/efi doesn't look like an EFI partition during grub installation step, just do mount /dev/sdaxy /boot/efi again. This will fix it.

Mohit Malik
  • 141
  • 5