[SOLVED] Double items in bios boot order page efi/uefi

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Oyabunbaba

[SOLVED] Double items in bios boot order page efi/uefi

Post by Oyabunbaba »

I am fresh from buying new laptop and have efi problem. BTW. First time i have efi/uefi bios.
I installed linux mint 13, unfortunately, for the first time after the installation mint does not start and the computer shows errors on boot like that the hdd can be plugged in not properly etc. I came to the conclusion that computer trying to boot from the network because the system could not be find anywhere else. As it turned out, the laptop has a new EFI BIOS type and, therefore, in the second approach, i installed with EFI partition set in the system partition, and format the whole thing again. Now the system starts up and works normally, but it is a little messy in the EFI boot priority as there was 7 devices on purchase but after messing and installing mint there is now 15 because everything doubles. I also noticed that the system name is shown in the EFI BIOS as pictured. But why should it double all the equipment? I think I preferred the normal BIOS. :cry:
PS. i installed ubuntu and now there is additional ubuntu as a choice (not in the picture), linuxmint is still there even though not installed anymore.

Image

Can anyone say whats going on? is this recorded in bios flash or somewhere on hdd?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 4 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
srs5694
Level 6
Level 6
Posts: 1386
Joined: Mon Feb 27, 2012 1:42 pm

Re: Double items in bios boot order page efi/uefi

Post by srs5694 »

Chances are that the "efibootmgr" utility will solve your problem, although not automatically. Try reading its man page. Basically, you want to:
  1. Type "sudo efibootmgr -v" to obtain a list of your boot loaders. Each one is numbered.
  2. Figure out which of the boot loaders listed by efibootmgr is unique and which is duplicated or unnecessary.
  3. Use the "-b {number}" and "-B" options to efibootmgr to delete the unnecessary boot loader entries, as in "sudo efibootmgr -b 0007 -B" to delete entry #7, if that one happens to be a duplicate. Repeat this step as necessary until the boot listing is cleaned up.
Oyabunbaba

Re: Double items in bios boot order page efi/uefi

Post by Oyabunbaba »

Thank you srs5694, i will have a look at this tool. seems you got the point :) I will write here if i got it solved.
Oyabunbaba

Re: [SOLVED] Double items in bios boot order page efi/uefi

Post by Oyabunbaba »

Unfortunately i can see there everything only once, but in bios it's still visible doubled. Maybe i have some bios bug or something :?
But i can see that boot order..... show like this
BootOrder: 000A,0006,0003,0002,0007,0005,0004,0008,0002,0003,0004,0005,0006,0007,0008
I was able only to delete Ubuntu since its not installed anymore.

Maybe i should use command

Code: Select all

-o | --bootorder XXXX,YYYY,ZZZZ
Explicitly set BootOrder (hex)
-O | --delete-bootorder
Delete BootOrder
but don't know how
srs5694
Level 6
Level 6
Posts: 1386
Joined: Mon Feb 27, 2012 1:42 pm

Re: Double items in bios boot order page efi/uefi

Post by srs5694 »

I think you misunderstand. The BootOrder list shows the individual entries, but those won't be duplicated -- that is, you won't see a BootOrder of 0000,0000,0001,0001. Instead, you might see 0000,0001,0002,0003, where 0000 points to the same boot loader as 0001 and 0002 points to the same boot loader as 0003. In this situation, you'd want to delete one each of 0000 and 0001 and of 0002 and 0003. To identify such duplicates, you need to study the full output of "efibootmgr -v" to identify which entries point to the same boot loader.
Oyabunbaba

Re: Double items in bios boot order page efi/uefi

Post by Oyabunbaba »

Well my bios look like the screenshot above and the output of efibootmgr -v is this
BootCurrent: 000A
Timeout: 1 seconds
BootOrder: 000A,0006,0003,0002,0007,0005,0004,0008,0002,0003,0004,0005,0006,0007,0008
Boot0000 Setup
Boot0001 Boot Menu
Boot0002* USB FDD: 030a2400d23878bc820f604d8316c068ee79d25b6ff015a28830b543a8b8641009461e49
Boot0003* ATA SSD: 030a2500d23878bc820f604d8316c068ee79d25b91af625956449f41a7b91f4f892ab0f601
Boot0004* ATA HDD: HITACHI HTS543232A7A384 ACPI(a0341d0,0)PCI(1f,2)03120a00000000000000..bYVD.A...O.*..
Boot0005* ATAPI CD: Optiarc DVD RW AD-7710H ACPI(a0341d0,0)PCI(1f,2)03120a00040000000000......!N.:^G.V.T
Boot0006* USB HDD: 030a2400d23878bc820f604d8316c068ee79d25b33e821aaaf33bc4789bd419f88c50803
Boot0007* USB CD: 030a2400d23878bc820f604d8316c068ee79d25b86701296aa5a7848b66cd49dd3ba6a55
Boot0008* PCI LAN: Realtek PXE B03 D00 BIOS(6,0,5265616c74656b20505845204230332044303000)............................................................................A.....................
Boot000A* linuxmint HD(1,800,2f000,abd26b39-7805-4d76-98ea-ea54c21d3f03)File(\EFI\ubuntu\grubx64.efi)
I think i need to delete double entries in
BootOrder: 000A,0006,0003,0002,0007,0005,0004,0008,0002,0003,0004,0005,0006,0007,0008
but how

Or you mean i still should remove it but typing
sudo efibootmgr -b 0002 -B
sudo efibootmgr -b 0003 -B etc.?

or should i delete whole boot order typing
sudo efibootmgr -O
srs5694
Level 6
Level 6
Posts: 1386
Joined: Mon Feb 27, 2012 1:42 pm

Re: Double items in bios boot order page efi/uefi

Post by srs5694 »

My apologies; I didn't notice the duplicated entries in your BootOrder list!

You're right; using the -o option to efibootmgr should do the trick. Something like this should work:

Code: Select all

sudo efibootmgr -o 000A,0006,0003,0002,0007,0005,0004,0008
You could probably omit some of those. For instance, 0002 is a floppy disk device, but if (like most modern computers) your system lacks a floppy drive, that will be useless. You might also omit 0008 if you never boot from your network.
Oyabunbaba

Re: [SOLVED] Double items in bios boot order page efi/uefi

Post by Oyabunbaba »

Work like a charm! Finally i have boot order back to normal! :D yay!
Thank you srs5694

No one was able to help me in many forums, till you did it.

BTW i got this mess trying to install first time linux mint on my new laptop with efi, i didnt know it was efi so i try to install like 6 time with different mint editions without efi boot partition, never succesful, finally i search internet and find out i have to install efi boot about 100mb partition, but it was too late i got this mess, and now its again like new :D

Arigato mr. srs5694 robato :D lol
Locked

Return to “Installation & Boot”