Manjaro installation failed due to bootloader

Hi, I’m trying to install Manjaro on a completely empty disk but I encounter this problem:

2023-05-01 - 08:22:08 [2]: WARNING: [PYTHON JOB]: "Command 'grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Manjaro --force' returned non-zero exit status 1."  2023-05-01 - 
08:22:08 [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." 

The steps I did are:

  1. I used gparted to format the disk in GPT and after to create a 1GB partition formatted in FAT32 (I wanted to put more space because I thought to solve the problem of space) and the remaining partition formatted in ext4 format
  2. I used the installation wizard putting as an option “partitioning manual” going to set for the partition in FAT32 the mount point in /boot/efi while for the partition in ext4 as a mount point /

I can’t see the efibootmgr because i have this error;

No BootOrder is set; firmware will attempt recovery

In /sys/firmware/efi/efivars i have this result:

-rw-r--r-- 1 root root    9 May  1 07:34 ASRRSTConfigData-8f132913-6907-4192-a227-6cbcd7a50e6c
-rw-r--r-- 1 root root   13 May  1 07:34 ASR_USER_DEF_VER-8f132913-6907-4192-a227-6cbcd7a50e6c
-rw-r--r-- 1 root root    5 May  1 07:34 DeploymentModeNv-97e8965f-c761-4f48-b6e4-9ffa9cb2a2d6
-rw-r--r-- 1 root root 1284 May  1 07:34 DmiArray-4b3082a3-80c6-4d7e-9cd0-583917265df1
-rw-r--r-- 1 root root   20 May  1 07:34 DmiVar0200020700-4b3082a3-80c6-4d7e-9cd0-583917265df1
-rw-r--r-- 1 root root   17 May  1 07:34 MacAddrVar-8f132913-6907-4192-a227-6cbcd7a50e6c
-rw-r--r-- 1 root root    6 May  1 07:34 MaximumTableSize-4b3082a3-80c6-4d7e-9cd0-583917265df1
-rw-r--r-- 1 root root   12 May  1 07:34 SmbiosEntryPointTable-4b3082a3-80c6-4d7e-9cd0-583917265df1
-rw-r--r-- 1 root root   12 May  1 07:34 SmbiosScratchBuffer-4b3082a3-80c6-4d7e-9cd0-583917265df1
-rw-r--r-- 1 root root   12 May  1 07:34 SmbiosV3EntryPointTable-4b3082a3-80c6-4d7e-9cd0-583917265df1
-rw-r--r-- 1 root root   34 May  1 07:34 StageChk-8f132913-6907-4192-a227-6cbcd7a50e6c
-rw-r--r-- 1 root root   68 May  1 07:34 WriteOnceStatus-4b3082a3-80c6-4d7e-9cd0-583917265df1

In my BIOS the Secure Boot and the Fast Boot are disabled, but i really don’t know how to do in this case.

Thanks in advance and sorry for my english is not my native language.

I resolved put the CSM disabled.

Thanks and sorry :slight_smile:

for next time ,
you have to check ALL option in UEFI bios

disable secure boot
disable fast boot
only UEFI on others ( not windows)
no Legacy
no CSM
all disks on AHCI

theses command , after boot USB iso manjaro ,
will tell you if you are full EFI ( not UEFI[legacy] )

inxi  -Mxxa ( check for UEFI only , not UEFI[legacy] or Bios )
test -d /sys/firmware/efi && echo efi || echo bios

if not , go back to UEFI bios
then recheck all options

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