[SOLVED] UEFI Deleteing Boot Entry : don't work out

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] UEFI Deleteing Boot Entry : don't work out

Postby ylyco » Dec 22nd, '22, 20:36

Hello,

I have my new PC with 2 OS : Windows 11 and Mageia 8.
I installed Kubuntu before Mageia 8 to make a try, but it didn't convince me, so I override Kubuntu's partition with the Mageia 8 one.

My problem is that in the ASUS Bios boot settings, the Kubuntu's still appears.
So I tried this command as root :
Code: Select all
efibootmgr -b 0002 -B

It deleted the Kubuntu boot, but after reboot, I checked the Bios : the Kubuntu boot were still there...

And the efibootmgr shows again the Kubuntu boot sequence :

Code: Select all
[root@Asus2022 regis]# efibootmgr -v
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0000,0002
Boot0000* Windows Boot Manager  HD(1,GPT,a0177756-5d8d-4d35-9362-e37fbe18184f,0x800,0x32000)/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.}....................
Boot0001* mageia        HD(1,GPT,a0177756-5d8d-4d35-9362-e37fbe18184f,0x800,0x32000)/File(\EFI\MAGEIA\GRUBX64.EFI)
Boot0002  ubuntu        HD(1,GPT,a0177756-5d8d-4d35-9362-e37fbe18184f,0x800,0x32000)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO
[root@Asus2022 regis]# efibootmgr -b 0002 -B


Any idea to definitively delete this Kubuntu boot option ?

Thank you in advance.
Last edited by ylyco on Dec 23rd, '22, 18:56, edited 1 time in total.
ylyco
 
Posts: 26
Joined: Dec 17th, '22, 12:16

Re: UEFI Deleteing Boot Entry : don't work out

Postby sturmvogel » Dec 22nd, '22, 20:57

You need to look into your EFI partition and make sure that there are no leftovers like \EFI\UBUNTU\SHIMX64.EFI or it will be added again to the boot order.
Delete the Ubuntu directory and after that remove the boot entry again via efibootmgr command.

Dependend on your setup the path may differ but normally you should have a look at /boot/EFI/EFI/ubuntu
sturmvogel
 
Posts: 735
Joined: Jul 30th, '12, 00:39

Re: UEFI Deleteing Boot Entry : don't work out

Postby ylyco » Dec 23rd, '22, 18:56

Thank you sturmvogel :
all is clean now on my system :)

Happy weekend ;)
ylyco
 
Posts: 26
Joined: Dec 17th, '22, 12:16


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest