You are not logged in.

#1 2013-12-01 17:01:38

gbc921
Member
From: Brazil
Registered: 2011-08-05
Posts: 64
Website

Reinstalling GRUB2 gives insmod error

Hello,

After installing syslinux and booting fine, I wanted to go back to GRUB again.

However, when tried to regenerate the config file with

# grub-mkconfig -o /boot/grub/grub.cfg

this errors pops out:

insmod: ERROR: could not load module part_gpt: No such file or directory

Even running insmod <part_gpt path> by hand and grub-install gives the same error.

The system is not on GPT at all, has a separate /boot partition and is totally up-to-date.

Any advice?


- "Nothing is impossible, impossible just takes longer"
- My Arch Linux Mirror located in São Paulo, Brazil: http://archmirror.duckdns.org:9000/

Offline

#2 2013-12-01 18:13:30

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Reinstalling GRUB2 gives insmod error

Compare uname -r and pacman -Q linux. Maybe you forgot to reboot after the kernel was updated. Apart from that i suggest you to stick with syslinux, unless you require any of GRUB's unique features.

Offline

#3 2013-12-01 18:17:59

gbc921
Member
From: Brazil
Registered: 2011-08-05
Posts: 64
Website

Re: Reinstalling GRUB2 gives insmod error

teateawhy wrote:

Compare uname -r and pacman -Q linux. Maybe you forgot to reboot after the kernel was updated. Apart from that i suggest you to stick with syslinux, unless you require any of GRUB's unique features.

The system was rebooted. And pacman log showed no error.

I know that syslinux is good too, but this is no excuse to not be able to install GRUB again.

Thanks!


- "Nothing is impossible, impossible just takes longer"
- My Arch Linux Mirror located in São Paulo, Brazil: http://archmirror.duckdns.org:9000/

Offline

#4 2013-12-01 20:40:06

henk
Member
From: Weert, Netherlands
Registered: 2013-01-01
Posts: 334

Re: Reinstalling GRUB2 gives insmod error

The module 'part-gpt' is on of the packages which is installed when you install grub with pacman
It should reside in /boot/grub/i386-pc/ and /usr/lib/grub/i386-pc/ and is loaded through /etc/default/grub
when you do a grub-mkconfig. If the module is not found your /boot files could be messed up.

Maybe it would be wise to completely remove grub from your system, and install and configure it again.

Offline

#5 2013-12-01 20:52:01

gbc921
Member
From: Brazil
Registered: 2011-08-05
Posts: 64
Website

Re: Reinstalling GRUB2 gives insmod error

I remember checking some of these directories. If I'm not wrong part_gpt.mod was near there.

I also tried to reinstall GRUB, but I did not remove it completely.

When I get access to this machine again I will update here.

Thanks!


- "Nothing is impossible, impossible just takes longer"
- My Arch Linux Mirror located in São Paulo, Brazil: http://archmirror.duckdns.org:9000/

Offline

Board footer

Powered by FluxBB