I new to Arch Linux. I completed the installation following Arch Wiki. I messed up the installation of the bootloader. My PC is now unbootable.

How do I reinstall grub, to make my fresh install finally bootable again?

It is an EFI system. According the Wiki, I installed grub and efibootmgr using Pacman, then #grub-install --target=x86_64-efi --efi-directory=esp_mount --bootloader-id=grub. It seems to have failed.

Now the problem is that I can't find grubx64.efi in any of the boot folders.

closed as off-topic by Scott, jasonwryan, Stephen Rauch, Jeff Schaller, Stéphane Chazelas Sep 15 '17 at 22:11

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Scott, jasonwryan, Stephen Rauch, Jeff Schaller, Stéphane Chazelas
If this question can be reworded to fit the rules in the help center, please edit the question.

  • If the install was ready (which is likely), I think you could start to investigate for an archlinux live iso. If it doesn't exist, probably it can be solved also with an ubuntu iso (I don't know arch linux). However, bootloader installs don't fail without a reason. On the info you gave in your question, we have no way to know, what could be this reason, and this reason is a danger. – peterh Sep 15 '17 at 16:46
  • @peterh installed grub and efibootmgr using Pacman , then #grub-install --target=x86_64-efi --efi-directory=esp_mount --bootloader-id=grub . According to wiki which seems to have failed – freeezer98 Sep 15 '17 at 16:54
  • Ahh, EFI! Then you likely did your install well, and the problem is some unwaited interaction between the EFI and your Arch. I improve and vote up your post, maybe you will get better answers. Write more from the details, if you get a question here in comments, answer them detailed. Good luck! – peterh Sep 15 '17 at 16:56
  • @peterh is there any way to troubleshoot the problem? – freeezer98 Sep 15 '17 at 16:58
  • @peterh the problem is I'm not finding grubx64.efi in any of the boot folders – freeezer98 Sep 15 '17 at 17:01

Wrong folder destination - the command input given for the destination was wrong

  • Good. Maybe you should read this. – peterh Sep 15 '17 at 17:17
  • @peterh thank you . I'm sorta new to this. – freeezer98 Sep 15 '17 at 17:18

Not the answer you're looking for? Browse other questions tagged or ask your own question.