grub-install - efibootmgr failed to register the boot entry

Dear Manjaro-community,

I have troubles with the installation of Manjaro on a Thinkpad X130e, though I think Manjaro itself isn't the problem, but the bootloader respectively the EFI-entry. I've already tried this a couple of weeks ago, as far as I remember I additionally tried it with Fedora and I hit a similar problem.

This said, at the end of the Manjaro-Intallation I got the following error-message:
Screenshot_2020-05-31_15-48-52

I found some suggestions, that dump-files could be the problem, but I can't find any - my knowledge with EFI and Co. is quite limited and I don't know, if something else could be deleted:

[manjaro efivars]# ls -la
total 0
drwxr-xr-x 2 root root    0 May 31 11:53 .
drwxr-xr-x 4 root root    0 May 31 11:53 ..
-rw-r--r-- 1 root root   12 May 31 11:53 AcpiGlobalVariable-af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e
-rw-r--r-- 1 root root   74 May 31 11:53 Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   80 May 31 11:53 Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   46 May 31 11:53 Boot0004-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   54 May 31 11:53 Boot0005-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   84 May 31 11:53 Boot0006-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   64 May 31 11:53 Boot0007-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   66 May 31 11:53 Boot0008-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   69 May 31 11:53 Boot0009-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   66 May 31 11:53 Boot000A-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   66 May 31 11:53 Boot000E-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root    6 May 31 11:53 BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root    8 May 31 11:53 BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   14 May 31 11:53 BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   14 May 31 11:53 BootOrderDefault-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   12 May 31 11:53 BugCheckCode-ba57e015-65b3-4c3c-b274-659192f699e3
-rw-r--r-- 1 root root   12 May 31 11:53 BugCheckParameter1-ba57e015-65b3-4c3c-b274-659192f699e3
-rw-r--r-- 1 root root    8 May 31 11:53 BugCheckProgress-ba57e015-65b3-4c3c-b274-659192f699e3
-rw-r--r-- 1 root root   94 May 31 11:53 ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   50 May 31 11:53 ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   34 May 31 11:53 ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   34 May 31 11:53 ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root 1541 May 31 11:53 CurrentPolicy-77fa9abd-0359-4d32-bd60-28f4e78f784b
-rw-r--r-- 1 root root    6 May 31 11:53 DIAGSPLSHSCRN-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   34 May 31 11:53 ErrOut-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   34 May 31 11:53 ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   12 May 31 11:53 HDDPWD-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root    8 May 31 11:53 Kernel_ATPSiStatus-77fa9abd-0359-4d32-bd60-28f4e78f784b
-rw-r--r-- 1 root root    8 May 31 11:53 Kernel_DriverSiStatus-77fa9abd-0359-4d32-bd60-28f4e78f784b
-rw-r--r-- 1 root root    8 May 31 11:53 Kernel_EntRevokeSiStatus-77fa9abd-0359-4d32-bd60-28f4e78f784b
-rw-r--r-- 1 root root    8 May 31 11:53 Kernel_RvkSiStatus-77fa9abd-0359-4d32-bd60-28f4e78f784b
-rw-r--r-- 1 root root    8 May 31 11:53 Kernel_SiStatus-77fa9abd-0359-4d32-bd60-28f4e78f784b
-rw-r--r-- 1 root root    8 May 31 11:53 Kernel_SkuSiStatus-77fa9abd-0359-4d32-bd60-28f4e78f784b
-rw-r--r-- 1 root root    8 May 31 11:53 Kernel_WinSiStatus-77fa9abd-0359-4d32-bd60-28f4e78f784b
-rw-r--r-- 1 root root  122 May 31 11:53 Key0000-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root  128 May 31 11:53 Key0001-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root  164 May 31 11:53 Key0002-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root  222 May 31 11:53 Key0003-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root  222 May 31 11:53 Key0004-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root    6 May 31 11:53 LastBootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root    8 May 31 11:53 LBC-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
-rw-r--r-- 1 root root    5 May 31 11:53 LBL-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
-rw-r--r-- 1 root root  133 May 31 11:53 LenovoConfig-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
-rw-r--r-- 1 root root   36 May 31 11:53 LenovoScratchData-67c3208e-4fcb-498f-9729-0760bb4109a7
-rw-r--r-- 1 root root  132 May 31 11:53 LenovoSecurityConfig-a2c1808f-0d4f-4cc9-a619-d1e641d39d49
-rw-r--r-- 1 root root   54 May 31 11:53 LenovoSystemConfig-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
-rw-r--r-- 1 root root   60 May 31 11:53 LWO-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
-rw-r--r-- 1 root root   80 May 31 11:53 MailBoxQ-67c3208e-4fcb-498f-9729-0760bb4109a7
-rw-r--r-- 1 root root   84 May 31 11:53 MemoryTypeInformation-4c19049f-4137-4dd3-9c10-8b97a83ffdfa
-rw-r--r-- 1 root root   84 May 31 11:53 MemoryTypeInformationBackup-4c19049f-4137-4dd3-9c10-8b97a83ffdfa
-rw-r--r-- 1 root root    8 May 31 11:53 MTC-eb704011-1402-11d3-8e77-00a0c969723b
-rw-r--r-- 1 root root    8 May 31 11:53 OfflineUniqueIDRandomSeedCRC-eaec226f-c9a3-477a-a826-ddc716cdc0e3
-rw-r--r-- 1 root root   36 May 31 11:53 OfflineUniqueIDRandomSeed-eaec226f-c9a3-477a-a826-ddc716cdc0e3
-rw-r--r-- 1 root root   54 May 31 11:53 OpromDevicePath-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   16 May 31 11:53 PbaStatusVar-0ec1a7f5-4904-40a0-8eab-4bcc4666da45
-rw-r--r-- 1 root root  540 May 31 11:53 PBRDevicePath-a9b5f8d2-cb6d-42c2-bc01-b5ffaae4335e
-rw-r--r-- 1 root root   10 May 31 11:53 PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   28 May 31 11:53 PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   14 May 31 11:53 ProtectedBootOptions-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   12 May 31 11:53 PwdStatusVar-3e72b3ad-2b91-424a-ad73-c3270e91ed88
-rw-r--r-- 1 root root   28 May 31 11:53 Setup-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9
-rw-r--r-- 1 root root    6 May 31 11:53 SetupHotKey-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root  134 May 31 11:53 SMBIOSELOG000-c3eeae98-23bf-412b-ab60-efcbb48e1534
-rw-r--r-- 1 root root    5 May 31 11:53 SMBIOSELOGNUMBER-c3eeae98-23bf-412b-ab60-efcbb48e1534
-rw-r--r-- 1 root root    6 May 31 11:53 SMBIOSLEN-c3eeae98-23bf-412b-ab60-efcbb48e1534
-rw-r--r-- 1 root root   12 May 31 11:53 SMBIOSMEMSIZE-c3eeae98-23bf-412b-ab60-efcbb48e1534
-rw-r--r-- 1 root root    8 May 31 11:53 SmmS3NvsData-8983fd2d-113c-4e2b-8f47-0abfeb20a41a
-rw-r--r-- 1 root root    7 May 31 11:53 Time-470733de-df43-448b-8b45-4eeb0df8c812
-rw-r--r-- 1 root root    6 May 31 11:53 Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c
-rw-r--r-- 1 root root   36 May 31 11:53 UnlockIDCopy-eaec226f-c9a3-477a-a826-ddc716cdc0e3

Another suggestion was to delete old boot-entries to get space in the NVRAM. There was an old Windows entry but when I tried to delete it with efibootmgr -b 0000 -B I once more got Could not delete variable: No space left on device, but efibootmgr -v says the entry is gone anyway:

[manjaro ~]# efibootmgr -v
BootCurrent: 000A
Timeout: 0 seconds
BootOrder: 0007,0008,0009,000A,000E
Boot0001  Rescue and Recovery    FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0002  Startup Interrupt Menu    FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0004  Setup    FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0005  Boot Menu    FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0006  Diagnostic Splash Screen    FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0007* USB CD    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0008* USB FDD    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0009* ATA HDD0    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot000A* USB HDD    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot000E* PCI LAN    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)

Still the manjaro installation is not able to finish without error. I also tried to reset the BIOS - without a change.
After I wasn't able to install Manjaro (respectively the bootloader), I thought the NVRAM is write-locked somehow, so I tried to install Windows again and this is able to write an EFI-entry, so I guess the problem is related to efibootmgr.

Can someone help me with this?

Regards,
Markus

EFI boot entries are not stored in NVRAM but in the EFI system partition, which is a vfat (FAT32) partition of (preferably) 512 MiB in size, marked with the esp and boot flags. The reason why it must be a FAT-based filesystem is so that the EFI would be able to read it.

Some people choose a smaller ESP, with a FAT16 filesystem, and while that may work, it also fills up a lot sooner if you never clean it out. :man_shrugging:

Thanks for the explanation, so I got this wrong. But does this change anything regarding my problem?

Well, to be honest, I don't know what all of those entries in your ESP are. If you only have Manjaro installed, then you would normally only have two entries in there. Yours is filled to the brim. :astonished:

can you boot please with iso USB manjaro
open a terminal and browser on this topic
and returns

inxi -Fxxxza
sudo parted -l
1 Like

Hello stephane,

thanks for your answer, here are the outputs

[manjaro ~]# inxi -Fxxxza
System:    Host: manjaro Kernel: 5.6.7-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.3.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC driver=free nouveau.modeset=1 
           i915.modeset=1 radeon.modeset=1 misobasedir=manjaro misolabel=MANJARO_XFCE_200 quiet systemd.show_status=1 
           apparmor=1 security=apparmor 
           Console: tty 0 dm: LightDM 1.30.0 Distro: Manjaro Linux 
Machine:   Type: Laptop System: LENOVO product: 06222EU v: ThinkPad X130e serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: LENOVO model: 06222EU serial: <filter> UEFI: LENOVO v: 8RET54WW (1.17 ) date: 10/24/2012 
Battery:   ID-1: BAT1 charge: 36.8 Wh condition: 36.8/62.2 Wh (59%) volts: 12.8/11.1 model: SANYO 42T4957 type: Li-ion 
           serial: <filter> status: Full 
CPU:       Topology: Dual Core model: AMD E-450 APU with Radeon HD Graphics bits: 64 type: MCP arch: Bobcat family: 14 (20) 
           model-id: 2 stepping: N/A microcode: 5000119 L1 cache: 128 KiB L2 cache: 512 KiB 
           flags: lm nx pae sse sse2 sse3 sse4a ssse3 svm bogomips: 6588 
           Speed: 825 MHz min/max: 825/1650 MHz Core speeds (MHz): 1: 870 2: 828 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass status: Vulnerable 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full AMD retpoline, STIBP: disabled, RSB filling 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Wrestler [Radeon HD 6320] vendor: Lenovo driver: radeon v: kernel 
           bus ID: 00:01.0 chip ID: 1002:9806 
           Display: server: X.org 1.20.8 driver: ati,radeon unloaded: modesetting alternate: fbdev,vesa tty: 135x35 
           Message: Advanced graphics data unavailable in console for root. 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Wrestler HDMI Audio driver: snd_hda_intel v: kernel bus ID: 00:01.1 
           chip ID: 1002:1314 
           Device-2: Advanced Micro Devices [AMD/ATI] SBx00 Azalia vendor: Lenovo driver: snd_hda_intel v: kernel 
           bus ID: 00:14.2 chip ID: 1002:4383 
           Sound Server: ALSA v: k5.6.7-1-MANJARO 
Network:   Device-1: Realtek RTL8188CE 802.11b/g/n WiFi Adapter driver: rtl8192ce v: kernel port: 3000 bus ID: 01:00.0 
           chip ID: 10ec:8176 
           IF: wlp1s0 state: down mac: <filter> 
           Device-2: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet vendor: Lenovo driver: atl1c v: 1.0.1.1-NAPI port: 2000 
           bus ID: 02:00.0 chip ID: 1969:1083 
           IF: enp2s0 state: down mac: <filter> 
Drives:    Local Storage: total: 301.82 GiB used: 70.5 MiB (0.0%) 
           ID-1: /dev/sda vendor: Hitachi model: HTS545032B9A300 size: 298.09 GiB block size: physical: 512 B logical: 512 B 
           speed: 3.0 Gb/s rotation: 5400 rpm serial: <filter> rev: C61H scheme: GPT 
           ID-2: /dev/sdb type: USB vendor: SanDisk model: Cruzer Blade size: 3.73 GiB block size: physical: 512 B 
           logical: 512 B serial: <filter> rev: 1.20 scheme: MBR 
Partition: ID-1: / raw size: N/A size: 5.54 GiB used: 70.5 MiB (1.2%) fs: overlay source: ERR-102 
Sensors:   System Temperatures: cpu: 58.4 C mobo: 0.0 C gpu: radeon temp: 58 C 
           Fan Speeds (RPM): cpu: 536 
Info:      Processes: 151 Uptime: 1h 18m Memory: 7.38 GiB used: 602.4 MiB (8.0%) Init: systemd v: 244 Compilers: gcc: 9.3.0 
           Shell: bash v: 5.0.16 running in: tty 0 inxi: 3.0.37
[manjaro ~]# sudo parted -l
Model: ATA HITACHI HTS54503 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size    File system  Name                          Flags
 1      1049kB  556MB  555MB   ntfs         Basic data partition          hidden, diag
 2      556MB   661MB  105MB   fat32        EFI system partition          boot, esp
 3      661MB   677MB  16.8MB               Microsoft reserved partition  msftres
 4      677MB   157GB  157GB   ntfs         Basic data partition          msftdata


Model: SanDisk Cruzer Blade (scsi)
Disk /dev/sdb: 4005MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 2      2815MB  2819MB  4194kB  primary               esp

As already meantioned: This is the state after installing Windows. Do you need the parted output after the (failed) Manjaro installation?

There it is: your ESP is too small. It's only 105 MiB. Manjaro requires it to be somewhere around 512 MiB, even when there's nothing in it. See the pertinent section in the Arch Wiki. :arrow_down:

To provide adequate space for storing boot loaders and other files required for booting, and to prevent interoperability issues with other operating systems the partition should be at least 260 MiB. For early and/or buggy UEFI implementations the size of at least 512 MiB might be needed.

If the installtion failed at installing the bootloader and the rest of system was installed correctly, you might want to try to install the bootloader from your live usb. You need to chroot to your Manjaro system. The steps are described at: https://wiki.manjaro.org/index.php?title=Restore_the_GRUB_Bootloader

Skip the part of making an EFI system partition since you already have one.

After that, still in chroot environment, run:

mkinitcpio -P

and

update-grub

Neext type exit to quit the chroot and reboot your machine.

Yes, but it's too small ─ see my post above yours.

I saw that, but in practice, I always make an EFI (a seperate for each os) the size of 100 MB FAT32 and the installation of bootloader never has failed me. E

Windows' bootlader is about 45 MB and Manjaro's about 10. So it could/should go through.

Thanks once more for all your answers. I started the installation again, because the partitioning as it is now, is from Windows and not like it was after the Manjaro installation with choosen "delete harddisk". It will take a couple of minutes with this old hardware :slight_smile:

Manjaro is the only OS on this machine here, and I remember that I got that same error at first with a 260 MiB ESP. Only after repartitioning and making the ESP 512 MiB would the installation succeed.

:man_shrugging:

So, got the error again, the partitioning is now:

[manjaro ~]# sudo parted -l
Model: ATA HITACHI HTS54503 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size   File system  Name  Flags
 1      2097kB  317MB  315MB  fat32              boot, esp
 2      317MB   320GB  320GB  ext4

I will now try your suggestions.

Edit:
Trying to install it manually (onto the automatically created partitioning) also fails with the same error:

[root@manjaro /]# sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
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.

I will try it with a manually created bigger partition.

gparted

Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name  Flags
 1      1049kB  135MB   134MB   fat32              boot, esp
 2      135MB   37.7GB  37.6GB  ext4
 3      37.7GB  53.8GB  16.1GB  ext4
 4      53.8GB  250GB   196GB   ext4

:man_shrugging:

It might be specific to the firmware. All I know is that on my computer here ─ new from last year, late in April ─ it wouldn't work with an ESP smaller than 512 MiB. And the Arch Wiki does mention that some UEFI firmwares do have a problem with that.

:man_shrugging:

Apparently there is no universal rule that ESP must always be 512 MB. Perhaps in some cases it should.

1 Like

The size of the esp is not the issue here.

I suspect some efi firmware has a limited number of boot entries.

In Lenovo firmware you can remove entries - or you can efibootmgr to delete entries

1 Like

From ArchWiki:

## Check for an existing partition

If you are installing Arch Linux on an UEFI-capable computer with an installed operating system, like Windows 10 for example, it is very likely that you already have an EFI system partition.**

To find out the disk partition scheme and the system partition, use fdisk as root on the disk you want to boot from

fdisk -l /dev/sd *x
.
.
.

*** The list of partitions on the disk: Look for the EFI system partition in the list, it is a small (usually about 100–550 MiB) partition with a type EFI System or EFI (FAT-12/16/32) . To confirm this is the ESP, mount it and check whether it contains a directory named EFI , if it does this is definitely the ESP.**
.
.
If you found an existing EFI system partition, simply proceed to [#Mount the partition](https://wiki.archlinux.org/index.php/EFI_system_partition#Mount_the_partition)

But later:

If you did not find one, you will need to create it, proceed to #Create the partition.

Create the partition

.
.
.

To provide adequate space for storing boot loaders and other files required for booting, and to prevent interoperability issues with other operating systems[1][2] the partition should be at least 260 MiB. For early and/or buggy UEFI implementations the size of at least 512 MiB might be needed.[3]

are you in chroot when install grub EFI ?
if not with Iso USB manjaro
open a terminal

manjaro-chroot -a ( select 1 if only one line appears )
cat /etc/fstab ( check UUID on disks )
lsblk -fs ( check UUID for /boot/efi ) 
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck --verbose
grub-mkconfig -o /boot/grub/grub.cfg
update-grub 
exit ( leave chroot )

then reboot and check in bios

I guessed something similar, but after removing the Windows-entry it still didn't work.

Yes, I chrooted with manjaro-chroot -a like described in the linked article.
Now I partitioned the disk manually with fdisk and a bigger /boot/efi partition - the installation is running at the time.

manjaro ~]# parted -l
Model: ATA HITACHI HTS54503 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size   File system  Name  Flags
 1      1049kB  538MB  537MB  fat32              boot, esp
 2      538MB   320GB  320GB  ext4

Edit 1:
Failed again with No Space left on device :frowning: I will try to install it again like you posted it stephane

Edit 2:

[root@manjaro /]# cat /etc/fstab 
UUID=01D3-0DE2                            /boot/efi      vfat    umask=0077 0 2
UUID=642c971b-5728-4e89-aa60-562b165f16e7 /              ext4    defaults,noatime 0 1

[root@manjaro /]# blkid
/dev/sda1: UUID="01D3-0DE2" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="60abf168-c7ab-794c-804b-95214dcf9a39"
/dev/sda2: UUID="642c971b-5728-4e89-aa60-562b165f16e7" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="e32cb1eb-d4a9-9745-80e9-3eb1568a32c4"
(...)
[root@manjaro /]# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck --verbose
Installing for x86_64-efi platform.
grub-install: info: cannot open `/boot/grub/device.map': No such file or directory.
grub-install: info: /dev/sda1 is not present.
grub-install: info: Looking for /dev/sda1.
grub-install: info: /dev/sda is a parent of /dev/sda1.
grub-install: info: /dev/sda1 starts from 2048.
grub-install: info: opening the device hostdisk//dev/sda.
grub-install: info: drive = 0.
grub-install: info: the size of hostdisk//dev/sda is 625142448.
grub-install: info: drive = 0.
grub-install: info: the size of hostdisk//dev/sda is 625142448.
grub-install: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub-install: info: scanning hostdisk//dev/sda for LDM.
grub-install: info: no LDM signature found.
grub-install: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub-install: info: no LVM signature found.
grub-install: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub-install: info: scanning hostdisk//dev/sda for LDM.
grub-install: info: no LDM signature found.
grub-install: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub-install: info: no LVM signature found.
grub-install: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub-install: info: scanning hostdisk//dev/sda for LDM.
grub-install: info: no LDM signature found.
grub-install: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub-install: info: no LVM signature found.
grub-install: info: Partition 0 starts from 2048.
grub-install: info: /dev/sda1 is present.
grub-install: info: Looking for /dev/sda1.
grub-install: info: /dev/sda is a parent of /dev/sda1.
grub-install: info: /dev/sda1 starts from 2048.
grub-install: info: opening the device hostdisk//dev/sda.
grub-install: info: drive = 0.
grub-install: info: the size of hostdisk//dev/sda is 625142448.
grub-install: info: drive = 0.
grub-install: info: the size of hostdisk//dev/sda is 625142448.
grub-install: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub-install: info: scanning hostdisk//dev/sda for LDM.
grub-install: info: no LDM signature found.
grub-install: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub-install: info: no LVM signature found.
grub-install: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub-install: info: scanning hostdisk//dev/sda for LDM.
grub-install: info: no LDM signature found.
grub-install: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub-install: info: no LVM signature found.
grub-install: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub-install: info: scanning hostdisk//dev/sda for LDM.
grub-install: info: no LDM signature found.
grub-install: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub-install: info: no LVM signature found.
grub-install: info: Partition 0 starts from 2048.
grub-install: info: /dev/sda1 is present.
grub-install: info: Looking for /dev/sda1.
grub-install: info: /dev/sda is a parent of /dev/sda1.
grub-install: info: /dev/sda1 starts from 2048.
grub-install: info: opening the device hostdisk//dev/sda.
grub-install: info: drive = 0.
grub-install: info: the size of hostdisk//dev/sda is 625142448.
grub-install: info: drive = 0.
grub-install: info: the size of hostdisk//dev/sda is 625142448.
grub-install: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub-install: info: scanning hostdisk//dev/sda for LDM.
grub-install: info: no LDM signature found.
grub-install: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub-install: info: no LVM signature found.
grub-install: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub-install: info: scanning hostdisk//dev/sda for LDM.
grub-install: info: no LDM signature found.
grub-install: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub-install: info: no LVM signature found.
grub-install: info: Scanning for DISKFILTER devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid1x devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid09_be devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for mdraid09 devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for dmraid_nv devices on disk hostdisk//dev/sda.
grub-install: info: Scanning for ldm devices on disk hostdisk//dev/sda.
grub-install: info: scanning hostdisk//dev/sda for LDM.
grub-install: info: no LDM signature found.
grub-install: info: Scanning for lvm devices on disk hostdisk//dev/sda.
grub-install: info: no LVM signature found.
grub-install: info: Partition 0 starts from 2048.
grub-install: info: drive = 0.
grub-install: info: the size of hostdisk//dev/sda is 625142448.

(...)

grub-install: info: kernel_img=0x5643884839e0, kernel_size=0x1a000.
grub-install: info: the core size is 0x1e0c0.
grub-install: info: writing 0x21000 bytes.
grub-install: info: copying `/boot/grub/x86_64-efi/core.efi' -> `/boot/efi/EFI/manjaro/grubx64.efi'.
grub-install: info: Registering with EFI: distributor = `manjaro', path = `\EFI\manjaro\grubx64.efi', ESP at hostdisk//dev/sda,gpt1.
grub-install: info: executing efibootmgr --version </dev/null >/dev/null.
grub-install: info: executing modprobe -q efivarfs.
grub-install: info: executing efibootmgr -c -d /dev/sda -p 1 -w -L manjaro -l \EFI\manjaro\grubx64.efi.
Could not prepare Boot variable: No space left on device
grub-install: error: efibootmgr failed to register the boot entry: Input/output error.

This time grub-install did something (I guess I only saw more because of the --verbose), but still the error message at the end.

Edit 3:
I rebooted, no entry in the BIOS

Forum kindly sponsored by