[Bug 1840560] Re: "error: can't find command hwmatch" during grub

Thomas Piekarski t.piekarski at deloquencia.de
Mon Feb 24 16:41:35 UTC 2020


Hello,

well also a hidden error is still an error :)

The module hwmatch is for white/blacklisting hardware vendors according
to the source file. Actually there is no further information available
in the info documentation about this module. I'll check why this module
is not around for x86_64 EFI, check most recent version at the git
repository and try to provide a patch.

** Changed in: grub2-signed (Ubuntu)
     Assignee: (unassigned) => Thomas Piekarski (t-piekarski)

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

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

Status in grub2-signed package in Ubuntu:
  Confirmed

Bug description:
  Upon disabling my grub menu using grub-customizer, I've noticed that
  just before the system boots and goes into the crypto password prompt
  the following error message appears on the display:

  ```
  error: can't find command hwmatch
  ```

  Looks like this command is referenced from /boot/grub/grub/cfg

  ```
      if hwmatch ${prefix}/gfxblacklist.txt 3; then
  ```
  However, the mod doesn't exist on grub's mod folder:

  ```
  ~ ls -la /boot/grub/x86_64-efi/*.mod|wc -l
  269

  ~ ls -la /boot/grub/x86_64-efi/hw*
  fish: No matches for wildcard “/boot/grub/x86_64-efi/hw*”

  ```

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: grub-efi-amd64-signed 1.115+2.02+dfsg1-12ubuntu2
  ProcVersionSignature: Ubuntu 5.0.0-25.26-generic 5.0.18
  Uname: Linux 5.0.0-25-generic x86_64
  ApportVersion: 2.20.10-0ubuntu27.1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sun Aug 18 00:22:41 2019
  InstallationDate: Installed on 2019-08-17 (0 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  SourcePackage: grub2-signed
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list