Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Failing to edit boot entries using efibootmgr

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
patb
Posts: 9
Joined: 2015-09-21 06:40
Location: Malawi

Failing to edit boot entries using efibootmgr

#1 Post by patb »

Any attempt to alter my boot entries using efibootmgr results in a locked state from which I can recover only through a hard reset. Just listing the entries however works fine. I am using rEFInd as my boot manager. If I attempt grub-install (without the --no-nvram option), I get the same result, presumably for the same underlying reason. This all began with the debian install locking up at the grub-install step, (which I got around by booting from the grub menu).

Any comments or suggestions would be most welcome.

I have a dual boot Debian/Windows system. The boot entries shown under Windows (using bcdedit.exe) and linux seem different to me although I am not familiar with the terminology.

Some possibly useful background is:

Code: Select all

pat@debian:~$ uname -a
Linux debian 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux

Code: Select all

root@debian:~# efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0005,0003,2001,2002,2003
Boot0000* rEFInd        HD(1,GPT,8e739eec-2315-4698-a0b1-24924d22d43e,0x800,0x82000)/File(\EFI\refind\refind_x64.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.}....................
Boot0003* Windows Boot Manager  HD(1,GPT,8e739eec-2315-4698-a0b1-24924d22d43e,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)RC
Boot0005* rEFInd Boot Manager   PciRoot(0x0)/Pci(0x1c,0x0)/Ctrl(0x0)/Unit(0)/HD(1,GPT,8e739eec-2315-4698-a0b1-24924d22d43e,0x800,0x82000)/File(\EFI\refind\refind_x64.efi)..
Boot000B* Windows Boot Manager  HD(1,GPT,8e739eec-2315-4698-a0b1-24924d22d43e,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)RC
Boot2001* EFI USB Device        RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network   RC
But attempting "efibootmgr --bootnext 3" for instance, will cause a lock-up.

Booting into Windows with the 'System partition' mounted:

Code: Select all

S:\EFI>bcdedit /v

Windows Boot Manager
--------------------
identifier              {9dea862c-5cdd-4e70-acc1-f32b344d4795}
device                  partition=S:
path                    \EFI\refind\refind_x64.efi
description             rEFInd
locale                  en-US
inherit                 {7ea2e1ac-2e61-4728-aaa3-896d9d0a9f0e}
flightsigning           Yes
default                 {9dea862c-5cdd-4e70-acc1-f32b344d4795}
resumeobject            {0de24c27-ba92-11e7-af1b-1c834123550b}
displayorder            {0de24c28-ba92-11e7-af1b-1c834123550b}
toolsdisplayorder       {b2721d73-1db4-4c62-bf78-c548a880142d}
timeout                 5

Windows Boot Loader
-------------------
identifier              {0de24c28-ba92-11e7-af1b-1c834123550b}
device                  partition=C:
path                    \Windows\system32\winload.efi
description             Windows 10
locale                  en-US
inherit                 {6efb52bf-1766-41db-a6b3-0ee5eff72bd7}
recoverysequence        {9869f5b6-ba8e-11e7-956d-1c834123550b}
displaymessageoverride  Recovery
recoveryenabled         Yes
isolatedcontext         Yes
flightsigning           Yes
allowedinmemorysettings 0x15000075
osdevice                partition=C:
systemroot              \Windows
resumeobject            {0de24c27-ba92-11e7-af1b-1c834123550b}
nx                      OptIn
bootmenupolicy          Standard
Cheers, Pat.
Debian GNU/Linux 7 (wheezy). HP Pavilion TS 11 Notebook PC. AMD 64 bit processor.

Post Reply