[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Howto install sarge to boot on lvm on raid5 ???



On Thu, May 12, 2005 at 12:56:15AM -0500, helices wrote:
> I downloaded sarge-i386-1.iso on 2 May 2005.  I was happy to find
> installation options for BOTH RAID5 and LVM, right there in the disk
> partitioning menus.
> 
> They weren't totally intuitive to me; but, I managed to configure LVM on
> RAID5 without any errors.
> 
> Then, I came to the boot loader step.  It did NOT offer grub; rather, it
> offered to configure LILO.  Here is my problem:
> 
>     Where should LILO install the boot block?
> 
> The first two options offered /dev/md0 -- neither of which are accepted
> by this process.  The third option (advanced) appears to allow me to
> decide; but, I do NOT know where to put this.
> 
> My research indicates a lot of changes, in this regard, since Woody;
> especially in the more recent 2.6.x kernels.  I have found several
> HOWTO's based on Woody, and favoring Raid0/1; and most of those were
> written for Woody and 2.4.x kernels.
> 
> Where is there a HOWTO for LVM on RAID that focuses on Sarge?
> 
> Where is there a HOWTO for LVM on RAID that focuses on Raid5?
> 
> How can this be done at initial install; rather than build on one disk,
> then build the Raid5 post-install?
> 
> Which is better as boot loader in this scenario, Lilo or Grub?
> 
> Is it better to leave a partition outside of the LVM?  Which partition?
> Root (/)?  /boot?
> 
> Can this be done with everything on the Raid5?
> 
> Can this be done with everything on the LVM?
> 
> What resources are available to access such a configured system down the
> road in the event of failure?  Will Knoppix be able to understand this
> configuration?
> 
> What do you think?

Hi,

from what I know you can't boot from raid5 since lilo nor grub were
capable of that last time I installed boot from raid.

A solution is to make a raid 1 /boot and boot from that. After that
the initrd can detect the raid-5 volume and can use it as a 
rootfilesystem.

As for bootmanagers, grub is easier to work with but on some 
quirky setups lilo might be your only choice.

However, Sarge having a
/boot raid 1
/ raid 5 setup 
often doesn't require you to do anything outside the installer
menu to work. 

Having an lvm on the root filesystem shouldn't make a difference, but
I suggest keeping /boot as simple as possible ( with the possible
exception of adding raid 1)

 	hope all goes well,
	Andreas



Reply to: