Grub will not install - Wheezy + RAID1- HELP PLEASE!!!
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I can then use the Software Raid configuration to set my RAID1. It then gives me an error that there is no / file system, so I change that on the raid drive mdo. I also set the other drives to what they are /boot, /var, etc. But I cannot set the boot flag!!
I apply the changes, it chugs along until it comes to set Grub as the bootloader, it fails!!
The only way I could get Grub to work is if I only set up one drive, so partition it as above and DO NOT use the RAID at all, but I want to have both of my drives identical, so if one fails, the other one will keep going!
you have a 10 gig /boot??? That's mad, literally 100 times too big! Your space allocation in general looks very strange. You seem to imply you have no need for 95% of the space, and have just allocated it equally to all partitions. what do you ever plan to put on /usr that would make it more than, say, 20gb at the absolute maximum? What if you want that space somewhere else? 16gb of swap?? If you need that much swap you probably have some real issues to deal with first.
If you're only using software raid, then don't put /boot on it, your work around is for the best. You shouldn't even be mounting /boot by default anyway. You can clone a copy of it if you wish, but there's no need to raid it. That said, I do think you can probably convert it to a raid 1 afterwards, as grub could still just reference the partition directly and be oblivious to the fact that it's raided. But then in that case, why bother at all?
Last edited by acid_kewpie; 02-25-2012 at 04:34 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.