Announcement

Collapse
No announcement yet.

"GRUB entry is missing" errors during yum update involving new kernel

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • "GRUB entry is missing" errors during yum update involving new kernel

    Upon running a yum update, the following errors are showing up as part of the output:

    Code:
    CloudLinux Selector setup: successful
    
    grep: /boot/efi/EFI/centos/grub.cfg: No such file or directory
    
    grep: /boot/efi/EFI/centos/grub.cfg: No such file or directory
    
    [WARNING]    /boot/efi/EFI/centos/grub.cfg is missing
    
    [WARNING]    Kernel 3.10.0-714.10.2.lve1.4.61.el7.x86_64 GRUB entry is missing
    
    [WARNING]    Kernel 3.10.0-714.10.2.lve1.4.61.el7.x86_64 initramfs GRUB entry is missing
    Can the above warnings be safely ignored?

    When we did a locate for the file grub.cfg, we found that the following file instead was updated during the yum update:

    /boot/grub2/grub.cfg

    In that file, we can see some entries for 3.10.0-714.10.2.lve1.4.61.el7.x86_64, like so:

    Code:
    ### BEGIN /etc/grub.d/10_linux ###
    
    menuentry CloudLinux (3.10.0-714.10.2.lve1.4.61.el7.x86_64) 7.3 (Yury Malyshev) --class rhel fedora centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option gnulinux-3.10.0-427.18.2.lve1.4.27.el7.x86_64-advanced-31fd7691-5bb7-4fab-aca9-0e603ed4d984 {
    
    load_video
    
    set gfxpayload=keep
    
    insmod gzio
    
    insmod part_gpt
    
    insmod part_gpt
    
    insmod diskfilter
    
    insmod mdraid09
    
    insmod ext2
    
    set root=mduuid/0a868b6241cb1711a4d2adc226fd5302
    
    if [ x$feature_platform_search_hint = xy ]; then
    
    search --no-floppy --fs-uuid --set=root --hint=mduuid/0a868b6241cb1711a4d2adc226fd5302  31fd7691-5bb7-4fab-aca9-0e603ed4d984
    
    else
    
    search --no-floppy --fs-uuid --set=root 31fd7691-5bb7-4fab-aca9-0e603ed4d984
    
    fi
    
    linuxefi /boot/vmlinuz-3.10.0-714.10.2.lve1.4.61.el7.x86_64 root=/dev/md2 ro crashkernel=auto nosplash noplymouth rhgb net.ifnames=0  rd.md.uuid=0a868b62:41cb1711:a4d2adc2:26fd5302 LANG=en_US.UTF-8
    
    initrdefi /boot/initramfs-3.10.0-714.10.2.lve1.4.61.el7.x86_64.img
    
    }
    
    menuentry CloudLinux (3.10.0-714.10.2.lve1.4.61.el7.x86_64) 7.3 (Yury Malyshev) with debugging --class rhel fedora centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option gnulinux-3.10.0-427.18.2.lve1.4.27.el7.x86_64-advanced-31fd7691-5bb7-4fab-aca9-0e603ed4d984 {
    
    load_video
    
    set gfxpayload=keep
    
    insmod gzio
    
    insmod part_gpt
    
    insmod part_gpt
    
    insmod diskfilter
    
    insmod mdraid09
    
    insmod ext2
    
    set root=mduuid/0a868b6241cb1711a4d2adc226fd5302
    
    if [ x$feature_platform_search_hint = xy ]; then
    
    search --no-floppy --fs-uuid --set=root --hint=mduuid/0a868b6241cb1711a4d2adc226fd5302  31fd7691-5bb7-4fab-aca9-0e603ed4d984
    
    else
    
    search --no-floppy --fs-uuid --set=root 31fd7691-5bb7-4fab-aca9-0e603ed4d984
    
    fi
    
    linuxefi /boot/vmlinuz-3.10.0-714.10.2.lve1.4.61.el7.x86_64 root=/dev/md2 ro crashkernel=auto nosplash noplymouth rhgb net.ifnames=0  rd.md.uuid=0a868b62:41cb1711:a4d2adc2:26fd5302 LANG=en_US.UTF-8 systemd.log_level=debug systemd.log_target=kmsg
    
    initrdefi /boot/initramfs-3.10.0-714.10.2.lve1.4.61.el7.x86_64.img
    
    }

  • #2
    Hello,

    You can ignore the warnings, as the kernel entry was added to /boot/grub2/grub.cfg file

    Comment

    Working...
    X