Kernel: Versión 2.x.x
/etc/lilo.confPara ello abra una consola e introduzca:
supara hacer login como root. Ahora edite el fichero escribiendo:
pico /etc/lilo.confy añada la línea:
default=windowspara, por ejemplo, iniciar Windows como sistema operativo por defecto.
Un ejemplo del fichero de configuración de lilo:
# LILO configuration file
# Start LILO global Section
# If you want to prevent console users to boot with init=/bin/bash,
# restrict usage of boot params by setting a passwd and using the option
# restricted.
#password=bootpwd
#restricted
boot=/dev/hda
#compact # faster, but won't work on all systems.
vga = normal # force sane state
menu-scheme=Wg:kw:Wg:Wg
read-only
prompt
timeout=100
default=windows
# End LILO global Section
#
image = /boot/vmlinuz
root = /dev/hda6
label = linux
initrd = /boot/initrd
#
other = /dev/hda1
label = windows
La entrada tiene que coincidir con el nombre de label (etiqueta).
Una vez haya hecho los cambios pertinentes, guarde el fichero e instale LILO de nuevo con los cambios efectuados.
Puede hacerlo con YaST:
System Administration Kernel and boot configuration LILO configurationo bien ejecutando como root el comando:
liloen una consola.