Поисковый пузырь гугла (чтоб у создателей этой чудо-технологии все искалось вокруг негров-геев), полагаю.
В duckduckgo первая же строчка по Вашему запросу.
Впрочем, Вы уже нашли решение.
В общем, решил сделать по-новой, как в статье описано, всё в том же порядке. Вроде всё правильно делал, а всё равно в тупик зашёл… Правда он зачем-то меня два раза попросил установить efibootmgr, но это уже после того, как пошла неясная фигня
[manjaro@manjaro ~]$ sudo su
[manjaro manjaro]# fdisk -l
Disk /dev/loop0: 73.92 MiB, 77492224 bytes, 151352 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 564.29 MiB, 591695872 bytes, 1155656 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 1.38 GiB, 1473069056 bytes, 2877088 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop3: 594.3 MiB, 622886912 bytes, 1216576 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk model: HGST HTS545050A7
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 11A09423-51EE-435E-94A3-8D27155D7C92
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 105908223 104857600 50G Linux filesystem
/dev/sda3 105908224 474548223 368640000 175.8G Linux filesystem
/dev/sda4 474548224 491546623 16998400 8.1G Linux filesystem
/dev/sda5 491546624 596404223 104857600 50G Microsoft basic data
/dev/sda6 596404224 976773119 380368896 181.4G Microsoft basic data
Disk /dev/sdb: 7.22 GiB, 7748222976 bytes, 15133248 sectors
Disk model: USB DISK 2.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 64 5530787 5530724 2.7G 0 Empty
/dev/sdb2 5530788 5538979 8192 4M ef EFI (FAT-12/16/32)
[manjaro manjaro]# sudo mkdir /boot/efi
[manjaro manjaro]# mount /dev/sda2 /mnt
[manjaro manjaro]# mount /dev/sda1 /mnt/boot/efi
[manjaro manjaro]# cd /mnt
[manjaro mnt]# mount -t proc proc /mnt/proc
[manjaro mnt]# mount -t sysfs sys /mnt/sys
[manjaro mnt]# mount -o bind /dev /mnt/dev
[manjaro mnt]# mount -t devpts pts /mnt/dev/pts/
[manjaro mnt]# chroot /mnt
[root@manjaro /]# sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
EFI variables are not supported on this system.
EFI variables are not supported on this system.
grub-install: error: efibootmgr failed to register the boot entry: No such file or directory.
[root@manjaro /]# sudo pacman -Sy efibootmgr
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
warning: efibootmgr-17-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) efibootmgr-17-1
Total Installed Size: 0.08 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [###################################] 100%
(1/1) checking package integrity [###################################] 100%
(1/1) loading package files [###################################] 100%
(1/1) checking for file conflicts [###################################] 100%
(1/1) checking available disk space [###################################] 100%
:: Processing package changes...
(1/1) reinstalling efibootmgr [###################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[root@manjaro /]# sudo pacman -Sy dosfstools
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
warning: dosfstools-4.1-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) dosfstools-4.1-3
Total Installed Size: 0.17 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [###################################] 100%
(1/1) checking package integrity [###################################] 100%
(1/1) loading package files [###################################] 100%
(1/1) checking for file conflicts [###################################] 100%
(1/1) checking available disk space [###################################] 100%
:: Processing package changes...
(1/1) reinstalling dosfstools [###################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[root@manjaro /]# sudo pacman -Sy grub
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
warning: grub-2.04-10 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) grub-2.04-10
Total Installed Size: 50.83 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [###################################] 100%
(1/1) checking package integrity [###################################] 100%
(1/1) loading package files [###################################] 100%
(1/1) checking for file conflicts [###################################] 100%
(1/1) checking available disk space [###################################] 100%
:: Processing package changes...
(1/1) reinstalling grub [###################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the info directory file...
[root@manjaro /]# sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
EFI variables are not supported on this system.
EFI variables are not supported on this system.
grub-install: error: efibootmgr failed to register the boot entry: No such file or directory.
[root@manjaro /]# exit
exit
[manjaro mnt]# sudo modprobe efivarfs
[manjaro mnt]# mount -t efivarfs efivarfs /sys/firmware/efi/efivars
mount: /sys/firmware/efi/efivars: efivarfs already mounted on /sys/firmware/efi/efivars.
[manjaro mnt]# chroot /mnt
[root@manjaro /]# sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
EFI variables are not supported on this system.
EFI variables are not supported on this system.
grub-install: error: efibootmgr failed to register the boot entry: No such file or directory.
[root@manjaro /]# sudo pacman -Sy efibootmgr
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
warning: efibootmgr-17-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) efibootmgr-17-1
Total Installed Size: 0.08 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [###################################] 100%
(1/1) checking package integrity [###################################] 100%
(1/1) loading package files [###################################] 100%
(1/1) checking for file conflicts [###################################] 100%
(1/1) checking available disk space [###################################] 100%
:: Processing package changes...
(1/1) reinstalling efibootmgr [###################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[root@manjaro /]# sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
EFI variables are not supported on this system.
EFI variables are not supported on this system.
grub-install: error: efibootmgr failed to register the boot entry: No such file or directory.
[root@manjaro /]#
И правда, не туда смотрел… Правда это картины сильно не меняет. Всё равно ругается. Или это из-за того, что я его под биос пытался ставить прошлой командой?
<code>root@manjaro /]# sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
EFI variables are not supported on this system.
EFI variables are not supported on this system.
grub-install: error: efibootmgr failed to register the boot entry: No such file or directory.</code>
В duckduckgo первая же строчка по Вашему запросу.
Впрочем, Вы уже нашли решение.
forum.manjaro.org/t/failed-to-execute-init-error-13/34920/2
sudo pacman -S ruby tk
потом
gem install tk
Заработал
Может, просто ноутбук проклятый?
и вот же