On Tue, 5 Jun 2001, Pixel wrote:
> > Is there any way to tell DrakX's auto-install mode to install LILO onto
> > /dev/hda1 instead of /dev/hda ?  I've looked through the code and the
> > nearest option I can find seems to be
> well, you could use
>       bootloader => { boot => 'hda1' },

Not quite as elegant: using preserveMbr will cause it to automatically
choose the partition containing /boot.  preserveMbr will work even if
there is no hda on the system (e.g. an Abit VP6 using only the HPT370 IDE
channels).

> > -    my ($onmbr, $unsafe) = $lilo->{crushMbr} ? (1, 0) : suggest_onmbr($hds);
> > +    my ($onmbr, $unsafe) = $lilo->{preserveMbr} ? (0, 0) : ( $lilo->{crushMbr} ? 
>(1, 0) : suggest_onmbr($hds) );
> is that really needed?

It's not needed any more than crushMbr is, no.  It's just that at the
moment there is an option to force the use of the MBR (crushMbr) without a
corresponding option to force the non-use of the MBR (preserveMbr).

(To anyone who hasn't been following this: setting crushMbr=0 does not
force the non-use of the MBR, so preserveMbr is not a redundant option).

Forget it if you want; it's just an option that I came across a need for
yesterday (for boring reasons that I won't go in to), and I thought I may
as well contribute the patch that implements it, since it's such a simple
change.

Michael


Reply via email to