4

Software raid1 and grub failing on CentOS 4.x

 2 years ago
source link: https://arrfab.net/posts/2007/Feb/17/software-raid1-and-grub-failing-on-centos-4x/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Software raid1 and grub failing on CentOS 4.x

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>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 ...


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK