# The &liloconfig; Handbook

## &liloconfig;

Using this module, you can install lilo boot manager, add/remove/change boot password, change time till booting default OS, add/remove/change default OS, add/remove/change OS's, and more!

In order to organize all of these options, this module is divided into three sections: General Options, Operating Systems, and Expert

You can switch between the sections using the tabs at the top of the window.

If you are not currently logged in as a superuser, you will need to click the Administrator Mode Button. You will then be asked for a superuser password. Entering a correct password will allow you to modify the settings of this module.

## General Options

From this page you can add/remove/change boot password, time till booting default OS, and more!

Install boot record to drive/partition:

- Select the drive or partition where you would like to install the Lilo boot loader. Unless you intend to use other boot managers in addition to LILO, this should be the MBR (master boot record) of your boot drive. In this case, you should probably select /dev/hda if your drive is IDE, and /dev/sda if your boot drive is SCSI.

Boot the default kernel/OS after:

- Lilo will wait the specified time before booting default kernel/OS.

Use linear mode

- Linear mode tells the boot loader the location of the kernels in linear addressing rather than sector/head/cylinder. Linear mode is required by some SCSI drives, and shouldn't hurt unless you are planning to create a boot disk to be used with other computers. See lilo man file for more details.

Use compact mode

- The compact mode trys to merge read requests for adjacent sectors in to single read request. This reduces load time and keeps boot map smaller, but will not work on all systems.

Record boot command lines for defaults

- Automatic recording of boot command lines as defaults for following boots. This way, lilo "locks" on a choice until manually overridden.

Restrict parameters

- A password is required only if any parameters changed (i.e. the user can boot linux, but not linux single or linux init=/bin/sh). This sets a default for all Linux kernels you want to boot. If you need a per-kernel setting, go to Operating Systems tab, and select details.

Require password:

- Enter the password for bootup (if any) here. If restricted (above) is checked, the password is required for additional parameters only.

  The password is stored in clear text in /etc/lilo.conf. You'll want to make sure nobody untrusted can read this file. Also, you probably don't want to use your normal/root password here.

Default graphics mode on text console:

- You can select the default graphics mode here. If you intend to use a VGA graphics mode, you must compile the kernel with support for frame buffer devices. The ask setting brings up a prompt at boot time. This sets a default for all Linux kernels you want to boot. If you need a per-kernel setting, go to Operating Systems tab, and select details.

Enter LILO prompt automatically

- If this box is checked, lilo goes to the lilo prompt whether or not a key is pressed. If it is turned off, lilo boots the default operating system unless shift is pushed (in that case, it goes to the lilo prompt).

## Operating Systems

Some of the things that can be done here are: settings like General Options for specific kernels/OSes, set default OS to boot, probe for available kernels, you can also edit root file system, ramdisk settings, extra parameters, etc...

Boot menu listbox

- To the far left is a list of the kernels and operating systems you can currently boot. Choose the one you would like to edit.

Kernel:

- Enter the filename of the kernel you would like to boot. Pushing the Select... will bring up &kde; standard fileselector to help you find the kernel.

Label:

- Enter the label (name) of the kernel you want to boot here.

Root filesystem:

- Enter the root filesystem for the kernel you would like to boot. Pushing the Select... will bring up &kde; standard fileselector to help you find the root filesystem.

  ### Root filesystem

  In this case, the root filesystem means the partition that will be mounted as / at boot time.

Initial ramdisk:

- If you want to use an initial ramdisk (initrd) for this kernel, enter its filename here. Leave this field blank if you do not intend to use an initial ramdisk for this kernel.

Extra parameters:

- Enter an extra parameters you wish to pass kernel. Usually this can be left blank. This can the append option in lilo.conf.

Set Default

- Boot this kernel if the user doesn't make a different choice.

Details

- This brings up a dialog box with further, less commonly used, options.

Probe

- Automaticly generate a (hopefully) reasonable lilo.conf for your system.

Check Configuration

- Run LILO in test mode to see if the configuration is ok.

Add Kernel...

- Add a new Linux kernel to the boot menu.

Add Other OS...

- Add non-Linux OS to boot menu.

Remove Entry

- Remove entry from boot menu.

## Expert

In this page you can edit the /etc/lilo.conf file.

Do not edit this file so unless you know what you are doing!