LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-19-2021, 04:06 PM   #1
giobaxx
Member
 
Registered: Jul 2013
Posts: 37

Rep: Reputation: Disabled
error: can't find command 'hwmatch' during boot


ello to Every


I need an help to understand how to properly solve an issue happened un an Ubuntu 18.04.

Basically once Ubuntu frezeed and the user was forced to run a Hard Reboot, ubuntu started wit the following error
error:
  • can't find command 'hwmatch'

then clicking on the keyboard it asked for a username and password that i don't know.

Trying to understand the configuration i discovered that:

Ubuntu it was installed in efi mode and some security enforcement was done

i found on the /etc/grub.d/40_custom the following line

[QUOTE]#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
set superusers="cmpadmn"
password_pbkdf2 cmpadmin grub.pbkdf2xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

[/QUOTE]

That i suppose is the grub password. For the moment I have fixed the problems commenting out the two line on the 40_custom file and running upgrade-grub but i would like to fix in a proper way re-enabling the security feature applied.

Can someone tell me which is the relation between the hwmatch.mod and the grub password and how i can try to properly fix?

What i have notice is that in some ubuntu this module is



/usr/lib/grub/i386-pc/hwmatch.mod
and

/boot/grub/i386-pc/hwmatch.mod

in others it is just in

/usr/lib/grub/i386-pc/hwmatch.mod like the one that has problem

It is not clear for me, can someone has some experience about this issue?


Thanks in advance
 
Old 01-19-2021, 08:20 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,364
Blog Entries: 28

Rep: Reputation: 6160Reputation: 6160Reputation: 6160Reputation: 6160Reputation: 6160Reputation: 6160Reputation: 6160Reputation: 6160Reputation: 6160Reputation: 6160Reputation: 6160
This thread from AskUbuntu should help: https://askubuntu.com/questions/7663...ommand-hwmatch
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error during boot - "can't find TOCBLOCK, database may be corrupt" Any advice would be helpful - thanks! powellga Linux - Software 6 05-29-2019 06:41 AM
[SOLVED] Linux Mint 17.3 on Acer Aspire E15 freezing during boot and randomly during use LarryHale Linux - Laptop and Netbook 2 03-15-2016 01:00 PM
How can I find what error messages popped up during boot? krlb Linux - Newbie 4 10-18-2015 06:38 PM
I get a message "Authentication Failed during during boot . I cannot boot my system hirschi 3 score 1 Linux - Newbie 7 01-21-2010 11:08 PM
Several Gnome Packages wont install during setup, stall's during boot Arcticfox Slackware 3 12-10-2003 11:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration