LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-16-2018, 03:39 PM   #1
patrickwilson82
LQ Newbie
 
Registered: Oct 2017
Posts: 14

Rep: Reputation: Disabled
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?
 
Old 02-18-2018, 01:11 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,650
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
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.
 
Old 02-19-2018, 08:19 AM   #3
patrickwilson82
LQ Newbie
 
Registered: Oct 2017
Posts: 14

Original Poster
Rep: Reputation: Disabled
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
 
Old 02-19-2018, 09:10 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,650
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
Quote:
Originally Posted by patrickwilson82 View Post
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.
 
Old 02-19-2018, 09:26 AM   #5
patrickwilson82
LQ Newbie
 
Registered: Oct 2017
Posts: 14

Original Poster
Rep: Reputation: Disabled
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
 
Old 02-19-2018, 10:44 AM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,650
Blog Entries: 19

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
resize efi question [/boot/efi] with boot flag gparted mtdew3q Fedora 4 03-19-2017 10:02 PM
[SOLVED] Can't find /boot/efi/EFI/Slackware/vmlinuz kernel configuration ironQiu Slackware 4 02-09-2015 06:21 AM
boot efi disk with without a non-efi bios pc... masavini Programming 1 11-12-2013 08:48 PM
grubx64.efi arubin Slackware 4 11-03-2012 01:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration