On Wed, Feb 27, 2019 at 10:44 AM Patrick Dupre <pdu...@gmx.com> wrote:
>
> After an update of the kernel, the file
> /boot/efi/EFI/fedora/grub.cfg
> has not been updated.
>
> I had to run
>
> grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

You need to have a "/etc/grub2-efi.cfg to
../boot/efi/EFI/fedora/grub.cfg" symlink for
"/boot/efi/EFI/fedora/grub.cfg" to be updated because
"/usr/sbin/new-kernel-pkg" has

    grub2EfiConfig=$(readlink -f /etc/grub2-efi.cfg 2>/dev/null)
...
    if [ -n "$cfgGrub2Efi" ]; then
...
        ARGS="--grub2 -c $grub2EfiConfig --efi \
                --add-kernel=$kernelImage $DEVTREE $INITRD \
                --copy-default --title \"$title\$debugtitle\" \
                ${mbkernel:+--add-multiboot=\"$mbkernel\"} \
                ${mbargs:+--mbargs=\"$mbargs\"} \
                --args=\"root=$rootdevice $kernargs \$debugargs\" \
                --remove-kernel=\"TITLE=$title\$debugtitle\""
        rungrubby --debug ${ARGS}
        rungrubby ${ARGS} $makedefault
...
    fi
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to