[CentOS] Cannot boot after upgrading to Centos 5.1

Mogens Kjaer mk at crc.dk
Mon Dec 3 14:13:19 UTC 2007


Alain Spineux wrote:
> On Dec 3, 2007 2:55 PM, Alain Spineux <aspineux at gmail.com> wrote:
>> On Dec 3, 2007 2:40 PM, Mogens Kjaer <mk at crc.dk> wrote:
>>> My local centos mirror (ftp.crc.dk) failed to boot
>>> after having upgraded from centos 5.0 to 5.1 (i386).
>>>
>>> It just displays
>>>
>>> GRUB
>>>
>>> The cursor is positioned to the right of a space after
>>> GRUB, and no input is accepted.
>>>
>>> I've tried booting in rescue mode and run:
>>>
>>> chroot /mnt/sysimage
>>> grub-install /dev/cciss/c0d0
>>>
>>> This completes without errors, but still it can't boot.
>>>
>>> It's a HP/Compaq Proliant ML370 with a smartarray 5312 controller.
>> Maybe the the module is not included into the new initrd image (if you
>> have upgraded your kernel too)
>>
>> boot in rescue mode, check /etc/modprobe.conf if your controller module is in,
>> and run mkinitrd with appropriate parameters, maybe forcing the module
>> inclusion.
> 
> Ops  forget this, you problem is long before this.
> You already tried the good operation (grub-install)
> Sorry.
> 
> Did you check if your /boot/grub/grub.conf looks correct ?

The file looks like this:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/cciss/c0d0p3
#          initrd /initrd-version.img
#boot=/dev/cciss/c0d0
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-53.1.4.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-53.1.4.el5 ro root=LABEL=/
        initrd /initrd-2.6.18-53.1.4.el5.img
title CentOS (2.6.18-53.1.4.el5PAE)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-53.1.4.el5PAE ro root=LABEL=/
        initrd /initrd-2.6.18-53.1.4.el5PAE.img
title Red Hat Enterprise Linux Server (2.6.18-8.1.15.el5PAE)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-8.1.15.el5PAE ro root=LABEL=/
        initrd /initrd-2.6.18-8.1.15.el5PAE.img
title Red Hat Enterprise Linux Server (2.6.18-8.1.15.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-8.1.15.el5 ro root=LABEL=/
        initrd /initrd-2.6.18-8.1.15.el5.img

Looks OK to me.

> 
> Do you have multiple "Volume", I mean is your raid split into multiple Volumes ?
> Or do you have separate ATA or SCSI drives ?

One RAID 5 system with 8x146G SCSI disks. This is partitioned
into "/boot", swap, and "/". No LVM.

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk at crc.dk Homepage: http://www.crc.dk



More information about the CentOS mailing list