Skip to main content
Topic: grub just got updated: grub_cli_set_auth_needed not found (Read 2090 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

grub just got updated: grub_cli_set_auth_needed not found

grub has been updated today.
The installation process suggested to run:
Code: [Select]
grub-install
and
Code: [Select]
grub-mkconfig -o /boot/grub/grub.cfg
Which I did.

Now, when I reboot, I get "grub_cli_set_auth_needed not found" and a "grub rescue>" prompt.

I've used the system-rescue ISO to boot back into Artix and tried to run the commands again and see if I've missed something but no.

Finally I've tried to downgrade to the previous version and it doesn't help.
I feel like having run these two commands was the wrong move.

Re: grub just got updated: grub_cli_set_auth_needed not found

Reply #1
Finally I've wiped and re-installed but I'd be curious to know if there was an easier way.

Re: grub just got updated: grub_cli_set_auth_needed not found

Reply #2
So you just ran grub-install with no arguments? I'm not even sure what that does (as in, what it defaults to when there are no arguments). There is much information in the Arch wiki.

Re: grub just got updated: grub_cli_set_auth_needed not found

Reply #3
So you just ran grub-install with no arguments? I'm not even sure what that does (as in, what it defaults to when there are no arguments). There is much information in the Arch wiki.
I gave the disk device as a parameter.
I don't know what happens either if I don't give the device. I'd assume it either refuses, either choses the first block device, or the one that was used last time.

Re: grub just got updated: grub_cli_set_auth_needed not found

Reply #4
So you just ran grub-install with no arguments? I'm not even sure what that does (as in, what it defaults to when there are no arguments). There is much information in the Arch wiki.
Take this with a pinch of salt, cos I don't use grub any more, but in the case of a UEFI system I'm fairly sure (famous last words) using grub-install with no arguments will result in grub detecting your efi partition, installing itself into it and then adding an entry to the UEFI boot options and making it the default. What would happen if you have two efi partitions IDK.

Re: grub just got updated: grub_cli_set_auth_needed not found

Reply #5
I got this following error message while running update-grub after updating one laptop which hadn't been updated for 10 days, but not on another which had been updated earlier the same day:

Code: [Select]
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
  /dev/mapper/control: open failed: No such device
  Failure to communicate with kernel device-mapper driver.
  Check that device-mapper is available in the kernel.
  Incompatible libdevmapper 1.02.206 (2025-05-05) and kernel driver (unknown version).

It rebooted OK and it hadn't seemed to affect it finding the other partitions. I ran it again after rebooting to make sure, and as expected there was no error when actually running the new (zen) kernel. But anyway it shows there can be unexpected behaviour if you hadn't been updating frequently.

The Artix wiki gives a concise guide for most purposes:
https://wiki.artixlinux.org/Main/Installation#Boot_Loader
Using the BIOS boot variant would have probably worked providing you entered the BIOS settings menu to boot as BIOS / Legacy rather than UEFI / EFI or whatever it is termed in there.

 

Re: grub just got updated: grub_cli_set_auth_needed not found

Reply #6
Finally I've wiped and re-installed but I'd be curious to know if there was an easier way.

There is no easier or faster way, only the RIGHT way.

### for BIOS systems
Code: [Select]
grub-install --target=i386-pc /dev/sda

### for UEFI systems
Code: [Select]
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub
"Wer alles kann, macht nichts richtig"

Artix USE="runit openrc slim openbox lxde gtk2 qt4 qt5 qt6 conky
-gtk3 -gtk4 -adwaita{cursors,themes,icons} -gnome3 -kde -plasma -wayland "