I have a power edge with raid5 that contains Centos 5.4. I had a drive failure, anyway the array is optimal now but the server won't boot. I can boot from a Centos 5.3 liveCD and all the data is still there. There is no grub.conf just shows a broken link. Is fixing this as simple as gub-install |--root-directory=/mnt/disc/sda3 /dev/sda| Before screwing things up I am seeking your all's advice. Thanks in advance Dan # fdisk -l /dev/sda Disk /dev/sda: 72.7 GB, 72729231360 bytes 255 heads, 63 sectors/track, 8842 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 658 5180962+ 82 Linux swap / Solaris /dev/sda3 659 8842 65737980 83 Linux -- Dan Carl 651-766-2800 x218 651-491-9712 Mobile
m.roth at 5-cent.us
2012-Aug-13 19:24 UTC
[CentOS] server fails to boot GRUB and flashing cursor
Dan Carl wrote:> I have a power edge with raid5 that contains Centos 5.4. > I had a drive failure, anyway the array is optimal now but the server > won't boot. > I can boot from a Centos 5.3 liveCD and all the data is still there. > > There is no grub.conf just shows a broken link. > Is fixing this as simple as gub-install |--root-directory=/mnt/disc/sda3 > /dev/sda| > > Before screwing things up I am seeking your all's advice. > Thanks in advance > Dan > > # fdisk -l /dev/sda > > Disk /dev/sda: 72.7 GB, 72729231360 bytes > 255 heads, 63 sectors/track, 8842 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot Start End Blocks Id System > /dev/sda1 * 1 13 104391 83 Linux > /dev/sda2 14 658 5180962+ 82 Linux swap / > Solaris > /dev/sda3 659 8842 65737980 83 Linux >You said this had RAID5: what's the o/p of cat /proc/mdstat? mark