[CentOS] My server won't boot (grub looping - stage2)

Thu Aug 30 13:29:11 UTC 2007
mbneto <mbneto at gmail.com>

My grub.conf

default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.9-55.0.2.ELsmp)
   root (hd0,0)
   kernel /vmlinuz-2.6.9-55.0.2.ELsmp ro root=/dev/md1
   initrd /initrd-2.6.9-55.0.2.ELsmp.img
title CentOS (2.6.9-55.ELsmp)
   root (hd0,0)
   kernel /vmlinuz-2.6.9-55.ELsmp ro root=/dev/md1
   initrd /initrd-2.6.9-55.ELsmp.img
title CentOS (2.6.9-42.0.10.ELsmp)
   root (hd0,0)
   kernel /vmlinuz-2.6.9-42.0.10.ELsmp ro root=/dev/md1
   initrd /initrd-2.6.9-42.0.10.ELsmp.img
title CentOS (2.6.9-42.0.3.ELsmp)
   root (hd0,0)
   kernel /vmlinuz-2.6.9-42.0.3.ELsmp ro root=/dev/md1
   initrd /initrd-2.6.9-42.0.3.ELsmp.img
title CentOS (2.6.9-42.0.2.ELsmp)
   root (hd0,0)
   kernel /vmlinuz-2.6.9-42.0.2.ELsmp ro root=/dev/md1
   initrd /initrd-2.6.9-42.0.2.ELsmp.img

My disks

Disk /dev/hda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          13      104391   fd  Linux raid
autodetect
/dev/hda2              14        6387    51199155   fd  Linux raid
autodetect
/dev/hda3            6388        6452      522112+  82  Linux swap
/dev/hda4            6453       19929   108254002+   5  Extended
/dev/hda5            6453       19929   108253971   8e  Linux LVM

Disk /dev/hde: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hde1   *           1          13      104391   fd  Linux raid
autodetect
/dev/hde2              14        6387    51199155   fd  Linux raid
autodetect
/dev/hde3            6388        6452      522112+  82  Linux swap
/dev/hde4            6453       19929   108254002+   5  Extended
/dev/hde5            6453       19929   108253971   8e  Linux LVM

Disk /dev/hdg: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdg1               1          13      104391   fd  Linux raid
autodetect
/dev/hdg2              14        6387    51199155   fd  Linux raid
autodetect
/dev/hdg3            6388        6452      522112+  82  Linux swap
/dev/hdg4            6453       19929   108254002+   5  Extended
/dev/hdg5            6453       19929   108253971   8e  Linux LVM

Disk /dev/md0: 106 MB, 106823680 bytes
2 heads, 4 sectors/track, 26080 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

    Device Boot      Start         End      Blocks   Id  System

Disk /dev/md1: 104.8 GB, 104855502848 bytes
2 heads, 4 sectors/track, 25599488 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

On 8/29/07, mups. cp <mups.cp at gmail.com> wrote:
>
> What's inside your grub.conf?
>
> On 8/29/07, mbneto <mbneto at gmail.com> wrote:
> > Hi,
> >
> > This morning one of my servers (centos 4.5) refused to boot.  The
> console
> > shows a lopp message grub loading stage2...
> >
> > I've been able to boot from the install CD choosing the rescue
> option.  I
> > can chroot /mnt/sysimage with no problems and even started the services
> > (network, mysql , httpd etc).
> >
> > How can I solve this?
> >
> > I've followed the manual
> > (
> http://www.gnu.org/software/grub/manual/html_node/Installing-GRUB-using-grub_002dinstall.html#Installing-GRUB-using-grub_002dinstall
> > ) but now just keeps beeping with the GRUB fixed :)
> >
> > I have 3 IDE disks, hda, hde and hdg.
> > My /boot is a raid device /dev/md0 of /dev/(hda2,hde2,hdg2).
> > cat /proc/mdstat shows all disks online and active in the array.
> >
> > I have tried the
> > grub-install --root-directory=boot --no-floppy hd0 (ou /dev/hda).
> >
> > With the same results.
> >
> > Ideas?
> >
> >
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
> >
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20070830/209f2ca4/attachment-0004.html>