You are not logged in.

#1 2017-06-24 22:55:32

daankata
Member
Registered: 2017-05-21
Posts: 47

Cannot generate GRUB configuration file

Hello!
I am installing Arch with LVM on LUKS, and I have installed GRUB on a USB stick on a partition boot, and mounted the USB stick at "/mnt/usb". So everything so far was doing great, but when I tried to generate/update the GRUB configuration file at "/mnt/usb/boot/grub/grub.cfg" it shows this:

# grub-mkconfig -o /mnt/usb/boot/grub/grub.cfg
Generating grub configuration file ...
        WARNING: Failed to connect to lvmetad. Falling back to device scanning.
        WARNING: Failed to connect to lvmetad. Falling back to device scanning.
        WARNING: Failed to connect to lvmetad. Falling back to device scanning.
        WARNING: Failed to connect to lvmetad. Falling back to device scanning.
        WARNING: Failed to connect to lvmetad. Falling back to device scanning.
        WARNING: Failed to connect to lvmetad. Falling back to device scanning.
        WARNING: Failed to connect to lvmetad. Falling back to device scanning.
        WARNING: Failed to connect to lvmetad. Falling back to device scanning.
        WARNING: Failed to connect to lvmetad. Falling back to device scanning.
        WARNING: Failed to connect to lvmetad. Falling back to device scanning.
        WARNING: Failed to connect to lvmetad. Falling back to device scanning.
        WARNING: Failed to connect to lvmetad. Falling back to device scanning
done

I was surprised at the "done" at the ending. When I checked the grub configuration file at "/mnt/usb/boot/grub/grub.cfg" I noticed that when generating the grub configuration file it does not update "/boot/grub/grub.cfg" with options from GRUB_CMDLINE_LINUX_DEFAULT in "/etc/default/grub". The values of the grub configuation file are always the default...

Any ideas? Thank you very much! smile

Offline

#2 2017-06-24 23:30:31

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Cannot generate GRUB configuration file

You can just write it yourself; you don't have to rely on the (somewhat buggy) tool.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-06-25 06:56:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Offline

Board footer

Powered by FluxBB