LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-31-2019, 12:00 PM   #1
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,595
Blog Entries: 19

Rep: Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455
Trying to understand efibootmgr


When I type "efibootmgr -v" in Slackware, I get:
Code:
BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0000,0005,0003,0002,0001
Boot0000* Windows Boot Manager  HD(2,1f4800,82000,88e50bfb-f30c-4915-9628-1712260476df)File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...l................
Boot0001* Windows Boot Manager  Vendor(99e275e7-75a0-4b37-a2e6-c5385e6c00cb,)
Boot0002* UEFI: IPV6 Realtek PCIe GBE Family Controller ACPI(a0341d0,0)PCI(1c,2)PCI(0,0)MAC(c03fd5e6c930,0)030d3c000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000..BO
Boot0003* UEFI: IPV4 Realtek PCIe GBE Family Controller ACPI(a0341d0,0)PCI(1c,2)PCI(0,0)MAC(c03fd5e6c930,0)IPv4(0.0.0.0:0<->0.0.0.0:0,0, 0..BO
Boot0005* Slackware     HD(2,1f4800,82000,88e50bfb-f30c-4915-9628-1712260476df)File(\EFI\Slackware\elilo.efi)
The two Windows entries are obsolete and I will delete them eventually, but I don't want to modify anything until I understand the setup better. Note that there is no CD option here.

If I boot from a CD and run the same command, I get:
Code:
BootCurrent: 0006
Timeout: 2 seconds
BootOrder: 0006,0000,0005,0003,0002,0001
Boot0000* Windows Boot Manager  HD(2,GPT,88e50bfb-f30c-4915-9628-1712260476df,0x1f4800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...l................
Boot0001* Windows Boot Manager  VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0002* UEFI: IPV6 Realtek PCIe GBE Family Controller PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)/MAC(c03fd5e6c930,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0003* UEFI: IPV4 Realtek PCIe GBE Family Controller PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)/MAC(c03fd5e6c930,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)..BO
Boot0005* Slackware     HD(2,GPT,88e50bfb-f30c-4915-9628-1712260476df,0x1f4800,0x82000)/File(\EFI\Slackware\elilo.efi)
Boot0006* UEFI: MATSHITA DVD-RAM SW830  PciRoot(0x0)/Pci(0x13,0x0)/Sata(1,65535,0)/CDROM(1,0x4d,0xb40)/HD(1,MBR,0x0,0x0,0xb40)..BO
Suddenly there is an entry for my CDROM (Boot0006). But where did it come from and why does it also seem to be regarded as a hard drive?
 
Old 05-31-2019, 10:05 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,818
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
UEFI BIOS may seem mixed up more easily or often than we like, but they aren't stupid. When there is bootable removable media during POST, they would normally include it among boot selections, unless some option in BIOS setup directs it be ignored or disabled.
 
Old 06-01-2019, 07:21 AM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,595

Original Poster
Blog Entries: 19

Rep: Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455
What surprised me was that there isn't a permanent entry for the cdrom drive. After all, the UEFI chip must be able to detect that there is a second SATA drive in the machine. Having an entry for the empty drive surely wouldn't do any more harm than those empty Windows entries. As far as I can see, UEFIs treat non-functioning boot entries the same way that BIOS's do: just try the next one on the list!
 
Old 06-01-2019, 06:56 PM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,818
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
BIOS differ. My newest are two Kaby Lakes. The Asus' BIOS doesn't remember as much as my Gigabyte's does, which includes hard disks (2), NVME (1) devices, and labels of unattached OM and USB sticks. How many it's capable of I can't say. There are 7 total ATM (4 removables).
 
1 members found this post helpful.
Old 06-03-2019, 05:16 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,992

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
UEFI boot seems to grow.

sudo efibootmgr to view is fine usually.

To remove entries

sdo efibootmgr -Bb 009 for example.

Everyone has to monitor their systems if they have one that never seems to stop adding entries. I have one that will get up to 400 or so before I have to do a mass delete.
 
  


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 On
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 - General

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