You are not logged in.

#1 2018-12-25 01:40:25

maltere
Member
Registered: 2018-12-25
Posts: 2

grub-mkconfig not terminating

Hello,
I have a problem while trying to run

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

.
My Thinkpad is not finishing the command. It is just busy saying nothing.

After further research I loggedin to the installation env via ssh and took a look into htop.

My Command hangs running

vgs --options vg_uuid,pv_name --noheadings --separator :

running this command under arch-chroot (in the newly installed enviroment):
the command replies:

WARNING: Failed to connect to lvmetad. Falling back to device scanning.
WARNING: /dev/nvme0n1 not initalized in udev database even after waiting 1000000000 microseconds
WARNING: /dev/loop0 not initalized in udev database even after waiting 1000000000 microseconds
WARNING: /dev/sda not initalized in udev database even after waiting 1000000000 microseconds
WARNING: /dev/mapper/pad1 not initalized in udev database even after waiting 1000000000 microseconds
WARNING: /dev/sda1 not initalized in udev database even after waiting 1000000000 microseconds
..
..
..

grub-mkconfig was running for over an hour, without outputting anything.
Can you give me a hint where the problem can be?
What am I doing wrong?

Offline

#2 2018-12-25 02:48:32

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: grub-mkconfig not terminating

I recommend not using grub-mkconfig, which sucks, and writing your own very simple grub.cfg instead.

See:
https://wiki.archlinux.org/index.php/Us … ub#Example
https://ptpb.pw/mk7y


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#3 2018-12-25 14:55:23

maltere
Member
Registered: 2018-12-25
Posts: 2

Re: grub-mkconfig not terminating

Offline

#4 2018-12-25 14:57:20

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: grub-mkconfig not terminating

Please remember to mark your thread [SOLVED] (edit the title of your first post).


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

Board footer

Powered by FluxBB