You are not logged in.

#1 2015-09-03 23:13:10

zerophase
Member
Registered: 2015-09-03
Posts: 239

[SOLVED]efibootmgr Could not delete boot variable: No space left

I'm trying to configure rEFInd, so it's bootable under secure boot. I ended up deleting Preloader, as I couldn't get it to boot up from the bios. running

sudo efibootmgr -b 4 -B

gives

efibootmgr: Could not delete boot variable: No space left on device

After running that command efibootmgr -v shows it as deleted.

Boot0000  Windows Boot Manager    HD(1,GPT,a4dfbe6f-b803-4e60-b06e-364752b3a56b,0x800,0x5f800)/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  Hard Drive     BBS(HD,,0x0)..GO..NO........o.S.a.m.s.u.n.g. .S.S.D. .8.5.0. .P.R.O. .2.5.6.G.B....................A...........................>..Gd-.;.A..MQ..L.1.S.U.S.S.N.G.A.2.1.0.2.4.9. .A. . . . ........BO..NO........q.P.N.Y. .U.S.B. .2...0. .F.D. .1.1.0.0....................A...................................8..Gd-.;.A..MQ..L.A.E.3.3.H.E.0.1.0.0.0.0.0.0.1.0.7........BO..NO........o.S.a.m.s.u.n.g. .S.S.D. .8.5.0. .P.R.O. .1.T.B....................A...........................>..Gd-.;.A..MQ..L.1.S.R.S.W.N.F.A.0.C.2.1.7.5. .L. . . . ........BO
Boot0002* rEFInd Boot Manager    HD(1,GPT,a4dfbe6f-b803-4e60-b06e-364752b3a56b,0x800,0x5f800)/File(\EFI\REFIND\LOADER.EFI)
Boot0003  Arch    HD(1,GPT,a4dfbe6f-b803-4e60-b06e-364752b3a56b,0x800,0x5f800)/File(\EFI\REDHAT\GRUB.EFI)vmlinuz-linux
Boot0006  grub mock    HD(1,GPT,a4dfbe6f-b803-4e60-b06e-364752b3a56b,0x800,0x5f800)/File(\EFI\REDHAT\GRUB.EFI)/EFI/refind/grubx64.efi
Boot0007  shim    HD(1,GPT,a4dfbe6f-b803-4e60-b06e-364752b3a56b,0x800,0x5f800)/File(\EFI\REDHAT\GRUB.EFI)/EFI/refind/shimx64.efi
Boot000C  Linux    HD(1,GPT,a4dfbe6f-b803-4e60-b06e-364752b3a56b,0x800,0x5f800)/File(\EFI\REDHAT\GRUB.EFI)shim.efi
Boot000D* UEFI: PNY USB 2.0 FD 1100    PciRoot(0x0)/Pci(0x1a,0x0)/USB(0,0)/USB(4,0)/USB(2,0)/HD(1,GPT,a93dffc7-c7ba-4235-978f-4ed7324f1e31,0x800,0x2d5f)..BO

Is there anything else I'd have to do to remove Preloader from the nvRAM?  Do I just need to add Preloader to the boot options to enable secure boot for rEFInd?

Last edited by zerophase (2015-09-14 19:45:12)

Offline

#2 2015-09-04 07:15:30

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: [SOLVED]efibootmgr Could not delete boot variable: No space left

I don't know about rEFInd but you can check the NVRAM entries manually in /sys/firmware/efi/efivars/Boot* (EDIT: or similar; I posted this from FreeBSD so the exact name may be different)

UEFI implementations vary in their quality and yours may just be a little buggy.

Last edited by Head_on_a_Stick (2015-09-04 07:18:03)


Jin, Jîyan, Azadî

Offline

#3 2015-09-04 07:44:28

zerophase
Member
Registered: 2015-09-03
Posts: 239

Re: [SOLVED]efibootmgr Could not delete boot variable: No space left

Clearing cmos did it.

Last edited by zerophase (2015-09-04 10:38:42)

Offline

Board footer

Powered by FluxBB