Hi everyone,
I tried to install manjaro kde 21.2rc1 on new computer (motherboard: gigabyte Z690 UD AX DDR4, CPU: i9-12900k) by calamares. I choose to erase disk. (no other system in my disk and it is GPT partition)
But in the end of the installation, I got the error below:
Could not prepare Boot variable: No such file or directory
grub-install: error: efibootmgr failed to register the boot entry: Input/output error.
WARNING: [PYTHON JOB]: "Command 'grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Manjaro --force' returned non-zero exit status 1."
[PYTHON JOB]: "stdout:Installing for x86_64-efi platform.\nCould not prepare Boot variable: No such file or directory\ngrub-install: error: efibootmgr failed to register the boot entry: Input/output error."
[PYTHON JOB]: "stderr:None"
08:23:30 [6]: virtual void Calamares::JobThread::run()
Skipping non-emergency job "postcfg"
.. Skipping non-emergency job "umount"
08:23:30 [1]: void Calamares::ViewManager::onInstallationFailed(const QString&, const QString&)
ERROR: Installation failed: "Bootloader installation error"
.. - message: "Bootloader installation error"
.. - details: The bootloader could not be installed. The installation command <pre>grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Manjaro --force</pre> returned error code 1.
I checked that I
- disabled secure boot
- disabled fast boot
- disabled CSM
below is more information about my computer:
inxi -Fxza
shows
System: Kernel: 5.15.6-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC misobasedir=manjaro
misolabel=MANJARO_KDE_212RC1 quiet systemd.show_status=1 apparmor=1 security=apparmor driver=free nouveau.modeset=1
i915.modeset=1 radeon.modeset=1
Desktop: KDE Plasma 5.23.4 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine: Type: Desktop Mobo: Gigabyte model: Z690 UD AX DDR4 v: x.x serial: <superuser required>
UEFI: American Megatrends LLC. v: F5a date: 11/19/2021
CPU: Info: 12-Core model: 12th Gen Intel Core i9-12900K bits: 64 type: MT MCP arch: Alder Lake family: 6
model-id: 97 (151) stepping: 2 microcode: 15 cache: L1: 960 KiB L2: 15 MiB L3: 30 MiB
flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 153024
Speed: 1738 MHz min/max: 800/6500 MHz Core speeds (MHz): 1: 824 2: 856 3: 1340 4: 2789 5: 1712 6: 2345 7: 3642
8: 3260 9: 3021 10: 1798 11: 3426 12: 3444 13: 1280 14: 2435 15: 2709 16: 3034 17: 2564 18: 1082 19: 944 20: 994
21: 844 22: 825 23: 842 24: 852
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 mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel AlderLake-S GT1 vendor: Gigabyte driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:4680
class-ID: 0300
Display: x11 server: X.org 1.21.1.1 compositor: kwin_x11 driver: loaded: modesetting alternate: fbdev,vesa
resolution: <missing: xdpyinfo>
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio: Device-1: Intel vendor: Gigabyte driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl bus-ID: 00:1f.3
chip-ID: 8086:7ad0 class-ID: 0403
Sound Server-1: ALSA v: k5.15.6-2-MANJARO running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.40 running: yes
Network: Device-1: Intel driver: iwlwifi v: kernel port: N/A bus-ID: 00:14.3 chip-ID: 8086:7af0 class-ID: 0280
IF: wlo1 state: down mac: <filter>
Device-2: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel port: 3000 bus-ID: 03:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Bluetooth: Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-14:7 chip-ID: 8087:0026 class-ID: e001
Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives: Local Storage: total: 1013.62 GiB used: 8.19 GiB (0.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:1 vendor: Seagate model: XPG GAMMIX S70 BLADE size: 953.87 GiB block-size:
physical: 512 B logical: 512 B type: SSD serial: <filter> rev: 3.2.F.2A scheme: GPT
ID-2: /dev/sda maj-min: 8:0 type: USB vendor: Samsung model: Flash Drive size: 59.75 GiB block-size:
physical: 512 B logical: 512 B type: SSD serial: <filter> rev: 1100 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Swap: Alert: No swap data was found.
Sensors: System Temperatures: cpu: 27.8 C mobo: 16.8 C
Fan Speeds (RPM): N/A
Info: Processes: 454 Uptime: 1h 26m wakeups: 5 Memory: 31.13 GiB used: 4.71 GiB (15.1%) Init: systemd v: 249
tool: systemctl Compilers: gcc: N/A Packages: pacman: 1230 lib: 332 flatpak: 0 Shell: Zsh v: 5.8 default: Bash
v: 5.1.12 running-in: konsole inxi: 3.3.09
efibootmgr -v
shows
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001
Boot0001* UEFI: Samsung Flash Drive 1100, Partition 2 PciRoot(0x0)/Pci(0x14,0x0)/USB(23,0)/HD(2,MBR,0x3ccc4716,0x7772100,0x10000)..BO
parted -l
shows
Model: Samsung Flash Drive (scsi)
Disk /dev/sda: 64.2GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 64.1GB 64.1GB primary boot
2 64.1GB 64.2GB 33.6MB primary fat16 esp
Model: XPG GAMMIX S70 BLADE (nvme)
Disk /dev/nvme0n1: 1024GB
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 1024GB 1024GB ext4 root