Linux lilo command details how to use Linux lilo command

Source: Internet
Author: User

Lilo (linux loader) is a Linux system core loader and provides the function of managing boot. Run the lilo command separately. It will read the lilo. conf configuration file in the/etc/directory and install lilo according to its content.

Syntax

Lilo [-clqtV] [-B <peripheral device code>] [-C <Configuration File>] [-d <delay time>] [-D <recognition tag>] [- f <geometric parameter file>]

[-I <boot magnetic zone file>] [-I <identification tag>] [-m <ing 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 ing mode.
  • -C <Configuration File> specifies the lilo configuration file.
  • -D <delay time> sets the boot delay time.
  • -D <identification tag> specifies the OS preset after startup, or the system core identification tag.
  • -F <Ry parameter file> specifies the Ry parameter configuration file of the disk.
  • -I <boot magnetic zone file> specifies the boot magnetic zone file to be used. The default file is the boot. B file in the/boot directory.
  • -I <identification tag> shows the core storage of the system.
  • -L generate linear magnetic zone address.
  • -M <ing File> specifies the ing file.
  • -P <fix/ignore> determines whether to fix or ignore partition table errors.
  • -Q: list the core system files mapped.
  • -R <Root Directory> sets the directory to be mounted to the root directory when the system starts.
  • -R <execution command> sets the command to be executed the next time the system is started.
  • -S <backup file> specifies the backup file.
  • -S <backup file> specifies the backup file forcibly.
  • -T: if no command is executed, only the actions that will be performed are listed.
  • -U <peripheral color device code> delete lilo.
  • -U <peripheral device code> the effect of this parameter is similar to that of the specified "-u" parameter. If the time stamp is not checked.
  • -V shows the command execution process.
  • -V displays the version information.

Instance

Install lilo to the third primary partition of the first SCSI hard disk, in Level 3 mode.

# Lilo-B/dev/sda3-v

Specify the configuration file and backup file for lilo installation.

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.