After booting to live media, and attempting to install Manjaro to an empty hard drive, I get this error at the end of installation:
Boost.Python error in job “bootloader”.
Command ‘grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Manjaro --force’ returned non-zero exit status 1.
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.
Traceback:
File “/usr/lib/calamares/modules/bootloader/main.py”, line 476, in run
prepare_bootloader(fw_type)
File “/usr/lib/calamares/modules/bootloader/main.py”, line 448, in prepare_bootloader
install_grub(efi_directory, fw_type)
File “/usr/lib/calamares/modules/bootloader/main.py”, line 310, in install_grub
check_target_env_call([libcalamares.job.configuration[“grubInstall”],
File “”, line 6, in
I have read this thread regarding possible causes. However, the possible cause given in it does not apply to me. The output of efibootmgr is not “unreasonably long”; it has only three entries. Nor am I running any variant of safe boot or legacy boot; I have set my boot to UEFI only and disabled safe boot. What further troubleshooting steps should I take?
I have attempted the installation process with manual partitioning (300mb FAT32 with tag boot, mountpoint /boot/efi, remainder of drive ext4 with no tags, mountpoint /, 2mb unallocated), but encountered the same error message.
Forgot to update this, I inadvertently solved my own problem. Despite the error message, it seems that Manjaro did in fact install properly—when rebooting to try the installation again, I forgot to pick my live media in the boot menu, and my machine just booted to the entry at the top of the list, i.e. the newly-made Manjaro partition. So far, my installation has been working without issue. I’ll file a bug report with the Calamares installer about a potential false positive error message.