Michael Brown <[EMAIL PROTECTED]> writes:

> > >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
> > >$o -> {bootloader}{crushMbr}
> > >which, if set to 1, causes LILO to install onto /dev/hda but if set to 0
> > >causes LILO to "intelligently" decide whether to install onto the MBR or
> > >the partition.
> > >How about the following patch:
> > > <snip>
> > >This adds an extra option
> > >$o -> {bootloader}{preserveMbr}
> > >which, if set to 1, will force LILO to leave the MBR intact.  This
> > >auto-install option must obviously be used with care because if the MBR is
> > >not valid to start with then the resulting system will not boot.

That why crushMbr is used, as avoiding mbr install is not normal and is meaning
a mbr signature is unknown to DrakX, so what are you using to boot linux in such
case, and can you send us the mbr of your disk with :
  dd if=/dev/hda of=/tmp/mbr count=1 bs=512
because actually, it could means we expect linux unable to boot on the system as
DrakX doesn't known anything about the installed mbr.

In case you always use first master IDE drive, you can use
  $o->{bootloader}{boot} = "/dev/hda"
in the auto_inst_cfg file and it will use (always though) /dev/hda1 for
installing lilo.

Of course, it could be nicer to use preserveMbr, we will see for that or find a
way to use Mbr or boot partition.

Fran�ois.

Reply via email to