Phil Savoie
2012-Apr-28 16:50 UTC
[CentOS] error 24 attempt to access block outside of partition
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 at 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 at cc ~]#
Yves Bellefeuille
2012-Apr-29 04:00 UTC
[CentOS] error 24 attempt to access block outside of partition
On Saturday 28 April 2012, Phil Savoie <psavoie1783 at rogers.com> wrote:> default=1Remember 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=nouveauDoes 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.imgThis is the default. Does the file /boot/vmlinuz-2.6.32-220.el6.x86_64 still exist? -- Yves Bellefeuille <yan at storm.ca> "La Esperanta Civito ne rifuzas anticipe la kunlaboron de erarintoj, se ili konscias pri sia eraro." -- Heroldo Komunikas, n-ro 473.