Software RAID 1 setup on CentOS using Grub boot loader
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Okay... When I was googling for help I read on a site that it is not recommended (or not possible, I can't remember now) to create a mirror of the /boot partition. So, that's why I created /boot on my hda1 and had to call it /boot2 on my hdb1 (some temporary name I picked) - originally I had them mirrored and it was called /dev/md0 and I installed centOS and wasn't able to boot successfully. Therefore, I removed the mirroring on those two partitions for now.
Anyways, during the installation(with the above RAID setup) I was given a choice of where to store the boot loader. My options were:
1) Install it on /dev/hda Master Boot Record
2)First sector (or similar wording) of /dev/hda1
I chose the second option /dev/hda1 - Idea was to store the boot record on this partition now and figure out a way to mirror it to my other drive (hdb1 or /boot2).
So, I was hoping that the system should boot normally after the installation with the current setup I have shown above.
Unfortunately, when it booted I see the word Grub and there is a hypen (-) next to that word just flashing... Nothing else is happening.
I need some help!! Could someone please explain to me whether the RAID setup I have is valid?? If so, how can I get the system booted?
If my setup is wrong.. could you please recommend what I should be doing??
Basically, I want a complete RAID 1 setup so if one of my hard disk fails the other one will take over and during a disaster if I have to reboot the system for any reason I want it to be able to boot normaly from the second hard disk upon the failure of the first one.