Software raid1 and grub failing on CentOS 4.x

Excerpt from http://www.arrfab.net/blog/?p=11

I don’t like to play with software raid usually (i prefer real hardware raid card on servers ..) but i had to setup a small machine with 2 sata disks in raid 1. The problem is that after the reboot grub will fail to load the kernel (grub error 15).

Solution is to boot in rescue mode , issue a chroot /mnt/sysimage and setup grub manually on each drives :

grub

grub>root (hd0,0)
grub>setup (hd0)
grub>root (hd1,0)
grub>setup (hd1)
grub>quit

Reboot the machine and you’ll have grub on each raid device …

Read more at  www.arrfab.net

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s