Can grub be installed on a md array?

Mark Haney mhaney at ercbroadband.org
Wed Oct 15 17:25:38 UTC 2008


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.



-- 
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support




More information about the ubuntu-users mailing list