Fedora Core. Updated kernels not visible in grub. |
Problem:After updating kernel via yum, new kernels do not appear in the grub menu. Tried to look at grub.conf but was not there. The boot directory contained only the new kernels and none of the normal files, but grub could run and boot the system. /boot directory error message during boot:mount: LABEL =/boot duplicate - not mountedRan grub from command line. Performing find /grub/grub.conf returned (hd0,0) This file could not be found after booting as the /boot filesystem was not mounted. Discovered that two partitions were labeled as /boot. One was a disk from a previous box running linux. Used e2label to look at labels. mounted /dev/sda1 as /boot and found all of the files. |
Solution:used e2label /dev/sdb1 /disk2 to rename old boot diskumounted /boot and moved new kernels under /boot directory to temp location. remounted /dev/sda1 as /boot moved new kernels to boot directory and updated grub.conf Rebooted system. New kernels were visible. Mount error message no longer occurs. |