2017-12-15 21:50 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0014248CentOS-6grubbypublic2017-12-07 14:26
Reportertps800 
PriorityhighSeveritymajorReproducibilitysometimes
StatusnewResolutionopen 
Product Version6.9 
Target VersionFixed in Version 
Summary0014248: grubby does not find suitable template
Descriptionafter installing a new kernel:
[...]
------------------------------------------------------------------------------------------------------------------------------------
Gesamt 80 kB/s | 83 MB 17:46
Führe rpm_check_debug durch
Führe Verarbeitungstest durch
Verarbeitungstest erfolgreich
Führe Verarbeitung durch
  Installieren : kernel-ml-4.14.4-1.el6.elrepo.i686 1/2
grubby fatal error: unable to find a suitable template
  Installieren : kernel-ml-4.14.2-1.el6.elrepo.i686 2/2
grubby fatal error: unable to find a suitable template

/boot/grub/grub.conf before (/etc/grub.conf hold the same):
#cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,3)
# kernel /vmlinuz-version ro root=/dev/sda6
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
timeout=3
default=0
splashimage=(hd0,3)/grub/splash.xpm.gz
hiddenmenu
title Oracle Linux Server Red Hat Compatible Kernel (4.14.3-1.el6.elrepo.i686)
        root (hd0,3)
        kernel /vmlinuz-4.14.3-1.el6.elrepo.i686 ro root=UUID=5a7cf078-11a2-44cf-85c1-17b270dddb64 resolution=1600x1200 nomodeset rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=de-latin1-nodeadkeys rd_NO_MD SYSFONT=latarcyrheb-sun16 rhgb quiet consoleblank=0 rd_NO_LVM LANG=de_DE.UTF-8 rd_NO_DM crashkernel=auto
        initrd /initramfs-4.14.3-1.el6.elrepo.i686.img
title Oracle Linux Server Red Hat Compatible Kernel (:::version:::)
        root (hd0,3)
        kernel /vmlinuz-:::version::: ro root=UUID=:::UUID::: resolution=1600x1200 nomodeset rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=de-latin1-nodeadkeys rd_NO_MD SYSFONT=latarcyrheb-sun16 rhgb quiet consoleblank=0 rd_NO_LVM LANG=de_DE.UTF-8 rd_NO_DM crashkernel=auto
        initrd /initramfs-:::version:::.img

title Rescue System
        root (hd0,2)
        kernel /isolinux/rescue32 scandelay=1 setkmap=de subdir=/ nomodeset docache autoruns=7 ar_nowait ar_nodel ar_ignorefail ar_source=/dev/sda3 nodhcp eth0=134.92.39.130/24 gateway=134.92.39.9 dns=134.92.255.1 dhcphostname=nw41
        initrd /isolinux/initram.igz
#

and after:
#cat /boot/grub/grub.conf
#

/boot/grub/grub.conf is plain empty!
Steps To ReproduceHave a system set up with CentOS, then install kernels. Reboot. Upgrade kernels. Under some unknown circumstances grubby exausts "it could not find a suitable template". If this is the case it might have generated an empty /boot/grub/grub.conf.
Additional InformationSystem is unbootable afterwards.
Tagsgrub
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2017-12-07 14:26 tps800 New Issue
2017-12-07 14:26 tps800 Tag Attached: grub
+Issue History