This problem affected me on a fresh install of Ubuntu 18.04.  The
package grub-efi-amd64-bin doesn't include the hwmatch module in the
long list of modules it does install. But the script 10_linux in
/etc/grub.d/ references this hwmatch module, causing the error.

Note hwmatch *is* included in the modules installed by the BIOS version
of grub, grub-pc-bin.

I worked around this issue by commenting out the if-then structure in
the 10_linux and updating grub (see this Ask Ubuntu post for the code
https://askubuntu.com/questions/1174374/grub-issues-message-at-boot-
error-cant-find-command-hwmatch/1174386#1174386) but I am unsure what
functionality is missing because of this error of omission.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1840560

Title:
  "error: can't find command hwmatch" during grub

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/1840560/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to