Linux lilo command
Linux Command大全
The Linux lilo command is used to install the core loader and boot management program.
lilo (Linux loader) is a Linux system core loading program that also has the function of managing booting. When the lilo command is executed alone, it will read/etc/The lilo.conf configuration file in the directory, and then install lilo according to its content.
Syntax
lilo [-clqtV][-b<Peripheral Device Code>][-C<Configuration File>][-d<Delay Time>][-D<Identification Label>][-f<Geometric Parameter File>][-i<Boot Sector File>][-I<Identification Label>][-m<Mapping File>][-P<fix/ignore>][-r<Root Directory>][-R<Execution Command>...][-s<Backup File>][-S<Backup File>][-uU<Peripheral Device Code>][-v...]
Parameter Description:
- -b<Peripheral Device Code> Specifies the peripheral device code where lilo is installed.
- -c Uses the compact mapping mode.
- -C<Configuration File> Specifies the configuration file for lilo.
- -d<delay time> Set the boot delay time.
- -D<identifier tag> Specify the operating system to be started by default after booting, or the system core identifier tag.
- -f<geometry parameter file> Specify the disk geometry parameter configuration file.
- -i<boot sector file> Specify the boot sector file to be used, the default is/The boot.b file in the boot directory.
- -I<identifier tag> Show where the system core is stored.
- -l Generate linear track address.
- -m<map file> Specify the map file.
- -P<fix/ignore> Decide whether to fix or ignore the errors in the partition table.
- -q List the mapped system core files.
- -r<root directory> Set the directory to be mounted as the root directory when the system starts up.
- -R<execution command> Set the command to be executed first when the system starts up next time.
- -s<backup file> Specify the backup file.
- -S<backup file> Force to specify the backup file.
- -t Do not execute the command, only list the actions that will actually be executed.
- -u<peripheral device code> Delete lilo.
- -U<peripheral device code> The effect of this parameter is similar to specifying-u"parameter is similar, when not checking the timestamp.
- -v Show the execution process of the command.
- -V Show version information.
Online Examples
Install lilo to the third primary partition of the first SCSI hard disk using3Level 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大全