Hi All,
After updating to the latest kernel, I get subject error at grub. I have no idea as to how to fix this. Booting of the previous kernel is fine. Could someone please help sort this out? Thank you in advance!!
Phil
Relative info:
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,0) # kernel /boot/vmlinuz-version ro root=/dev/sdb1 # initrd /boot/initrd-[generic-]version.img #boot=/dev/sdb default=1 timeout=5 splashimage=(hd0,0)/boot/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.32-220.13.1.el6.x86_64) root (hd0,0) kernel /boot/vmlinuz-2.6.32-220.13.1.el6.x86_64 ro root=UUID=b9245ece-994f-44c8-9831-ec24cf865b6e nomodeset rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_NO_MD quiet SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto rd_NO_LVM selinux=0 rd_NO_DM nouveau.modeset=0 rdblacklist=nouveau initrd /boot/initramfs-2.6.32-220.13.1.el6.x86_64.img
title CentOS (2.6.32-220.el6.x86_64) root (hd0,0) kernel /boot/vmlinuz-2.6.32-220.el6.x86_64 ro root=UUID=b9245ece-994f-44c8-9831-ec24cf865b6e nomodeset rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_NO_MD quiet SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto rd_NO_LVM selinux=0 rd_NO_DM nouveau.modeset=0 rdblacklist=nouveau initrd /boot/initramfs-2.6.32-220.el6.x86_64.img
Output of fdisk -cul: [root@cc ~]# fdisk -cul
Disk /dev/sda: 1500.3 GB, 1500301910016 bytes 255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00042630
Device Boot Start End Blocks Id System /dev/sda1 * 2048 2921889791 1460943872 83 Linux /dev/sda2 2921889792 2930276351 4193280 82 Linux swap / Solaris
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0xb77be37a
Device Boot Start End Blocks Id System /dev/sdb1 * 2048 206847 102400 7 HPFS/NTFS /dev/sdb2 206848 1953521663 976657408 7 HPFS/NTFS [root@cc ~]#
On Saturday 28 April 2012, Phil Savoie psavoie1783@rogers.com wrote:
default=1
Remember that Grub starts counting with 0, not with 1. The default is the second stanza, not the first.
kernel /boot/vmlinuz-2.6.32-220.13.1.el6.x86_64 ro
root=UUID=b9245ece-994f-44c8-9831-ec24cf865b6e nomodeset rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_NO_MD quiet SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto rd_NO_LVM selinux=0 rd_NO_DM nouveau.modeset=0 rdblacklist=nouveau
Does the file /boot/vmlinuz-2.6.32-220.13.1.el6.x86_64 exist? Is the fiilesystem UUID really b9245ece-994f-44c8-9831-ec24cf865b6e (check with tune2fs -l /dev/sda1)?
title CentOS (2.6.32-220.el6.x86_64) root (hd0,0) kernel /boot/vmlinuz-2.6.32-220.el6.x86_64 ro root=UUID=b9245ece-994f-44c8-9831-ec24cf865b6e nomodeset rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_NO_MD quiet SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto rd_NO_LVM selinux=0 rd_NO_DM nouveau.modeset=0 rdblacklist=nouveau initrd /boot/initramfs-2.6.32-220.el6.x86_64.img
This is the default. Does the file /boot/vmlinuz-2.6.32-220.el6.x86_64 still exist?
On 04/29/2012 12:00 AM, Yves Bellefeuille wrote:
On Saturday 28 April 2012, Phil Savoie psavoie1783@rogers.com wrote:
default=1
Remember that Grub starts counting with 0, not with 1. The default is the second stanza, not the first.
kernel /boot/vmlinuz-2.6.32-220.13.1.el6.x86_64 ro
root=UUID=b9245ece-994f-44c8-9831-ec24cf865b6e nomodeset rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_NO_MD quiet SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto rd_NO_LVM selinux=0 rd_NO_DM nouveau.modeset=0 rdblacklist=nouveau
Does the file /boot/vmlinuz-2.6.32-220.13.1.el6.x86_64 exist? Is the fiilesystem UUID really b9245ece-994f-44c8-9831-ec24cf865b6e (check with tune2fs -l /dev/sda1)?
title CentOS (2.6.32-220.el6.x86_64) root (hd0,0) kernel /boot/vmlinuz-2.6.32-220.el6.x86_64 ro root=UUID=b9245ece-994f-44c8-9831-ec24cf865b6e nomodeset rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_NO_MD quiet SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto rd_NO_LVM selinux=0 rd_NO_DM nouveau.modeset=0 rdblacklist=nouveau initrd /boot/initramfs-2.6.32-220.el6.x86_64.img
This is the default. Does the file /boot/vmlinuz-2.6.32-220.el6.x86_64 still exist?
Yes it does. This morning I manually removed the new kernel and updated it again and it works. Weird!! But thank you for taking the time to respond.
Phil
Hello Phil,
On Sun, 2012-04-29 at 06:23 -0400, Phil Savoie wrote:
This morning I manually removed the new kernel and updated it again and it works. Weird!! But thank you for taking the time to respond.
Was about to point you to https://bugzilla.redhat.com/show_bug.cgi?id=645216 which suggests the same workaround.
Regards, Leonard.