Comment 3 for bug 1840560

Revision history for this message
Bill Miller (wbmilleriii) wrote :

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.