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? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070829/5284b678/attachment.html>
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 > >
Mbneto wrote on Wed, 29 Aug 2007 14:36:49 -0400:> I have tried the > grub-install --root-directory=boot --no-floppy hd0 (ou /dev/hda).Did you already try a simple grub-install (hd0) where hd0 should be the disk that is used for booting and first in BIOS? And the grub.conf should reflect that you have a boot partition (assuming / is on /dev/md1): title CentOS (2.6.18-8.1.8.el5PAE) root (hd0,1) kernel /vmlinuz-2.6.18-8.1.8.el5PAE ro root=/dev/md1 initrd /initrd-2.6.18-8.1.8.el5PAE.img Kai -- Kai Sch?tzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com