URL:
  <https://savannah.gnu.org/bugs/?67335>

                 Summary: Grub boot error: symbol 'grub_is_cli_need_auth' not
found
                   Group: GNU GRUB
               Submitter: darim
               Submitted: Fr 18 Jul 2025 08:21:21 GMT
                Category: Booting
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name:
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Any
                 Release: other
                 Release:
         Reproducibility: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fr 18 Jul 2025 08:21:21 GMT    By: Daniel <darim>
I have wrecked my system and stuck at boot with missing symbol error message
('grub_is_cli_need_auth' not found).

In order to revivify, I

1. boot into live system
2. open my encrypted root partition
3. mount root to /mnt
4. mount efi inside /mnt/boot/efi
5. chroot
6. re-install grub
7. clean-up and reboot. 

This is the code from the shell:


[manjaro@manjaro ~]$ lsblk -l
NAME  MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0   7:0    0  92.6M  1 loop /run/miso/sfs/livefs
loop1   7:1    0   1.2G  1 loop /run/miso/sfs/mhwdfs
loop2   7:2    0   1.8G  1 loop /run/miso/sfs/desktopfs
loop3   7:3    0 886.9M  1 loop /run/miso/sfs/rootfs
sda     8:0    0 232.9G  0 disk 
sda1    8:1    0   300M  0 part 
sda2    8:2    0   100G  0 part 
sda3    8:3    0 132.6G  0 part 
sdb     8:16   1  28.6G  0 disk /run/miso/bootmnt
sdb1    8:17   1   4.1G  0 part 
sdb2    8:18   1     4M  0 part 
[manjaro@manjaro ~]$ sudo cryptsetup luksOpen /dev/sda2 tmp
Enter passphrase for /dev/sda2: 
[manjaro@manjaro ~]$ sudo mount /dev/mapper/tmp /mnt
[manjaro@manjaro ~]$ sudo mount /dev/sda1 /mnt/boot/efi
[manjaro@manjaro ~]$ sudo manjaro-chroot /mnt
sh-5.2# rm -rf /var/cache/pacman/pkg/*
sh-5.2# pacman -Syu grub
:: Synchronizing package databases...
 core is up to date
 extra                                   8.5 MiB  13.0 MiB/s 00:01
[####################################] 100%
 multilib is up to date
warning: grub-2:2.12.r292.g73d1c959-1 is up to date -- reinstalling
:: Starting full system upgrade...
warning: ksystemstats: local (6.4.0-1) is newer than extra (6.3.6-1)
resolving dependencies...
looking for conflicting packages...

Packages (1) grub-2:2.12.r292.g73d1c959-1

Total Download Size:   15.67 MiB
Total Installed Size:  51.14 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 grub-2:2.12.r292.g73d1c959-1-x86_64    15.7 MiB  5.39 MiB/s 00:03
[####################################] 100%
(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%
:: To use the new features provided in this GRUB update, it is recommended
   to install it to the MBR or UEFI. Due to potential configuration
   incompatibilities, it is advised to run both, installation and generation
   of configuration:
     # UEFI: https://wiki.archlinux.org/title/GRUB#Installation
     # BIOS: https://wiki.archlinux.org/title/GRUB#Installation_2
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Installing Grub to MBR/EFI
WARNING: EFI directory not found! Grub couldn't be installed.
error: command failed to execute correctly
(3/3) Updating the info directory file...
sh-5.2# grub-install --target=x86_64-efi --efi-directory=/boot/efi
--bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
Installation finished. No error reported.
sh-5.2# ls /boot/efi/EFI
Manjaro  boot
sh-5.2# ls /boot/efi    
EFI
sh-5.2# ls /boot/efi/EFI
Manjaro  boot
sh-5.2# grub-install --target=x86_64-efi --efi-directory=/boot/efi
--bootloader-id=manjaroo --recheck
Installing for x86_64-efi platform.
Installation finished. No error reported.
sh-5.2# ls /boot/efi/EFI
Manjaro  boot  manjaroo
sh-5.2# efibootmgr                
BootCurrent: 0002
Timeout: 3 seconds
BootOrder: 0005,0004,2001,0001,2002,2003
Boot0000* GRUB
HD(1,GPT,3596607f-4b6f-a147-8a62-12d81ece9f2f,0x1000,0x96000)/\EFI\GRUB\grubx64.efi
Boot0001* Linux
HD(1,GPT,3596607f-4b6f-a147-8a62-12d81ece9f2f,0x1000,0x96000)/\EFI\Boot\bootx64.efiRC
Boot0002* USB HDD: SanDisk
PciRoot(0x0)/Pci(0x14,0x0)/USB(7,0)/HD(1,MBR,0x0,0x8436e8,0x2000)RC
Boot0003* Unknown Device:
FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)5243a695de30
Boot0004* manjaro
HD(1,GPT,3596607f-4b6f-a147-8a62-12d81ece9f2f,0x1000,0x96000)/\EFI\manjaro\grubx64.efi
Boot0005* manjaroo
HD(1,GPT,3596607f-4b6f-a147-8a62-12d81ece9f2f,0x1000,0x96000)/\EFI\manjaroo\grubx64.efi
Boot2001* EFI USB Device        RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network   RC
sh-5.2# grep GRUB_ENABLE_CRYPTODISK /etc/default/grub
GRUB_ENABLE_CRYPTODISK=y
sh-5.2# update-grub 
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.12-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-6.12-x86_64.img
Found initrd fallback image: /boot/initramfs-6.12-x86_64-fallback.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done



I notice an error message, when reinstalling grub with pacman in the listing
above: 



WARNING: EFI directory not found! Grub couldn't be installed.


This seems odd, since my partitions are mounted correctly and the EFI
directory is present in the expected location, i.e. /boot/efi. But the
explicit installation afterwards with 


grub-install --target=x86_64-efi --efi-directory=/boot/efi
--bootloader-id=manjaroo --recheck


seems ok.

This is my system:


inxi --admin --verbosity=8 --filter --no-host --width    
System:
  Kernel: 6.12.34-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 15.1.1
    clocksource: tsc avail: acpi_pm parameters:
BOOT_IMAGE=/boot/vmlinuz-x86_64
    lang=en_US keytable=de tz=UTC misobasedir=manjaro
    misolabel=MANJARO_KDE_2504 quiet systemd.show_status=1 splash driver=free
    nouveau.modeset=1 i915.modeset=1 radeon.modeset=1
  Desktop: KDE Plasma v: 6.3.5 tk: Qt v: N/A info: frameworks v: 6.15.0
    wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: Acer product: TravelMate B117-M v: V1.24
    serial: <superuser required> Chassis: type: 10 serial: <superuser
required>
  Mobo: Acer model: Lepus_BA v: V1.24 serial: <superuser required>
    part-nu: TravelMate B117-M_108C_1.24 uuid: <superuser required> UEFI:
Insyde
    v: 1.24 date: 10/25/2018
Battery:
  ID-1: BAT1 charge: 41.7 Wh (100.0%) condition: 41.7/48.9 Wh (85.3%)
    volts: 16.9 min: 15.2 model: LGC AC14B8K type: Li-ion serial: <filter>
    status: full
Memory:
  System RAM: total: 4 GiB available: 3.74 GiB used: 2.89 GiB (77.3%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 8 GiB slots: 2 modules: 2 EC: None
    max-module-size: 4 GiB note: est.
  Device-1: ChannelA-DIMM0 type: DDR3 detail: synchronous size: 2 GiB
    speed: 1600 MT/s volts: min: 2 max: 2 width (bits): data: 8 total: 8
    manufacturer: Hynix/Hyundai part-no: N/A serial: N/A
  Device-2: ChannelB-DIMM0 type: DDR3 detail: synchronous size: 2 GiB
    speed: 1600 MT/s volts: min: 2 max: 2 width (bits): data: 8 total: 8
    manufacturer: Hynix/Hyundai part-no: N/A serial: N/A
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Pentium N3710 bits: 64 type: MCP arch: Airmont level: v2
    built: 2015-17 process: Intel 14nm family: 6 model-id: 0x4C (76) stepping:
4
    microcode: 0x411
  Topology: cpus: 1x dies: 1 clusters: 2 cores: 4 smt: <unsupported> cache:
    L1: 224 KiB desc: d-4x24 KiB; i-4x32 KiB L2: 2 MiB desc: 2x1024 KiB
  Speed (MHz): avg: 571 min/max: 480/2560 scaling: driver: intel_cpufreq
    governor: schedutil cores: 1: 571 2: 571 3: 571 4: 571 bogomips: 12805
  Flags: 3dnowprefetch acpi aes aperfmperf apic arat arch_perfmon bts
    clflush cmov constant_tsc cpuid cx16 cx8 de ds_cpl dtes64 dtherm dts epb
    ept erms est flexpriority fpu fxsr ht ibpb ibrs ida lahf_lm lm mca mce
    md_clear mmx monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe
    pclmulqdq pdcm pebs pge pni popcnt pse pse36 pti rdrand rdtscp rep_good
    sep smep ss sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow
    tsc tsc_adjust tsc_deadline_timer tsc_known_freq tsc_reliable vme vmx
vnmi
    vpid xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: indirect_target_selection status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass status: Not affected
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW;
    STIBP: disabled; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not
affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx
    Integrated Graphics vendor: Acer Incorporated ALI driver: i915 v: kernel
    arch: Gen-8 process: Intel 14nm built: 2014-15 ports: active: eDP-1
    empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:22b1
    class-ID: 0300
  Device-2: Chicony HD WebCam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-4:3 chip-ID: 04f2:b577
    class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.18 with: Xwayland v: 24.1.8
    compositor: kwin_x11 driver: X: loaded: modesetting alternate: fbdev,vesa
    dri: crocus gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
    s-diag: 414mm (16.31")
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x1132 built: 2013 res:
    mode: 1366x768 hz: 60 scale: 100% (1) dpi: 136 gamma: 1.2 chroma: red:
    x: 0.573 y: 0.333 green: x: 0.325 y: 0.584 blue: x: 0.161 y: 0.141 white:
    x: 0.314 y: 0.329 size: 256x144mm (10.08x5.67") diag: 294mm (11.6")
    ratio: 16:9 modes: 1366x768
  API: EGL v: 1.5 hw: drv: intel crocus platforms: device: 0 drv: crocus
    device: 1 drv: swrast gbm: drv: crocus surfaceless: drv: crocus x11:
    drv: crocus inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 25.1.4-arch1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 405 (BSW)
    device-ID: 8086:22b1 memory: 1.46 GiB unified: yes
  API: Vulkan v: 1.4.313 layers: N/A device: 0 type: integrated-gpu
    name: Intel HD Graphics 405 (BSW) driver: mesa intel v: 25.1.4-arch1.1
    device-ID: 8086:22b1 surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info
    x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series
    High Definition Audio vendor: Acer Incorporated ALI driver: snd_hda_intel
    v: kernel bus-ID: 00:1b.0 chip-ID: 8086:2284 class-ID: 0403
  API: ALSA v: k6.12.34-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.4.5 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type:
plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:095a class-ID:
0280
  IF: wlp2s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-5:4 chip-ID:
8087:0a2a
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
  Device-1: tmp maj-min: 254:0 type: LUKS dm: dm-0 size: 100 GiB
  Components:
  p-1: sda2 maj-min: 8:2 size: 100 GiB
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 261.53 GiB used: 71.74 GiB (27.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 840 EVO 250GB
    size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 6.0
Gb/s
    tech: SSD serial: <filter> fw-rev: CB6Q scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: SanDisk model: Ultra Fit
    size: 28.64 GiB block-size: physical: 512 B logical: 512 B type: USB rev:
3.0
    spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
    fw-rev: 1.00 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
  Message: No optical or floppy data found.
Partition:
  ID-1: /mnt raw-size: 100 GiB size: 97.87 GiB (97.87%) used: 71.74 GiB
(73.3%)
    fs: ext4 dev: /dev/dm-0 maj-min: 254:0 mapped: tmp label: N/A uuid: N/A
  ID-2: /mnt/boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 708 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: N/A
    uuid: EF2D-725F
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/sdb1 maj-min: 8:17 size: 4.13 GiB fs: iso9660
  ID-2: /dev/sdb2 maj-min: 8:18 size: 4 MiB fs: vfat label: MISO_EFI
    uuid: ECC9-5CDB
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 7 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-3:2 info: Realtek RTS5129 Card Reader Controller
    type: <vendor specific> driver: rtsx_usb,rtsx_usb_ms,rtsx_usb_sdmmc
    interfaces: 1 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0
    power: 500mA chip-ID: 0bda:0129 class-ID: ff00 serial: <filter>
  Device-2: 1-4:3 info: Chicony HD WebCam type: video driver: uvcvideo
    interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0
    power: 500mA chip-ID: 04f2:b577 class-ID: 0e02
  Device-3: 1-5:4 info: Intel Bluetooth wireless interface type: bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 100mA chip-ID: 8087:0a2a class-ID: e001
  Hub-2: 2-0:1 info: super-speed hub ports: 6 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Device-1: 2-1:2 info: SanDisk Ultra Fit type: mass storage
    driver: usb-storage interfaces: 1 rev: 3.0 speed: 5 Gb/s (596.0 MiB/s)
    lanes: 1 mode: 3.2 gen-1x1 power: 896mA chip-ID: 0781:5583 class-ID: 0806
    serial: <filter>
Sensors:
  System Temperatures: cpu: 41.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Repos:
  Packages: pm: pacman pkgs: 1258 libs: 329 tools: pamac pm: flatpak pkgs: 0
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://ftp.gwdg.de/pub/linux/manjaro/stable/$repo/$arch
    2: https://mirror.komelt.dev/manjaro/stable/$repo/$arch
    3: http://ftp.belnet.be/mirrors/manjaro/repos/stable/$repo/$arch
    4: https://ftp.halifax.rwth-aachen.de/manjaro/stable/$repo/$arch
    5: https://mirror.hostiko.network/manjaro/stable/$repo/$arch
    6: https://manjaro.mirror.liquidtelecom.com/stable/$repo/$arch
    7: https://manjaro.c3sl.ufpr.br/stable/$repo/$arch
    8: https://mirror.2degrees.nz/manjaro/stable/$repo/$arch
Processes:
  CPU top: 5 of 223
  1: cpu: 300% command: ps pid: 19546 mem: 3.96 MiB (0.1%)
  2: cpu: 9.0% command: zsh pid: 19481 mem: 8.34 MiB (0.2%)
  3: cpu: 1.6% command: firefox pid: 2560 mem: 511.1 MiB (13.3%)
  4: cpu: 0.8% command: firefox pid: 2782 mem: 278.9 MiB (7.2%)
  5: cpu: 0.2% command: org_kde_powerdevil pid: 1300 mem: 44.5 MiB (1.1%)
  Memory top: 5 of 223
  1: mem: 511.1 MiB (13.3%) command: firefox pid: 2560 cpu: 1.6%
  2: mem: 320.6 MiB (8.3%) command: plasmashell pid: 1179 cpu: 0.1%
  3: mem: 278.9 MiB (7.2%) command: firefox pid: 2782 cpu: 0.8%
  4: mem: 215.1 MiB (5.6%) command: firefox pid: 7325 cpu: 0.1%
  5: mem: 193.7 MiB (5.0%) command: firefox pid: 7159 cpu: 0.1%
Info:
  Processes: 223 Power: uptime: 22h 2m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 1.45 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 257 default: graphical
    tool: systemctl
  Compilers: N/A Shell: Zsh v: 5.9 running-in: konsole inxi: 3.3.38


I always stuck at the missing symbol. To my understanding, grub version is
2.12. Can someone help me finding out about this missing symbol or a flaw in
my grub installation procedure?

Thanks!








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?67335>

_______________________________________________
Nachricht gesendet über Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to