UEFI Installation fails Bootloader install (Error 1)

LOG

I can’t figure this out, I have never had this issue before and was successfully running EndeavourOS but then I decided to install Linux Lite which lead to this problem. It has now carried over to EndeavourOS, I can install in Legacy mode but I would like to use UEFI if possible.

I am doing a full wipe on an AMD laptop.

Any help would be much appreciated, Thanks in advance.

Here is relevant part of LOG:

2021-12-25 - 06:36:15 [6]:     ..  Running ("grub-install", "--target=x86_64-efi", "--efi-directory=/boot/efi", "--bootloader-id=endeavouros-7320", "--force") 
2021-12-25 - 06:36:16 [6]: QML Component (default slideshow) Next slide
2021-12-25 - 06:36:46 [6]: QML Component (default slideshow) Next slide
2021-12-25 - 06:36:56 [6]:     ..  Target cmd: ("grub-install", "--target=x86_64-efi", "--efi-directory=/boot/efi", "--bootloader-id=endeavouros-7320", "--force") Exit code: 1 output:
 Installing for x86_64-efi platform.
Could not prepare Boot variable: No space left on device
grub-install: error: efibootmgr failed to register the boot entry: Input/output error.
2021-12-25 - 06:36:57 [2]: WARNING: [PYTHON JOB]: "Command 'grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=endeavouros-7320 --force' returned non-zero exit status 1." 
2021-12-25 - 06:36:57 [6]: [PYTHON JOB]: "stdout:Installing for x86_64-efi platform.\nCould not prepare Boot variable: No space left on device\ngrub-install: error: efibootmgr failed to register the boot entry: Input/output error." 
2021-12-25 - 06:36:57 [6]: [PYTHON JOB]: "stderr:None" 
2021-12-25 - 06:36:57 [6]: virtual void Calamares::JobThread::run()
    Skipping non-emergency job "prepare post-installation cleanup tasks ..." 
2021-12-25 - 06:36:57 [6]:     ..  Skipping non-emergency job "running post-installation cleanup tasks" 
2021-12-25 - 06:36:57 [6]:     ..  Skipping non-emergency job "reset 90-mkinitcpio-install.hook" 
2021-12-25 - 06:36:57 [6]:     ..  Skipping non-emergency job "services-systemd" 
2021-12-25 - 06:36:57 [6]:     ..  Skipping non-emergency job "Saving files for later ..." 
2021-12-25 - 06:36:57 [6]:     ..  Skipping non-emergency job "copy logs and files from host to target" 
2021-12-25 - 06:36:57 [6]:     ..  Skipping non-emergency job "umount" 
2021-12-25 - 06:36:57 [1]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
    ERROR: Installation failed: "Bootloader installation error" 
2021-12-25 - 06:36:57 [6]:     ..  - message: "Bootloader installation error" 
2021-12-25 - 06:36:57 [6]:     ..  - details: The bootloader could not be installed. The installation command <pre>grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=endeavouros-7320 --force</pre> returned error code 1.
2021-12-25 - 06:36:58 [6]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
    Calamares will quit when the dialog closes. 
2021-12-25 - 06:36:59 [6]: QML Component (default slideshow) deactivated
2021-12-25 - 06:36:59 [6]: void Config::doNotify(bool, bool)
    Notification not sent; completion: failed

Hello @piransu
So you want to wipe off the whole drive and install EndeavourOS? Can you post your hardware info by booting on the live ISO with internet and post the link for this command.

inxi -Faz --no-host | eos-sendlog

Edit: Also how did you create the live ISO?
Edit2: To install on UEFI you must have secure boot disabled in the UEFi Bios.

Yes, its a low end laptop I have laying around that I like using when not on my Desktop. I backup anything important so I don’t mind wiping it.

Here is the info

I used Etcher from my previous Linux Lite installation.

I have that disabled, I heard people talk about fastboot but I can’t find that option in my bios.

You should be able to just boot on the live ISO and use erase disc with swap file. Unless there is a problem with the live ISO. Have you tried the install only once? I don’t see any issue with the hardware other than it has radeon onboard graphics and radeon 8550 mobile. If you try again or if you have tried more than once and is failing i would suspect the live usb.

Something filled your EFI variables space. It’s probably due to kernel dump files which you can clear with:

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

The other thing to check is whether you have obsolete boot variables:

efibootmgr -v

but this is less likely to be the issue.

1 Like

That is exactly what I am doing and the OS installation goes fine only to stop at the grub installation.

I have only tried installing once. But I had the same issue with Linux Lite install which I tried to fix with at least 4 different attempts with the exact same error, only to give in and go for legacy install.

I was always confused by that, I thought they were one and the same. Is this a big issue?

What utility would you recommend other than etcher to ensure a problem free live USB? I tried the dd command as specified in the official installation guide but it will not load properly.

That sounds promising, I am trying an install after running this command. Will post an update once done.

Here is the output:

BootCurrent: 0018
Timeout: 1 seconds
BootOrder: 0015,000F,0017,0018,0012,000C
Boot000C* CD/DVD Drive	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)..GO
Boot000F* CD/DVD Drive	BBS(CDROM,,0x0)..GO..NO........o.S.l.i.m.t.y.p.e.D.V.D. .A. . .D.A.8.A.E.S.H....................A...........................>..Gd-.;.A..MQ..L.5.3.8.0.1.A. .7.B.4.7.6.8.1.3.5.8.5.7.8........BO
Boot0012* Network Card	BBS(Network,,0x0)..GO..NO........k.R.e.a.l.t.e.k. .P.X.E. .B.0.3. .D.0.0.........................rN.D+..,.\...........<..Gd-.;.A..MQ..L.R.e.a.l.t.e.k. .P.X.E. .B.0.3. .D.0.0........BO
Boot0015* Hard Drive	BBS(HD,,0x0)..GO..NO........s.h.p. .v.2.1.0.w. .0.0.0.0....................A.......................F..Gd-.;.A..MQ..L.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.B.0.5.F........BO
Boot0017* UEFI: hp v210w 0000	PciRoot(0x0)/Pci(0x10,0x0)/USB(4,0)/CDROM(1,0x391b60,0xcca6)..BO
Boot0018* UEFI: hp v210w 0000, Partition 1	PciRoot(0x0)/Pci(0x10,0x0)/USB(4,0)/HD(1,MBR,0x6abbeac5,0x391b60,0x33000)..BO

I cant tell if any of these are obsolete, I do see an extra CD/DVD drive and 2 UEFI boot variable for my live USB.

Yup that did the trick :partying_face:, thank you so much!

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.