LinuxQuestions.org
Help answer threads with 0 replies.
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 12-26-2023, 04:25 PM   #1
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Kubuntu, Mint
Posts: 408

Rep: Reputation: 31
Boot order repeating?


I have a system with two SSD (sda and sdb) and two HDD.
The main Kubuntu OS is on sdb2, with a couple of other os on the SSDs.
When booting, the system seems to double the booting sequence.
If I issue: sudo efibootmgr -v
Quote:
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0005,0002,0001,0006,0007
Boot0000* ubuntu HD(6,GPT,)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* opensuse HD(1,GPT,)/File(\EFI\opensuse\grubx64.efi)
Boot0002* UEFI OS HD(6,GPT,)/File(\EFI\BOOT\BOOTX64.EFI)
Boot0005* UEFI: ADATA SP900 PciRoot(0x0)/Pci(0x1f,0x2)/Sata(2,65535,0)/HD(3,GPT,)AMBO
Boot0006* ubuntu HD(1,GPT,)/File(\EFI\Ubuntu\grubx64.efi)
Boot0007* ubuntu HD(6,GPT,)/File(\EFI\Ubuntu\grubx64.efi)
I have erased UUID from above for clarity.

Are these dregs from previous installs, and could I use efibootmgr to remove Boots 0000, 0001, 0002, 0005, and 0007?

Or is there another way to tidy up boot order?
 
Old 12-26-2023, 06:58 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,145

Rep: Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124
Yes, yes and no (well, you could reset the firmware, but that's a bit drastic).
 
Old 12-26-2023, 07:11 PM   #3
Johng
Member
 
Registered: Feb 2002
Location: NZ
Distribution: Kubuntu, Mint
Posts: 408

Original Poster
Rep: Reputation: 31
If do, is it only affecting whether I can boot or not. I could resort to using a boot disc?
 
Old 12-27-2023, 12:21 PM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,852
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Quote:
Originally Posted by Johng View Post
Code:
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0005,0002,0001,0006,0007
Boot0000* ubuntu HD(6,GPT,)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* opensuse HD(1,GPT,)/File(\EFI\opensuse\grubx64.efi)
Boot0002* UEFI OS HD(6,GPT,)/File(\EFI\BOOT\BOOTX64.EFI)
Boot0005* UEFI: ADATA SP900 PciRoot(0x0)/Pci(0x1f,0x2)/Sata(2,65535,0)/HD(3,GPT,)AMBO
Boot0006* ubuntu HD(1,GPT,)/File(\EFI\Ubuntu\grubx64.efi)
Boot0007* ubuntu HD(6,GPT,)/File(\EFI\Ubuntu\grubx64.efi)
I see no duplicates.
 
Old 12-27-2023, 11:15 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,145

Rep: Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124
Quote:
Originally Posted by Johng View Post
If do, is it only affecting whether I can boot or not. I could resort to using a boot disc?
Yes - if I understand the question correctly. The efibootmgr simply (!!) removes the entry from the NVRAM on the motherboard, the data for the distro in question is not affected (except it can no longer be directly booted).
 
  


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] Can I set the cups output order to always print in reverse order Thane Ubuntu 3 07-09-2018 09:49 PM
Logi Sales Manager on Ncurses (invoice, invoicing, orders, order, sale order, sales order...)? Xeratul Linux - Software 0 03-25-2017 02:45 PM
Repeating X job on boot, RedHat 7.3 mjkiik Linux - General 2 02-19-2007 11:17 AM
Mulitple Problems at boot(processes repeating, alsa, usb) h1tman Slackware 0 11-03-2004 02:55 PM
3 repeating boot time messages Gilion Debian 4 10-08-2003 09:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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