Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux lilo command

Linux lilo command

Linux Command Reference Linux Command Reference

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

lilo (linux loader) is a kernel loader for Linux systems that also has boot management functions. When run on its own, the lilo command reads the lilo.conf configuration file in the /etc/ directory and installs lilo according to its contents.

Syntax

lilo [-clqtV][-b<外围设备代号>][-C<配置文件>][-d<延迟时间>][-D<识别标签>][-f<几何参数文件>][-i<开机磁区文件>][-I<识别标签>][-m<映射文件>][-P][-r<根目录>][-R<执行指令>...][-s<备份文件>][-S<备份文件>][-uU<外围设备代号>][-v...]

Parameter Description:

Example

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

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

Specify the configuration file and backup file for installing lilo.

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

Linux Command Reference Linux Command Reference