LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-19-2018, 04:34 PM   #1
bulgin
Member
 
Registered: Mar 2010
Posts: 58

Rep: Reputation: Disabled
Ooooy. EFI boot mmx64.efi.efi not found


Please move to a more appropriate forum if necessary.

Please see attached screenshots of BIOS startup settings.

I (you don't need to tell me how stupid I was) accidentally deleted /sda1 on an Ubuntu 16.04 machine resulting in damaged EFI Boot settings.

But I was smart, too, as I had a current backup.

Ran boot recover utility - no joy.

Re-installed the Ubuntu operating system but keep getting these horror messages when booting up so I'm pretty sure it's not a OS problem. Most certainly a BIO/EFI issue.

(the screenshot with the dark background pretty much says it all)

I can boot with Ubuntu usb and access drives, etc. but booting from the hard drive just doesn't work.

Tell me what you need to know to help me. Output of commands will be gladly provided.

Thank you.
Attached Thumbnails
Click image for larger version

Name:	IMG_20181219_171346.jpg
Views:	320
Size:	225.3 KB
ID:	29235   Click image for larger version

Name:	IMG_20181219_171355.jpg
Views:	240
Size:	156.9 KB
ID:	29236   Click image for larger version

Name:	IMG_20181219_171405.jpg
Views:	214
Size:	145.7 KB
ID:	29237   Click image for larger version

Name:	IMG_20181219_171423.jpg
Views:	263
Size:	214.6 KB
ID:	29238   Click image for larger version

Name:	Screenshot_20181219-165345.jpg
Views:	260
Size:	61.7 KB
ID:	29239  


Last edited by bulgin; 12-19-2018 at 04:41 PM.
 
Old 12-19-2018, 04:54 PM   #2
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,346

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
Did you delete sda1 or the contents of sda1? If you deleted the contents of sda1 then need to reinstall grub using a live cd/usb. If the partition was deleted the will need to recreate the efi partition first then reinstall grub.
download the boot repair iso, boot it, and post the output of the boot-info summary.
 
Old 12-19-2018, 05:38 PM   #3
bulgin
Member
 
Registered: Mar 2010
Posts: 58

Original Poster
Rep: Reputation: Disabled
Thank you for the quick reply that is very much appreciated.

Here is the pastebin link:

http://paste.ubuntu.com/p/j6GpSCcQ5c/
 
Old 12-19-2018, 06:43 PM   #4
bulgin
Member
 
Registered: Mar 2010
Posts: 58

Original Poster
Rep: Reputation: Disabled
To answer your question: I deleted the sda1 partition. Completely. Contents included. Then re-installed Ubuntu which created it's new geometry for that entire disk. But as you know, it won't boot.
 
Old 12-19-2018, 07:03 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,065

Rep: Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896
Seems you have been bitten by the re-installation - see this bugzilla entry. Down the bottom (post #34) for a suggested solution.
Pretty ugly - I'm surprised a fixed iso hasn't been issued.
 
Old 12-19-2018, 07:16 PM   #6
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,346

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
It looks like the boot files are there on the efi partition. The boot-info script recommends to reinstall grub. Have you tried to go into your bios setup and change the default boot to ubuntu? Run the following from the iso
Code:
sudo efibootmgr -n 0002
to change next boot to ubuntu. then reboot and see if ubuntu boots. If so then you can use efibootmanger to make the change permanent. If it doesn't boot then will need to reinstall grub from the iso as suggested at the bottom of the boot-info script
 
Old 12-19-2018, 08:09 PM   #7
bulgin
Member
 
Registered: Mar 2010
Posts: 58

Original Poster
Rep: Reputation: Disabled
Tried sudo efibootmgr -n 0002 and rebooting. No joy.

I mounted sda1 and see that in EFI there is "Boot" and "ubuntu"

The ubuntu directory has the following files:
fw
fwupx64.efi
grub.cfg
grubx64.efi
mmx64.efi
shimx64.efi

The Boot directory has:

bootx64.efi
bootx64.efi.grb

I looked at the message #34 but honestly couldn't follow the procedure and hesitate to do anything unless I feel confident in knowing what it is doing.

Could I copy the files above from the ubuntu directory in the Boot directory?

Looking for solutions.

I don't know where boot-info script is as you refer to it, colorpurple21859
 
Old 12-19-2018, 08:18 PM   #8
bulgin
Member
 
Registered: Mar 2010
Posts: 58

Original Poster
Rep: Reputation: Disabled
As well, I don't have options "ubuntu" or "Boot" available in my Bios setup. Just only a reference to the hard drive.
 
Old 12-19-2018, 08:31 PM   #9
bulgin
Member
 
Registered: Mar 2010
Posts: 58

Original Poster
Rep: Reputation: Disabled
After running boot repair again the final message is:

"Please don't forget to make your BIOS boot on sda1/EFI/ubuntu/shimx64.efi file"

Indeed ubuntu is an option immediately after running boot repair (but only one time is it available.) After rebooting and choosing ubuntu, still same problem, though.
 
Old 12-19-2018, 08:50 PM   #10
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,346

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
Quote:
Indeed ubuntu is an option immediately after running boot repair (but only one time is it available.) After rebooting and choosing ubuntu, still same problem, though.
Boot into ubuntu from the iso
open a terminal
check to make sure /dev/sda1 in mounted on /boot/efi
Code:
mount -l |grep efi
reinstall grub
Code:
sudo grub-install /dev/sda

Last edited by colorpurple21859; 12-19-2018 at 08:53 PM.
 
Old 12-19-2018, 08:55 PM   #11
bulgin
Member
 
Registered: Mar 2010
Posts: 58

Original Poster
Rep: Reputation: Disabled
SOLVED:

Followed the tip for copying /EFI/BOOT/grubx64.efi with the name mmx64.efi to both subdirectories "Boot" and "ubuntu".

On next boot I first went into bios and the only option now available was the hard drive.

Chose it.

Rebooted into Ubuntu.

Rebooted again just to make sure. Still boots fine.

If anyone sees any harm in this option of copying that file over to two (2) subdirectories let me know (/EFI/BOOt and EFI/ubuntu)
 
Old 12-19-2018, 09:03 PM   #12
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, arch, ubuntu, others
Posts: 3,346

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
Quote:
Originally Posted by bulgin View Post
SOLVED:

Followed the tip for copying /EFI/BOOT/grubx64.efi with the name mmx64.efi to both subdirectories "Boot" and "ubuntu".

On next boot I first went into bios and the only option now available was the hard drive.

Chose it.

Rebooted into Ubuntu.

Rebooted again just to make sure. Still boots fine.

If anyone sees any harm in this option of copying that file over to two (2) subdirectories let me know (/EFI/BOOt and EFI/ubuntu)
NO problems here if it works, some efi-bios will only allow booting from /efi/boot/
at least you got it figured out

Last edited by colorpurple21859; 12-19-2018 at 09:05 PM.
 
Old 12-20-2018, 11:03 AM   #13
bulgin
Member
 
Registered: Mar 2010
Posts: 58

Original Poster
Rep: Reputation: Disabled
Great! Thanks for pointing me in the right direction, all.

Very much appreciated. I can access my 'puter now and do work.

All have a great Holiday!
 
  


Reply

Tags
boot grub efi


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 12 04-25-2019 07:33 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration