Changing the Boot Sequence

Support knowledgebase (lilo_os_booten)
Applies to

SuSE Linux: Version 7.3
Kernel: Version 2.x.x

Situation:

You want Windows to appear at the first place in the Lilo menu so that Windows is booted as the default option.

Procedure:

In order to place Windows or any other operating system on the first place, please edit the file:


	 /etc/lilo.conf

This can be done by opening a console and entering:


	su

to login as root. Edit now the file by entering:


	pico /etc/lilo.conf

and inserting the line:


	default=windows

to start e.g. Windows as default operating system.

The following output sample will help to clarify this:

	# 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

The entry must match the label name.

Once you have entered the data, save the file and install Lilo anew with the recent changes.

You can perform this operation with YaST:

	System Administration
	Kernel and boot configuration
	LILO configuration

or alternatvely by invoking as root:


	lilo

in a console.
See also:
o Booting an Installed System
o Create your own graphical boot menu (SuSE Linux 7.2)
o Meanings of LILO-Bootentries
o Linux on 1024 cylinder

Keywords: LILO, WINDOWS, BOOT, OS, FIRST, DEFAULT

Categories: Booting

SDB-lilo_os_booten, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 19. Feb 2002
SuSE Linux AG - Last generated: 16. Mai 2002 by ip (sdb_gen 1.40.0)