So basically after updating my system (I took the dragonized one cuz i'm a g@m3r), I had the famous "setfont: KDFONTOP not implemented" screen and blocked me on it, and i tried to add the "setfont" binary in the mkinicpio.conf file for then type "mkinitcpio -p linux-zen", "mkinitcpio -p linux-lts" and finally "mkinitcpio -p linux-hardened" (I also tried mkinitcpio -P to be sure) for which was a success.
Unfortunately, after a reboot, it follows with an other error message which said : "setfont : error kdfontop.c:183 put_font_kdfontop: Unable to load such font with such kernel version" so I figured it out that I updated my kernel. But, I was stuck on this error message too. So I finally tried to demote to an older snapshot and it worked ! I was finally able to see my desktop again... before I restored the snapshot as the primary version, and that's where the problem is.
Now when I want to boot my linux, I have the "error: symbol 'efi_wrap_1' not found" error and been stuck in the grub rescue mode.
But don't get me wrong, I tried to reinstall the grub via a fresh dowloaded garuda live iso to chroot my primary system. Nevertheless, it doesn't work, and I'm still stuck in the grub rescue mode.
Is someone has another solution ? Otherwise I will probably reinstall the whole thing after saving some important files.
Yeah that seems to be the latest kernel bug. So you couldnât boot even with linux-lts or hardend?
Thatâs extremely strage . People had this same issue on forum and chrooting with live USB and reinstalling grub fixed it for them all without fail. Can you try to chroot just once more following this article.
If all that fails again. You could try this from grub rescue as last resort. Though this article is for ext file system translating it to btrfs shouldnât be hard.
This issue seems to be different from the âoldâ and well-known:
or the more recent:
error: symbol 'efi_wrap_1' not found
and newer (I donât want to even think why it is occurring only to a currently small set of users ).
As reported in my post in the other thread, already linked above, it should be a bug in a recent update of kbd.
So, unless a fix comes soon from those bug reports (Arch and upstream), my suggestion was to downgrade kbd.
Hi ! Thanks for your help, I see youâre very active on this kind of topic and itâs pleasant. Unfortunately, as for the grub rescue prompt, none of the commands work. âhelpâ doesnât work, âlsmodâ doesnât work, âlinuxâ, ânormalâ or even âbootâ doesnât too, and so on. The only known commands I tried and worked was âlsâ and âsetâ.
As for this
this was the one I followed for reinstalling grub and didnât work.
Hello again ! So I chrooted in my system thanks to this post
and try the command
downgrade kbd
but the package doesnât seems to work because it tells me
sh-5.1# downgrade kbd
and then it asks me which packages of kbd do I want to install (I choose kbd 2.6.1-1).
But then this happens:
error: failed to init transaction (unable to lock database)
error: could not lock database: File exists
if you're sure a package manager is not already
running, you can remove /var/lib/pacman/db.lck
sh-5.1#
So I tried to install it via pacman into the chroot by doing this
sh-5.1# sudo pacman -Sy
:: Synchronizing package databases ...
error: failed to synchronize all databases (unable to lock database)
sh-5.1#
So I wanted to install it on my live usb and then chroot to use it, but it doesnât seems to work either.
I tried to search some information about downgrade kbd into a chroot but I didnât find anything.
It seems your database was locked due to some reason. Hence why you couldnât use any pacman commands. You can remove the DB lock (provided you werenât using any other pacman commands in the background) via
Thank you, it worked ! Now when I do downgrade kbd, it shows me a list of of differents version of the kbd package and when I select the latest version, it installs me. Do I need to choose an older version or do I pick the newest one ?
I donât have a lot of experience using grub rescue shell but I believe you are perhaps on the wrong partition. Maybe the guide was wrong and we need to use the vfat partition instead of the btrfs one.
Before going for downgrading kbd I suggest trying out this commentâs suggestion:
Just noticed I'd set setfont as part of the BINARIES of /etc/mkinitcpio.conf, but also:
Replacing the hooks keymap and consolefont with sd-vconsole and regenerating the kernel image will remove the message.
Since the bug reports kbd version 2.6.1-1 at fault try an older version.
Hi again, so I tried to downgrade the kbd version. I tried every version from the latest to the oldest, but none of that works. Still stuck on the grub rescue with this message :
error: âefi_wrap_1â not found
So I guess itâs dead for me now, since I canât use the grub rescue and the live usb option donât work either. I think iâll do a backup of my file and reinstall the whole thing. Unless there is another solution of course