LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-30-2020, 03:48 PM   #1
Lsatenstein
Member
 
Registered: Jul 2005
Location: Montreal Canada
Distribution: Fedora 31and Tumbleweed) Gnome versions
Posts: 311
Blog Entries: 1

Rep: Reputation: 59
efibootmgr


I have an ASUS x470 Prime mother board with bios 5406. I also have a laptop.

efibootmanager
No BootOrder is set; firmware will attempt recovery

The above software is supposed to show me the boot items within the bios.
It does not. It works elsewhere. I should see one entry for
Fedora32 gnome
Leap 15.2 beta gnome
Lindoz cinnamon
Deepin V20 beta deepin

Since all are new installations, all four cannot be in error.
Any way to advise me how to respond to the error message.
Supposedly I could create manual entries (man iefbootmgr -) but the values to insert therein make no sense to me.
Am I seeing a bios upgrade error?
With other tools, I should see fan speed. There too, I do not.

Your help will be appreciated.
efibootmgr works with the UEFI specification from Intel, The motherboard is for AMD processors. efibootmgr (Fedora32) works on my amd based laptop.

Last edited by Lsatenstein; 04-30-2020 at 03:51 PM.
 
Old 04-30-2020, 05:16 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,415

Rep: Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599
Do you get this warning message
Code:
Warning: The 0xEE protective partition in the MBR is marked as active. This is technically a violation of the GPT specification, ...
if you open a terminal and run
Code:
sudo gdisk /dev/sda

Last edited by colorpurple21859; 04-30-2020 at 05:20 PM.
 
Old 04-30-2020, 07:22 PM   #3
Lsatenstein
Member
 
Registered: Jul 2005
Location: Montreal Canada
Distribution: Fedora 31and Tumbleweed) Gnome versions
Posts: 311

Original Poster
Blog Entries: 1

Rep: Reputation: 59
For /dev/sda.... /dev/sdd no error.

But
for /dev/nvme0n1 I get no error

Does the command apply to nvme0n1 drives? M.2


all report gpt as drive type, no reported error for any drive.

Last edited by Lsatenstein; 04-30-2020 at 07:27 PM.
 
Old 04-30-2020, 08:28 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,023

Rep: Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632
Boot to bios to see what it has. Should be similar to efi shell. I'd look at efi shell too.

Since you did get linux to boot to run sudo efibootmgr then I'd think it must have a default boot order.
 
Old 04-30-2020, 08:32 PM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,415

Rep: Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599
If you have no warning, then it may just be your firmware/bios. You will have to go into your firmware/bios settings to set the boot order. I use to have a laptop that had the same problem when I ran efibootmgr. Not all system firmware/bios are created the same.

Last edited by colorpurple21859; 04-30-2020 at 08:37 PM.
 
Old 04-30-2020, 08:56 PM   #6
Lsatenstein
Member
 
Registered: Jul 2005
Location: Montreal Canada
Distribution: Fedora 31and Tumbleweed) Gnome versions
Posts: 311

Original Poster
Blog Entries: 1

Rep: Reputation: 59
Quote:
Originally Posted by jefro View Post
Boot to bios to see what it has. Should be similar to efi shell. I'd look at efi shell too.

Since you did get linux to boot to run sudo efibootmgr then I'd think it must have a default boot order.
Over 12 months I had tested some 12 distros. Some I deleted to reinstall. When the number reached 20, UEFI crashed my computer when the new system requested a reboot.

I tried, using the bios, to discard old unused entries. but on saving and returning, the entries were back. Trying to change the boot order did not work, but discarding every entry ahead of the one I wanted did work.
Now I noted the following
marking the boot entries a discarded did not persist through a reboot. The ASUS bios reported no setting changes.\
So, I did the boot entry discard again, then changed a bios parameter for the led lighting (off to on).
Now the save worked, and I had freed entries. I then returned to turn off the led lighting. and cleared out all but 4 entries (only keeping one per drive).
I want to report a bug to asus, but will follow Jefro's recommendation.
Thanks to all
 
Old 04-30-2020, 09:38 PM   #7
Lsatenstein
Member
 
Registered: Jul 2005
Location: Montreal Canada
Distribution: Fedora 31and Tumbleweed) Gnome versions
Posts: 311

Original Poster
Blog Entries: 1

Rep: Reputation: 59
Quote:
Originally Posted by jefro View Post
Boot to bios to see what it has. Should be similar to efi shell. I'd look at efi shell too.

Since you did get linux to boot to run sudo efibootmgr then I'd think it must have a default boot order.
The boot order is empty, that is what I posted.
I tried Jefro's suggestion, but message was "I can't do what he suggests with secure boot active.
I have the bios set to "other OS", I will try resetting it to windows and see what happens, even though I only run Linux.
 
Old 05-01-2020, 03:04 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,023

Rep: Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632
What exactly did you do that returned, "I can't do what he suggests with secure boot active."?


UEFI implementation if terrible at best. Most of them allow you to access the efi shell. It's a command line to manage how it should work.

Yes, some bios's are being bricked with hundreds of boot entries. I have one that I have to delete every few boots.
 
Old 05-01-2020, 04:53 PM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,415

Rep: Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599Reputation: 1599
Quote:
Yes, some bios's are being bricked with hundreds of boot entries
I bricked one with two many entries from an external drive about a year ago.
 
Old 05-05-2020, 03:38 PM   #10
Lsatenstein
Member
 
Registered: Jul 2005
Location: Montreal Canada
Distribution: Fedora 31and Tumbleweed) Gnome versions
Posts: 311

Original Poster
Blog Entries: 1

Rep: Reputation: 59
I manually created the emibootmgr entries and remembered what I did in a script.
On reboot, all was lost. (perhaps grub or Linux startup, deleted my entries)
I am not going to pursue this further as I indicated, forcing the bios to update also updated the boot list.
 
  


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
[SOLVED] How do I set up a EFI Stub kernel with initrd using efibootmgr? interested_penguin Slackware 6 12-10-2016 01:58 PM
efibootmgr-0.5.4-x86_64 vs efibootmgr-0.6.0-x86_64 Olaus Slackware 4 10-26-2016 12:42 AM
efibootmgr settings not surviving a reboot rkelsen Slackware - Installation 12 08-01-2015 05:12 AM
[SOLVED] efibootmgr help ymf331 Slackware 6 02-26-2015 10:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:47 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