Difference between revisions of "Reinstalling grub on RAID partition"
From Notes_Wiki
(Created page with "=Reinstalling grub on raid partition= Sometimes just using auto-detect may not work and system may not boot when one of the raid hard-disks is removed. In such cases we need ...") |
m |
||
Line 1: | Line 1: | ||
<yambe:breadcrumb>Software raid configuration</yambe:breadcrumb> | |||
=Reinstalling grub on raid partition= | =Reinstalling grub on raid partition= | ||
Sometimes just using auto-detect may not work and system may not boot when one of the raid hard-disks is removed. In such cases we need to re-install grub on raid partition. To do this boot using installation CD and go to rescue mode. Then use 'chroot /mnt/sysimage'. Then use something like 'grub-install /dev/md<n>' where md<n> is the raid 1 partition for boot. Use 'sync' to ensure cached blocks from RAM are flushed to hard-disk. Then use 'reboot' and now system should boot properly even with one of the raid devices removed. | Sometimes just using auto-detect may not work and system may not boot when one of the raid hard-disks is removed. In such cases we need to re-install grub on raid partition. To do this boot using installation CD and go to rescue mode. Then use 'chroot /mnt/sysimage'. Then use something like 'grub-install /dev/md<n>' where md<n> is the raid 1 partition for boot. Use 'sync' to ensure cached blocks from RAM are flushed to hard-disk. Then use 'reboot' and now system should boot properly even with one of the raid devices removed. |
Revision as of 12:35, 18 November 2013
<yambe:breadcrumb>Software raid configuration</yambe:breadcrumb>
Reinstalling grub on raid partition
Sometimes just using auto-detect may not work and system may not boot when one of the raid hard-disks is removed. In such cases we need to re-install grub on raid partition. To do this boot using installation CD and go to rescue mode. Then use 'chroot /mnt/sysimage'. Then use something like 'grub-install /dev/md<n>' where md<n> is the raid 1 partition for boot. Use 'sync' to ensure cached blocks from RAM are flushed to hard-disk. Then use 'reboot' and now system should boot properly even with one of the raid devices removed.