Grub2 error: "can't find command hwmatch"

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
Site Admin
Posts: 1481
Joined: Fri Aug 29, 2003 8:39 pm

Grub2 error: "can't find command hwmatch"

Post by ^rooker »

Fresh install of Xubuntu 20.04.1 (on a HP Probook 430 G6), I shortly see the following error message flashing before grub's loading:
error: can't find command hwmatch
The system boots fine, but this error wasn't shown running Xubuntu 18.04 on that notebook.
Also I like having no errors/warnings shown - unless something is really wrong.

Seems to be a known issue (#1840560) with no real fix - but a workaround.

Quoting a user comment from that issue page:
I suggest adding this line to the /etc/default/grub:

So the problematic if-then statement is not reached at all.
Don't forget executing "sudo update-grub" afterwards.

However, its still just another workaround...

Indeed that works to avoid that error message.
Hm. :?
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply