Failed to install bootloader

Russian
Здравствуйте! Новая установка на ASUS X200MA (UEFI) с btrfs (ручная разметка или автоматическая) не удачна.

Error

Bootloader installation error
The bootloader could not be installed. The installation command

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Manjaro --force

returned error code 1.

Если ставить на ext4, то всё хорошо. Установка в VM на btrfs проходит нормально.

English (translation)

Спойлер

Hello! New installation on ASUS X200MA (UEFI) with btrfs (manual or automatic partitioning) fails.

Bootloader installation error
Failed to install bootloader. Install command

grub-install --target = x86_64-efi --efi-directory = / boot / efi --bootloader-id = Manjaro --force

returned error code 1.

If you put on ext4, then everything is fine. Installation in a VM on btrfs is fine.

Проверил установку разных версий.
Версия 21.0; 21.0.7 - устанавливаются хорошо. Начиная с версии 21.1.0 - установка завершается с ошибкой, не зависимо от типа файловой системы.

Логи установи (calamares -d)
debug_21.1.log - с ошибкой установки
debug_21.0.7.log - удачная установка
debug_21.0.7_btrfs.log удачная установка

inxi -F
System:
  Host: x200ma Kernel: 5.10.42-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  Desktop: KDE Plasma 5.21.5 Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: ASUSTeK product: X200MA v: 1.0 serial: <superuser required> 
  Mobo: ASUSTeK model: X200MA v: 1.0 serial: <superuser required> 
  UEFI: American Megatrends v: X200MA.601 date: 04/19/2019 
Battery:
  ID-1: BAT0 charge: 28.5 Wh (96.3%) condition: 29.6/33.8 Wh (87.6%) volts: 11.2 
  min: 11.2 model: ASUSTeK X200-30 status: Unknown 
CPU:
  Info: Dual Core model: Intel Celeron N2840 bits: 64 type: MCP arch: Silvermont rev: 8 
  cache: L2: 1024 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 8671 
  Speed: 2096 MHz min/max: 500/2582 MHz Core speeds (MHz): 1: 2096 2: 2070 
Graphics:
  Device-1: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display 
  vendor: ASUSTeK driver: i915 v: kernel bus-ID: 00:02.0 
  Device-2: Chicony USB2.0 HD UVC WebCam type: USB driver: uvcvideo bus-ID: 1-3:3 
  Display: x11 server: X.Org 1.20.11 driver: loaded: intel unloaded: modesetting 
  s-res: 1366x768 
  OpenGL: renderer: Mesa DRI Intel HD Graphics (BYT) v: 4.2 Mesa 21.1.2 
  direct render: Yes 
Audio:
  Device-1: Intel Atom Processor Z36xxx/Z37xxx Series High Definition Audio 
  vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 
  Sound Server-1: ALSA v: k5.10.42-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.30 running: no 
Network:
  Device-1: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter 
  vendor: AzureWave driver: ath9k v: kernel port: f000 bus-ID: 02:00.0 
  IF: wlp2s0 state: down mac: 52:ee:26:e3:15:ec 
  Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: ASUSTeK driver: r8169 
  v: kernel port: e000 bus-ID: 03:00.2 
  IF: enp3s0f2 state: down mac: 38:2c:4a:86:8f:d3 
Bluetooth:
  Device-1: IMC Networks type: USB driver: btusb v: 0.8 bus-ID: 1-4.1:7 
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends 
Drives:
  Local Storage: total: 466.24 GiB used: 6.24 GiB (1.3%) 
  ID-1: /dev/sda vendor: Western Digital model: WD5000LPVX-80V0TT0 size: 465.76 GiB 
  ID-2: /dev/sdb type: USB vendor: Silicon Power model: SPCC USB Flash Memory 
  size: 492 MiB 
Partition:
  ID-1: / size: 50 GiB used: 6.19 GiB (12.4%) fs: btrfs dev: /dev/sda2 
  ID-2: /boot/efi size: 299.4 MiB used: 568 KiB (0.2%) fs: vfat dev: /dev/sda1 
  ID-3: /home size: 405.7 GiB used: 48.2 MiB (0.0%) fs: btrfs dev: /dev/sda3 
  ID-4: /var/log size: 50 GiB used: 6.19 GiB (12.4%) fs: btrfs dev: /dev/sda2 
Swap:
  ID-1: swap-1 type: partition size: 9.77 GiB used: 0 KiB (0.0%) dev: /dev/sda4 
Sensors:
  System Temperatures: cpu: 6280.4 C mobo: N/A 
  Fan Speeds (RPM): cpu: 0 
Info:
  Processes: 190 Uptime: 1m Memory: 3.73 GiB used: 768.9 MiB (20.1%) Init: systemd 
  Compilers: gcc: N/A Packages: 1018 Shell: Bash v: 5.1.8 inxi: 3.3.04
lspci -k
00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register (rev 0e)
	Subsystem: ASUSTeK Computer Inc. Device 15bd
	Kernel driver in use: iosf_mbi_pci
00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Этот текст будет скрытDisplay (rev 0e)
	Subsystem: ASUSTeK Computer Inc. Device 15bd
	Kernel driver in use: i915
	Kernel modules: i915
00:13.0 SATA controller: Intel Corporation Atom Processor E3800 Series SATA AHCI Controller (rev 0e)
	Subsystem: ASUSTeK Computer Inc. Device 15bd
	Kernel driver in use: ahci
00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI (rev 0e)
	Subsystem: ASUSTeK Computer Inc. Device 15bd
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
	Subsystem: ASUSTeK Computer Inc. Device 15bd
	Kernel driver in use: mei_txe
	Kernel modules: mei_txe
00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller (rev 0e)
	Subsystem: ASUSTeK Computer Inc. Device 15bd
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 1 (rev 0e)
	Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 2 (rev 0e)
	Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 4 (rev 0e)
	Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit (rev 0e)
	Subsystem: ASUSTeK Computer Inc. Device 15bd
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich
00:1f.3 SMBus: Intel Corporation Atom Processor E3800 Series SMBus Controller (rev 0e)
	Subsystem: ASUSTeK Computer Inc. Device 15bd
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
02:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
	Subsystem: AzureWave Device 2130
	Kernel driver in use: ath9k
	Kernel modules: ath9k
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5286 PCI Express Card Reader (rev 01)
	Subsystem: Realtek Semiconductor Co., Ltd. RTS5286 PCI Express Card Reader
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci
03:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 06)
	Subsystem: ASUSTeK Computer Inc. Device 200f
	Kernel driver in use: r8169
	Kernel modules: r8169

Here you have made a typo (d instead of id), it should read correctly:

sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Manjaro --recheck --force

Да, допустил ошибку, когда перепечатывал. Исправил. Но это сообщение calamares.

Ещё раз переустановил 21.1.6. При установки на ext4, получил ошибку установки grub-install. Сразу выполнил manjaro-chroot -a

sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Manjaro --recheck --force
sudo grub-mkconfig -o /boot/grub/grub.cfg 

Файла /boot/grub/grub.cfg не было, пока его не сгенерировал.
Система загрузилась.

При установки на btrfs, “manjaro-chroot -a” не сработало.