"GRUB entry is missing" errors during yum update involving new kernel
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Baby
  2. Saturday, 19 August 2017
  3.  Subscribe via email
Upon running a yum update, the following errors are showing up as part of the output:


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:


### 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
}
Rate this post:
  1. 28.08.2017 15:08:41
  2. # 1
Igor Ghertesco Accepted Answer
Posts: 154
Joined: 07.08.2015
0
Votes
Undo
Hello,

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


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.