Results 1 to 4 of 4

Thread: grub error, couldn't find 'hwmatch'

  1. #1
    Join Date
    Aug 2021
    Beans
    2

    grub error, couldn't find 'hwmatch'

    Hi guys, I'm a beginner in Ubuntu, and I have a problem, when I boot my computer show up a problem screen. I think that screen is from grub.


    Couldn't find 'hwmatch'
    error: invalid environment block
    press any key to continue...


    When I press any key, mostly it's started normally, but sometimes it's going to initramfs screen and I need to use file system check and fix some problems.
    How could I fix this problem?
    Thanks, everyone for your attention.

  2. #2
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: grub error, couldn't find 'hwmatch'

    How far along in the OS loading process are you getting? If you dual boot you should see a Grub boot menu. Do you see a Grub boot menu? We need to know if the message <couldn't find hwmatch> is coming from Grub itself or from Linux. If you see a Grub boot menu then select Advanced Options for Ubuntu and then select either an older Linux kernel (that may load to a desktop) or, a Linux kernel with recovery mode. That will load Linux with a recovery menu that will allow us to run commands.

    If you are dual booting we need to know that information. Is the motherboard BIOS or UEFI? What version of Ubuntu are you using?

    I am posting this link not as a solution but as information for what <hwmatch> means. There are other links that an internet search will offer

    https://www.linux.org/threads/error-...ng-boot.32618/

    hwmatch - This module is where the Blacklist and Whitelist for hardware are stored. One is for the Grub the other for the system these need to match. You can boot a live usb system and run from that. sudo fsck /dev/sda1. this should let you know if there are differences.19 Jan 2021


    Regards
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  3. #3
    Join Date
    Aug 2021
    Beans
    2

    Re: grub error, couldn't find 'hwmatch'

    No, my ubuntu starts normally, but grub screen not, this error happens just follow the bios screen, I'm using UEFI and I don't use dual boot.
    Last edited by fabgiese; August 26th, 2021 at 09:55 AM.

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: grub error, couldn't find 'hwmatch'

    You can try this:
    https://askubuntu.com/questions/1174...301092#1301092
    To get rid of the error message, add this line to /etc/default/grub:
    GRUB_GFXPAYLOAD_LINUX=keep
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •