grubby fatal error: unable to find a suitable template solution Centos -

grubby fatal error: unable to find a suitable template solution Centos

vzkernel-2.6.32-042stab116.2.x86_64.rpm                                                                                                                                                                               |  33 MB     00:06    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : vzkernel-2.6.32-042stab116.2.x86_64                                                                                                                                                                                       1/1
grubby fatal error: unable to find a suitable template


#note how menu.lst is a normal file.  It should be a symlink to grub.conf
#because of this grubby will use grub.conf which does not match the current setup in menu.lst used for booting
#
 ls -al /boot/grub/
total 292
drwxr-xr-x 2 root root   4096 Aug 10 15:07 .
dr-xr-xr-x 5 root root   4096 Aug 10 15:06 ..
-rw-r--r-- 1 root root  13396 Jul  9  2015 e2fs_stage1_5
-rw-r--r-- 1 root root  12636 Jul  9  2015 fat_stage1_5
-rw-r--r-- 1 root root  11780 Jul  9  2015 ffs_stage1_5
-rw------- 1 root root    798 Aug 10 15:07 grub.conf
-rw-r--r-- 1 root root  11772 Jul  9  2015 iso9660_stage1_5
-rw-r--r-- 1 root root  13284 Jul  9  2015 jfs_stage1_5
-rw------- 1 root root    764 Aug  8 19:11
menu.lst

#to fix it you need to move menu.lst to grub.conf and make a symlink to menu.lst from grub.conf
cd /boot/grub
mv menu.lst grub.conf
ln -s grub.conf menu.lst

 

Now see that menu.lst is a symlink and the kernel will install.

ls -al /boot/grub/menu.lst
lrwxrwxrwx 1 root root 9 Aug 10 15:12 /boot/grub/menu.lst -> grub.conf

vzkernel-2.6.32-042stab116.2.x86_64.rpm                                                                                                                                                                               |  33 MB     00:03    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : vzkernel-2.6.32-042stab116.2.x86_64                                                                                                                                                                                       1/1
  Verifying  : vzkernel-2.6.32-042stab116.2.x86_64                                                                                                                                                                                       1/1

Installed:
  vzkernel.x86_64 0:2.6.32-042stab116.2                                                                                                                                                                                                     

Complete!


  • /usr/bin/ld: cannot find -lboost_system-mt-s /usr/bin/ld: cannot find -lboost_filesystem-mt-s /usr/bin/ld: cannot find -lboost_program_options-mt-s /usr/bin/ld: cannot find -lboost_thread-mt-s collect2: error: ld returned 1 exit status make: *** [cag
  • Wine uninstalled broken on Linux Mint
  • ffmpeg trouble concatenating similar but different files
  • ffmpeg Unable to Use Hardware Encoding with Nvidia 3.40 Driver and GT210 card
  • Linux Mint USB Kernel Tainted and Locked Port/Dev File
  • ffmpeg Linux Mint download, compile and install howto
  • OpenVZ error : Container start failed (try to check kernel messages, e.g. "dmesg | tail") Locked by: pid 166638, cmdline vzctl start 888171
  • How to extract view contents of initramfs image gzip'd
  • Linux how to copy GPT partition table with dd
  • Centos 7 How To Change Hostname
  • Debian/Mint/Ubuntu Font Packs/Recommended To Install
  • Migrate Centos 7 from Single HDD to mdadm RAID 10 array:
  • How to change reserved blocks in Linux partition
  • Reading package lists... Done W: GPG error: http://ppa.launchpad.net trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D46F45428842CE5E
  • Centos 7 A start job is running for dev-mapper-clx2droot.device (8min 44s / no limit)
  • USB 3.0 External HDD Enclosure Seagate UAS problems - [sdd] tag#1 CDB: Write(16) 8a 00 00 00 00 01 70 04 08 68 00 00 00 08 00 00
  • Centos 7 Cudaminer Nvidia setup guide
  • USB 3.0 PCI x1 Card Review VIA VL805 on Linux Review and Experience
  • rsync run as root sudo without password
  • Why won't my Linux Mint boot after I manually installed a new kernel?