On Wed, Jun 5, 2019 at 4:35 PM linux guy <linuxguy123@xxxxxxxxx> wrote: > > When I get to step #8 (grub2-install --boot-directory=/boot /dev/sda) on this page (https://fedoraproject.org/wiki/GRUB_2#Create_a_GRUB_2_configuration), it fails with a can't find efi directory error. > > What am I doing wrong ? That command is for computers with BIOS firmware. It's the wrong command for computers with UEFI firmware. And to make things a bit more confusing, it matters what version of Fedora you're using as there have been changes in Fedora 30. What you originally asked for is how to "regenerate" grub files, which is somewhat vague what you're really after. There are many grub files and they aren't all put where they are the same way. You're better off telling us what the problem is, exactly, otherwise this is a spaghetti on the wall approach to solving the problem. > Should this work to boot my computer from the grub command prompt ? > > set root=(hd0,gpt6) > set prefix=(hd0,gpt6)/boot/grub > > insmod normal > normal > > I've been booting it another, longer way. There's no way for anyone to confirm or deny that should work because we have no idea what your GRUB thinks the physical device and partition for the GRUB root and prefix should be. That's pretty deep in the weeds. You're best off explaining what you did just prior to the problem, and describe the problem in terms of what does happen and what you expect should happen instead (i.e. I can't boot, is not descriptive enough). -- Chris Murphy _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx