Easy Tutorial
❮ Linux Comm Poweroff Linux Comm Cfdisk ❯

Linux lilo Command

Linux Command Manual

The Linux lilo command is used to install the kernel loader and boot manager.

lilo (Linux loader) is a Linux system kernel loader that also has boot management capabilities. When executed alone, the lilo command reads the /etc/lilo.conf configuration file and installs lilo based on its contents.

Syntax

lilo [-clqtV][-b&lt;device identifier>][-C&lt;configuration file>][-d&lt;delay time>][-D<label>][-f&lt;geometry file>][-i&lt;boot sector file>][-I<label>][-m&lt;map file>][-P<fix/ignore>][-r&lt;root directory>][-R<command>...][-s&lt;backup file>][-S&lt;backup file>][-uU&lt;device identifier>][-v...]

Parameter Description:

Example

Install lilo on the third primary partition of the first SCSI hard drive, using level 3 mode.

# lilo -b /dev/sda3 -v -v -v

Specify the lilo configuration file and backup file.

# lilo -C /etc/lilo.conf2 -s /boot/boot.Backup

Linux Command Manual

❮ Linux Comm Poweroff Linux Comm Cfdisk ❯