Can grub be installed on a md array?

Derek Broughton news at pointerstop.ca
Thu Oct 16 16:05:15 UTC 2008


Mark Haney wrote:

> John Hubbard wrote:
>> I am trying to set up my system (8.04 server) with software raid.  I got
>> most of the way through the install and then it failed to install grub.
>> I tried installing lilo and that failed as well.  I feel like the
>> problem is that my /boot partition is part of a 4 disk raid 5 array.  Is
>> it possible to install your boot loader onto a raid array?  When setting
>> up a partition on a raid array, there is no option to make the partition
>> bootable.  I guess this makes sense but the question is how do I get
>> around this?  Does the logical partition on each of the disks that makes
>> up the /boot raid need to be made bootable?  Does just one of those
>> partitions need to be made bootable?
>> 
> 
> 
> It /can/ be done, but it is NOT recommended.  If a drive fails, it might
> make the system unbootable.
> 
> My personal recommendation for this is to have a boot drive mirrored,
> then RAID the data drives.  It is NEVER a good idea to make the boot
> drive part of the RAID array.

You can, of course, put /boot on its own partition, and it shouldn't even
need to be mirrored, but I don't know if that provides enough, or if
having / on raid is also problematic.
-- 
derek





More information about the ubuntu-users mailing list