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

Bug#174348: insufficient choice for boot loader location



Package: install
Version: woody

After the installer has put together a minimal system, there is a stage
where it wants to install a boot loader, in preparation to boot the new
system.  The usual process is to install LILO's boot sector somewhere on
a hard drive.  The installer gives a menu of possible locations for LILO,
but the menu isn't extensive enough.

The machine I've just been installing Debian on has three IDE hard drives,
/dev/hd{a,b,c}, of which only /dev/hdb was initially to be used for the
Debian install.  Installing the base system worked, but the LILO install
menu looked something like:

        /dev/hda        Install LILO in the MBR (use this if unsure).
        /dev/hdb1       Install LILO in the root partition's boot sector.

Apparently someone thinks that the computer has only one MBR, which
was news to me since I had been planning to install LILO in the MBR
on /dev/hdb.  (The BIOS on this machine can be configured to boot from
*any* of the fixed disks, in addition to removable media.)

Now, the MBR of the first disk is a good default location for the boot
loader.  I don't want to change that aspect of the menu.  There are two
things that I think ought to change in the menu.  Firstly, that option
ought to be labelled accurately, as "the MBR of the first disk" rather
than simply "the MBR".

Secondly, there *must* be some way to install LILO in a location other
than the two locations that are (quite reasonably) suggested.  One way
to do this would be to extend the menu with other options, such as "the
MBR of the disk containing the boot partition" (which is what I wanted).
But that would get unwieldy if one tried to cover every possibility;
e.g., I could conceivably have wanted LILO in the MBR on /dev/hdc.
What I suggest instead is an option of "somewhere else (please specify)",
which would then ask for a device name to pass to LILO.

Style gurus may now debate whether the type-in location thing should
actually be the only way to specify where to install LILO.  It could
default to the first disk, with explanatory text describing the reasonable
alternatives.  This would be, I think, stylistically consistent with
most other configuration options in the installer.

A friend of mine suggested that I could have worked around the
excessively restrictive menu by switching to the shell on tty2 and
running LILO manually.  I had indeed discovered the shell, and had a
look around the install environment.  (Thanks, btw, for making the shell
available right at the beginning of installation.  One of my gripes with
Red Hat's installer is that one has to get past a couple of troublesome
configuration screens before the shell is started.)  I didn't consider
running LILO manually because, this being an install process, I had no
expectation that LILO would be run in the normal manner, with the config
file in the normal place, such that I could apply my knowledge of LILO
to modify the configuration.  If this kind of workaround is intended
to be available, it would be nice if the install manual could mention
which parts of the install can sensibly be done manually.

-zefram



Reply to: