Latest web development tutorials

Linux lilo command

Linux command Daquan Linux command Daquan

Linux lilo command to install the kernel is loaded, the boot manager.

lilo (linux loader) is a Linux system core loader, along with the power-management features. Lilo command execution alone, it reads lilo.conf configuration file / etc / directory, and then install lilo based on its content.

grammar

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

Parameter Description:

  • -b <Peripherals code> specifies the installation of lilo at the peripheral code.
  • -c Use compact mapping mode.
  • -C <Configuration file> Specifies the lilo configuration file.
  • -d <delay> Set the boot delay time.
  • -D <Identification tag> Specifies the default boot operating system boot, or the system core identification tag.
  • Geometric parameters -f <geometry file> Specifies the disk configuration file.
  • -i <boot sector file> Specifies want to use boot sector file, the default is the / boot directory of boot.b file.
  • -I <Identification tag> Display System core storage place.
  • -l produce linear magnetic domain address.
  • -m <mapping file> specify the mapping file.
  • -P <Fix / ignore> decide to ignore the errors or to repair the partition table.
  • -q Lists the mapping system core files.
  • -r <Root> To set the system startup mounted as the root directory.
  • -R <Instruction> setting next time you start the system, the instruction is executed first.
  • -s <backup file> Specify the backup file.
  • -S <Backup file> enforce the backup file.
  • -t instruction is not executed, the actual implementation of the action will be listed only carried out.
  • -u <color peripheral device code> Delete lilo.
  • -U <Peripherals code> effect of this parameter and specify "-u" similar parameters, while not check the time stamp.
  • -v display process execution instruction.
  • -V Display version information.

Examples

Install lilo to the first third main SCSI hard disk partition, using three models.

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

Specify the installation lilo configuration files and backup files.

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

Linux command Daquan Linux command Daquan