Re: Re: Replacing failed software RAID drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Tony Mountifield wrote:

2. Can a install grub on the replaced boot drive with the system still
   running?
Yes, after the /boot partition re-sync has completed, execute grub and:

root (hd0,0)
setup (hd0)

And also:

root (hd1,0)
setup (hd1)

quit

That will ensure both mirrored drives have GRUB in the MBR (the MBR isn't
mirrored, only partitions are). Otherwise if hd0 fails, the system will
be unable to boot from the good drive hd1.

See http://fedoranews.org/mediawiki/index.php/How_to_setup_and_manage_your_disk_software_mirroring

Earlier in the thread, the OP said the 2nd mirror is on sde, not sdb, so this won't work for him and depending on his scsi controller, probably can't boot from that drive at all. In any case it is a good idea to know how to do a rescue mode boot from your install CD.

--
  Les Mikesell
   lesmikesell@xxxxxxxxx

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux