LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   failed to open \efi\boot\grubx64.efi (https://www.linuxquestions.org/questions/linux-server-73/failed-to-open-%5Cefi%5Cboot%5Cgrubx64-efi-4175623863/)

patrickwilson82 02-16-2018 03:39 PM

failed to open \efi\boot\grubx64.efi
 
Hi there,

I recently deployed an ovf of a freepbx distro server to a new VCenter, but I'm unable to get it to boot. I keep getting the error "failed to open \efi\boot\grubx64.efi- Not Found". Any suggestions?

hazel 02-18-2018 01:11 AM

It looks like grub didn't get installed. You can check by booting with your installation disc, mounting the EFI system partition (it will probably be /dev/sda1) on /boot/efi and looking at its contents. Normally there is a grub directory and a file called grub64.efi within it. If these are not present, you will have to install them by hand.

The command "grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub" should do it. That's one advantage of uefi: it uses normal files on normal partitions instead of magic spaces like the mbr.

patrickwilson82 02-19-2018 08:19 AM

I tried this by bypassing the uefi shell and typing in the command. But I'm getting "grub-install is not recognized as an internal or external command, operable program, or batch file. Exit code status: Invalid Parameter

hazel 02-19-2018 09:10 AM

Quote:

Originally Posted by patrickwilson82 (Post 5821566)
I tried this by bypassing the uefi shell and typing in the command. But I'm getting "grub-install is not recognized as an internal or external command, operable program, or batch file. Exit code status: Invalid Parameter

It's a Linux command, not a uefi one. Can you get some kind of Linux system up by booting your installation disc? Or are we talking about a virtual machine here? If so, it's beyond my level of expertise.

patrickwilson82 02-19-2018 09:26 AM

It's a virtual machine. I actually found my answer here, if anyone else runs into this issue as well. Thanks!

https://kb.vmware.com/s/article/2061784

hazel 02-19-2018 10:44 AM

I'm glad you found the answer. Please mark the thread as solved so that later questioners will know there's an answer here.


All times are GMT -5. The time now is 05:36 PM.