LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Grub will not install - Wheezy + RAID1- HELP PLEASE!!! (https://www.linuxquestions.org/questions/linux-server-73/grub-will-not-install-wheezy-raid1-help-please-931080/)

debian newbie 02-24-2012 11:19 AM

Grub will not install - Wheezy + RAID1- HELP PLEASE!!!
 
Hi,

I am trying to build a new server using Wheezy. I can get the two- 2tb drives partitioned;

10gb /
10gb /boot
750gb /var
750gb /usr
480gb /home
16gb /swap

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!

I am at my end with this!! Can anyone help me???

Thanx Lisa

acid_kewpie 02-25-2012 04:33 AM

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?


All times are GMT -5. The time now is 07:10 AM.