You are not logged in.

#1 2017-05-06 12:02:09

jmak
Member
Registered: 2008-12-21
Posts: 453

grub-mkconfig -o /boot/grub/grub.cfg command takes too long to complet

Hello,

I have this nagging problem for many month.
The

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

command takes about 15 to 20 minutes to complete.
This error started developing a few months ago.
Thinking this was a hardware issue yesterday, I re-partitioned one of my harddrives which is an SSD harddrive, what I use most of the time.
It has four GPT partitions.
I also have a second regular, spinning harddrive what I mostly use as a storage, but that one also have partitions and time to time I also install other distros on it.
This is a desktop computer, and it works perfectly in every other respect. About 10 years old.
During the 20 minutes while grub updates, I noticed that the fan becomes very noisy. I opened a second terminal I noticed that the

grub-mount

process keeps the CPU running  100% during the entire process.

  PID USER      PR  NI    VIRT    RES  %CPU %MEM     TIME+ S COMMAND            
  411 mak       20   0 2232.9m 213.8m   1.3  3.6   1:26.47 S                  + 
 3901 root      20   0   49.4m  26.2m 100.0  0.4   7:33.88 R      `- grub-mount 
  970 mak       20   0  894.7m  96.4m   0.7  1.6   0:08.06 S                  + 
 1086 mak       20   0 1282.6m 368.3m   1.3  6.2   0:33.75 S                  + 
 1166 mak       20   0 1093.0m 165.1m   0.7  2.8   0:19.64 R                  + 

I'm just wondering, anybody has any clue what could be the problem here and how to solve it?
Thank you.

Offline

Board footer

Powered by FluxBB