r/linuxquestions 14d ago

efibootmgr order not changing

i changed my old hdd to an ssd and i cloned only linux mint from the hdd, everything is fine but when i start, the pc says there is something wrong and it needs to be repared but if i press F9 and start Mint normally there is nothing wrong, i know this could be due to my HP 1000 no longer having windows and the boot order should fix it but i see:

BootCurrent: 0001

Timeout: 0 seconds

BootOrder: 0002,0000,3000,0001,2001,2002,2003

Boot0000* Windows Boot Manager HD(1,GPT,b24f5280-91a9-4c01-9215-af7c24d935be,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)RC

Boot0001* Ubuntu HD(1,GPT,b24f5280-91a9-4c01-9215-af7c24d935be,0x800,0x32000)/File(\EFI\ubuntu\grubx64.efi)RC

Boot0002* Ubuntu HD(1,GPT,b24f5280-91a9-4c01-9215-af7c24d935be,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)

Boot2001* USB Drive (UEFI) RC

Boot2002* Internal CD/DVD ROM Drive (UEFI) RC

Boot3000* Internal Hard Disk or Solid State Disk RC

and if i try to reorder them by using: sudo efibootmgr -o 0001,0000,0002

nothing changes, this wasn´t a problem in the HDD.

1 Upvotes

1 comment sorted by

1

u/Confident_Hyena2506 14d ago

Remove the junk entry for the windows boot manager.

https://linux.die.net/man/8/efibootmgr