I accidentally formatted my EFI partition so now the system won't boot. I am a complete novice in this. I did some research about this issue on the internet but no positive results so far(basically because of having limited idea about what is going on).
I've tried the accepted answer from here How can I reinstall GRUB to the EFI partition?
But I am stuck on the sudo chroot /mnt
It returns me an error;
failed to run command ‘/bin/bash’: No such file or directory
Would appreciate any help, especially any detailed and step-by-step solution because, as I said, I'm totally new here. Data recovery is not necessary since anyways I wanted to format it, I just want the system to work again.
Kindly help me with this issue.