Re: Lilo booting
> Is there a way to make like a menu that appears when i start my computer
> that asks me which OS (win95/linux) i would like to go to ?
Yes. You use 2 options in your lilo.conf file to make this happen:
"message" and "timeout". The message option tells LILO to automatically
display a file's contents at boot; the timeout option keeps LILO from
waiting forever for a keyboard response. Here is my lilo.conf and my
message file:
--------------- cut here ------------------------- lilo.conf -------------
## LILO configuration file
boot = /dev/hda # MBR
compact # faster
vga = normal # force sane state
ramdisk = 0 # paranoia setting
prompt # give me a choice
timeout = 100 # 10 seconds
message = /boot/startup-msg # onscreen instructions
#
## Which image boots after timeout?
default = 3
#
## default Debian kernel
image = /vmlinuz-deb
root = /dev/hda1
label = 1
read-only
#
## trimmed down kernel w/CD-ROM
image = /vmlinuz-206
root = /dev/hda1
label = 2
append = "hdc=cdrom"
read-only
## latest stable w/CD-ROM
image = /vmlinuz-229
root = /dev/hda1
label = 3
append = "hdc=cdrom"
read-only
--------------- cut here ------------------------- lilo.conf -------------
--------------- cut here ------------------------- boot screen ----------
[control-L]
Host.Domain.Name boot selection:
1 - Linux 2.0.6, default Debian kernel
2 - Linux 2.0.6, stable (with CD-ROM)
3 - Linux 2.0.29, latest w/CD-ROM
You have 10 seconds to make a choice, after which option #2 will
automatically be chosen.
--------------- cut here ------------------------- boot screen ----------
The ^L forces a screen clear.
--
Carl Privitt / cprivitt@sage.net / 817-778-7722 / SageNet Systems Administrator
Reply to: