Installing Grub on software RAID 1

I have recently run into an issue where I needed to reinstall grub after an install. The problem was that the server was running software RAID 1 on a Redhat Enterprise Linux 4 server and the grub-install command doesn’t support software RAID. To fix this issue, I manually booted the server. Then, I simply ran the grub command to get into the grub shell. Once in there the steps were simple. At the prompt you will need to fist type the following.

root(hd0,0)

The first 0 referrs to the actual drive, and the second 0 referrers to the partition. So, for this example you would be referring to /dev/hda1 which is where your /boot directory resides. Now you will need to actually set up grub. For this you will use the following command.

setup (hd0)

Once you execute this command it will run through the install and everything will be installed correctly.

One Response to “Installing Grub on software RAID 1”

  1. ALFREDO Says:


    MedicamentSpot.com. Canadian Health&Care.Special Internet Prices.Best quality drugs.No prescription online pharmacy. Low price pills. Order pills online

    Buy:Cialis.Super Active ED Pack.Cialis Super Active+.Levitra.Tramadol.Maxaman.Propecia.Soma.Viagra Super Active+.Viagra Super Force.Zithromax.Cialis Professional.VPXL.Viagra.Viagra Soft Tabs.Cialis Soft Tabs.Viagra Professional….