You are not logged in.

#1 2020-02-02 18:42:14

nahush
Member
Registered: 2019-01-18
Posts: 157

efibootmgr:error failed to register the boot entry?[Solved]

i was installing arch linux on my computer with new hard drive.i did all the instructions of installation ,but when i tried to install the boot loader it is not working

Error Message

grub-install --target = x86_64-efi --bootloader-id=GRUB --efi-directory = /boot/efi
installing for 86_64-efi platform.
could not prepare boot variable: No space left on device
grub-install :error :efibootmgr failed toregister the boot entry :Input/Output error

I tried

# rm /sys/firmware/efi/efivars/dump-*

no dump files were present.

i dont know what to do henceforth

can anyone help me

Last edited by nahush (2020-02-02 19:38:50)

Offline

#2 2020-02-02 18:43:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,671

Re: efibootmgr:error failed to register the boot entry?[Solved]

Are you even booted into EFI mode? What's your

efibootmgr -v

What's your mainboard vendor? Secure Boot disabled? It could be that it simply prevents NVRAM entries from being added by external means.

Last edited by V1del (2020-02-02 18:44:48)

Online

#3 2020-02-02 19:05:24

nahush
Member
Registered: 2019-01-18
Posts: 157

Re: efibootmgr:error failed to register the boot entry?[Solved]

V1del wrote:

Are you even booted into EFI mode? What's your

efibootmgr -v

What's your mainboard vendor? Secure Boot disabled? It could be that it simply prevents NVRAM entries from being added by external means.

efibootmgr -v
BootCurrent: 0003
Timeout : 2 seconds
BootOrder: 0003,0000,0001,0002
Boot0000* SATA HDD               :ST500VT000-1DK142                  BBS9(HD,#,0x500)...................-...............A.......................................
BOOT0001* USB HDD              :SMI   USB DISK                         BBS(HD,#,0x500)..................................................................................
BOOT0002* NETWORK BOOT : Realtek PXE B01 D00   BBS(128,#,0x0)................................&.............................................
BOOT0003* EFI USB DEVICE                  PciRoot(0x0)/Pci(0x1d,0x0)/USB(0,0)/USB(1,0)/HD(1,MBR,0xade6bcd0,0x800,0x1fdff800)RC

secure boot is disabled

$ od --address-radix=n --format=u1 /sys/firmware/efi/efivars/SecureBoot-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX 

returns

22   0   0   0  0

motherboard vendor is intel -i3 (low battery processor)

Offline

#4 2020-02-02 19:12:36

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: efibootmgr:error failed to register the boot entry?[Solved]

You could try

grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi --no-nvram --removable

With the --force and --force-extra-removable options also available as a last resort.

Offline

#5 2020-02-02 19:14:28

nahush
Member
Registered: 2019-01-18
Posts: 157

Re: efibootmgr:error failed to register the boot entry?[Solved]

Head_on_a_Stick wrote:

You could try

grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi --no-nvram --removable

With the --force and --force-extra-removable options also available as a last resort.

it wont disrupt anything ?please giive the exact command line with "--force "

Last edited by nahush (2020-02-02 19:16:23)

Offline

#6 2020-02-02 19:21:13

nahush
Member
Registered: 2019-01-18
Posts: 157

Re: efibootmgr:error failed to register the boot entry?[Solved]

nahush wrote:
Head_on_a_Stick wrote:

You could try

grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi --no-nvram --removable

With the --force and --force-extra-removable options also available as a last resort.

it wont disrupt anything ?please giive the exact command line with "--force "


i did the command as you told ,without --force and it worked will let you know if all things went well

Offline

Board footer

Powered by FluxBB