You are not logged in.

#1 2023-12-07 15:16:45

yaiko
Member
Registered: 2023-06-25
Posts: 38

insmod part_gpt (grub-mkconfig)

I'm trying to add a custom param to `GRUB_CMDLINE_LINUX_DEFAULT` but when running `grub-mkconfig` I get:

[root@root grub]$ sudo grub-mkconfig -o /boot/grub/grub.cfg
insmod: ERROR: could not load module part_gpt: No such file or directory

Already tried to update the system with `pacman` and reinstalling `os-prober` but still getting the same error.

Does anybody knows how to fix this?,
Thanks!

Offline

#2 2023-12-07 15:34:31

frostschutz
Member
Registered: 2013-11-15
Posts: 1,644

Re: insmod part_gpt (grub-mkconfig)

it's a grub module... is /boot mounted? is there /boot/grub/*/part_gpt.mod? did you run grub-install?

Offline

#3 2023-12-07 15:41:49

ua4000
Member
Registered: 2015-10-14
Posts: 554

Re: insmod part_gpt (grub-mkconfig)

Please post your /etc/default/grub

Offline

#4 2023-12-07 15:45:48

frostschutz
Member
Registered: 2013-11-15
Posts: 1,644

Re: insmod part_gpt (grub-mkconfig)

and if you're trying to load part_gpt with kernel insmod... perhaps a grub config is executed as bash shellscript somewhere. not sure how that happens, though...

Offline

#5 2023-12-21 12:46:04

yaiko
Member
Registered: 2023-06-25
Posts: 38

Re: insmod part_gpt (grub-mkconfig)

Fixed it doing `pacman -R grub` and then installing it again.

Offline

Board footer

Powered by FluxBB