Re: LILO (fwd)

Werner Almesberger (almesber@lrc.di.epfl.ch)
Wed, 20 Aug 1997 21:51:18 +0200 (MET DST)


Darin Johnson wrote:
> (I'd also like to see a bootmanager style menu,

For a menu with LILO you need two things:

- the MESSAGE file
- the SINGLE-KEY option

You can easily hack a little script that converts the output of lilo -q
into a nice-looking menu that's written to the messages file. Put that
script instead of /sbin/lilo and let it run the real /sbin/lilo at the
end.

Okay, you still don't get a cursor bar, boot-time configuration editing,
etc.

> ability to automatically set the default to the last thing you booted,

It's there - the LILO configuration and boot command-line option is called
LOCK.

> and stuffing of key strokes;

It's there - the boot command-line option is called "kbd".
Okay, I guess I owe you the whole truth ... from the README:

kbd=<code>,... preloads a sequence of keystrokes in the BIOS keyboard
buffer. The keystrokes have to be entered as 16 bit hexadecimal numbers,
with the upper byte containing the scan code and the lower byte containing
the ASCII code. Note that most programs only use the ASCII code, so the
scan code can frequently be omitted. Scan code tables can be found in many
books on PC hardware. Note that scan codes depend on the keyboard layout.

All ugliness of that interface is the result of careful design :-)

> also, IMHO, linux should do more of the work and the boot loaders less)

I wholeheartedly agree ;-))

- Werner

-- 
  _________________________________________________________________________
 / Werner Almesberger, DI-LRC,EPFL,CH   werner.almesberger@lrc.di.epfl.ch /
/_IN_R_133__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/