Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 20.04 can't find hwmatch #66

Closed
nullmax opened this issue May 26, 2020 · 15 comments
Closed

Ubuntu 20.04 can't find hwmatch #66

nullmax opened this issue May 26, 2020 · 15 comments

Comments

@nullmax
Copy link

nullmax commented May 26, 2020

After installing the grub theme, next boot grub show errors below:

error: can't find hwmatch
error: invalid arguments
press any key to continue:

Then jump to the default grub screen.

Setting GRUB_GFX_MODE didn't work.

Here is the system info:
OS: Ubuntu 20.04 LTS x86_64
Kernel: 5.4.0-31-generic
Resolution: 1920x1080
DE: GNOME
CPU: Intel i7-8750H (12) @ 4.100GHz
GPU: Intel UHD Graphics 630

@vinceliuice
Copy link
Owner

because your grub installation is incomplete, the hwmatch module is missing

@nullmax
Copy link
Author

nullmax commented May 26, 2020

because your grub installation is incomplete, the hwmatch module is missing

I installed Ubuntu Minimal by default settings. I googled this problem, and not found a solution. Can you give me some suggestions?

@vinceliuice
Copy link
Owner

You should run sudo dpkg-reconfigure grub-pc and instruct it to install the boot loader somewhere, probably /dev/sda1.

@ghost
Copy link

ghost commented May 28, 2020

Ubuntu 20.04 LTS
i experience same error too while changing background.jpg with Grub Customizer.

this is the error when i try to set .png files:

error: can't find command 'hwmatch'.
error: jpeg: invalid jpeg file.

press any key to continue...

this is the error when i try to set .jpg files:

error: can't find command 'hwmatch'.
error: invalid argument.

press any key to continue...

@vinceliuice
Copy link
Owner

If you want change the background, don't use this tool, just replace the jpg file

@vinceliuice
Copy link
Owner

Then run sudo update-grub

@ghost
Copy link

ghost commented May 28, 2020

i try a few times... it's not working. but if i restore the original background.jpg the image is loaded and the error didn't show up. seems like i can't change the wallpaper for now.

@ghost
Copy link

ghost commented May 28, 2020

btw i use your old theme (?) i can change the image by installing this theme (Vimix) from here:
https://drive.google.com/open?id=0B1tVpdpC9bZDLWxKVHBMQWRXU0U
and i successfully change the image using Grub Customizer with .png format

source: http://ubuntuhandbook.org/index.php/2017/06/vimix-grub2-theme-makes-ubuntu-boot-loader-look-prettier/

@nullmax
Copy link
Author

nullmax commented May 28, 2020

I forget to mention that I run into this problem because I changed the backgroud image.
I tried to replace the picture before installation and replace the picture in /usr/share/grub/themes/Tela after installation. But all failed with the same error: can't find hwmatch.
Is it the problem of my own jpg file?

@vinceliuice
Copy link
Owner

Maybe, grub not support all type pictures

@ghost
Copy link

ghost commented Jul 26, 2020

thanks @VergeDX i just open this now i think @vinceliuice don't want to fix this problem and i will update the theme right now see if the problem really fixed.

@ghost
Copy link

ghost commented Aug 21, 2020

I can change the background on boot... you dont have to overwrite background.jpg
open boot/grub/themes/Tela (if you dont have Tela folder you maybe install the other theme) add another file for example background.png and open theme.txt change
-dekstop:image: "background.jpg" to -dekstop:image: "background.png"
And... done! the next restart you background will change.

@stuarthayhurst
Copy link
Contributor

Is this issue sorted or still present? If it's fixed it can be probably be closed, otherwise I'll try look into it.

@ghost
Copy link

ghost commented Oct 14, 2020

It's fixed... at least for me. Idk for other people.

@ghost
Copy link

ghost commented Oct 14, 2020

Sorry I use other account... TvT

@nullmax nullmax closed this as completed Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants