LILO.CONF
name
LILO.CONF-LILO configuration file.
description
This document, the default location is ETC / LILO.CONF, the installer of the boot loader
LILO is read.
Its performance may be as follows:
Boot = / dev / hda
DELAY = 40
Compact
VGA = Normal
Root = / dev / hda1
Read-only
Image = / zimage-2.5.99
Label = TRY
Image = / zimage-1.0.9
Label = 1.0.9
Image = / TAMU / VMLINUZ
Label = TAMU
Root = / dev / hdba
VGA = Ask
Other = / dev / hda3
Label = DOS
Table = / dev / hda
This profile specifies that LILO uses the main boot record on the / dev / hda path. (About
See the LILO document with different ways of lilo and their interaction with other operating systems.
User.tex)
When startup, the boot loader will wait for 4 seconds (40 deciseconds) to let you press
Shift key. If not pressed, the first core image mentioned above (Zimage-1.5.99, possibly
You are installed 5 minutes) will be started. If you press the SHIFT key, the boot loader will
Ask you to start which image. In case you forgot this choice to start which image, press [TAB] (or
[? ] If you have a US standard keyboard), you will have a menu to choose from. You are here
You can choose or launch this new core, or start a reliable kernel, or one
The kernel on the other root file system (when you do what is stupid on your own root file system
Things) or start a different operating system. The images mentioned in lilo.conf can be more
16.
From the above, a configuration file begins with a series of global options (such as the beginning of the example.
6 lines), the description of the different image options. The options in the image description will overwrite global selection
The content set.
Global Options section
It has many possible keywords. The following description is almost the use of User.Tex (only a little
Abbreviation
Backup = backup-file
Copy the original boot sector to the backup file (which may be a device, such as / dev / null)
Not /boot/boot.nnnn
Boot = boot-device
Set the name of the device containing the boot sector (such as a partition of a hard disk). If not specified
The keyword boot sector will be read from the device installed as the root file system (or possibly
Will also write).
Change-Rules
Defines the change in the number of partition types when defining boots ('hIDING'). Please refer to the details
"Partition Type Change Rules" section in User.Tex.
Compact
Attempts to combine multiple read requests of adjacent sectors into one read request. This is greatly
Reduce read time and make the system description (MAP) smaller.
In particular, the 'Compact' option is used in particular when reading from the floppy drive.
Default = Name
Use specially specified images as the default startup image. If the 'defaul' option is not set,
The image that is the earliest appearing in this configuration file will be used as the startup image.
DELAY = Tsecs
Specifies how many 10 points should be waiting before starting the first image
One second. This is useful for starting the system from the hard disk immediately after the keyboard is available. If not
Set the 'Delay' option or set to 0, the boot loader will not wait.
Disc = Device-Name
Define non-standard parameters for a particular hard disk. See the hard disk partition junction in User.Text specific details
Structure chapter. It is especially useful for definition 'bios =' parameters. If your hard drive BIOS data
Is 0x80, 0x81 (hexadecimal), etc., will not be able to judge which Linux disk and which
A BIOS disk corresponds (because this is determined to set the BIOS setting and the type of BIOS).
Therefore, if you use a non-general installation, then you need to explain Linux disks and BIOS.
The correspondence between the disks. such as:
Desk = / dev / sda
BIOS = 0x80
Disk = / dev / hda
BIOS = 0x81
It will show that your SCSI disk is the first BIOS disk, and your (main hard disk) IDE is the first
Two BIOS dishes.
Disktab = disktab-file
Specify the name of the disk parameter table. Disk Description (MAP) if the "DiskTab" option is not specified
The loader will look for / etc / disktab files. Does not advocate the DiskTab options.
FIX-TABLE
This option allows LILO to adjust the 3D address on the partition table. Each partition table entry
3D address (sector / magnetic head / cylinder and line) containing the first and last sector of the partition
Sex address. If a partition is not positioned with a track number, and some other fierce systems (such as
PC / MS-DOS or OS / 2) is using the same disk, they may result in 3D addresses
change. LILO can save its launch sector only when the two address types of the partition can be consistent. Such as
If you set the 'Fix-Table' option, LILO can re-adjust the error 3D address.
WARNING: This does not guarantee that other operations will not try to reset the address. also possible
This change has other unpredictable side effects. The correct modification is used to use tracks
Positioning the partitioning program to re-pair the disk drive partition. And, for some disks
For example, a large EIDE disk that can be converted), in some cases, will not
Avoiding the phenomenon of conflict between partition table entrances.
Force-backup = backup-file
Similar to 'backup', but if an old backup file exists, it will overwrite it.
Ignore-Table
Ignore-Table
Inform Lilo Ignore the void partition table.
INSTALL = BOOT-FILE
Install the specified file as a new boot sector. If the 'install' option is not set,
Boot / boot.b is used as the default default value.
Linear
Generate a linear sector address rather than a "sector / head / cylindrical" address. Linear address does not depend on disk
The partition structure is translated during runtime. Note If the 'linear' option is made, you may start
The disc cannot be transplanted, because the BIOS is used to determine the service of the disk partition structure to the floppy disk.
Unstable. When using the 'linear' option for the big hard drive, due to the 3D sector address is startup
Unknown, / Sbin / LILO may generate a reference to the unacceptable disk area.
LOCK
Allow automatic recording of the boot command line as the default default value that is started later. In this way, in hand
The LILO will lock one option before the elimination.
Map = Map-file
Map = Map-file
Positioning Disk Description (MAP) file. If the 'Map' option is not specified, the / boot / map file will be used.
Message = message-file
Specifies a file that contains information displayed before the startup prompt. After displaying 'lilo'
Waiting for the button to display no information. In the information, use FF characters ([CTRL L])
Clear the local display. The size of the information file is limited to 65535 bytes. If the information file is
Changes or cancels must rebuild the Disk Description (MAP) file.
NOWARN
A warning that may be harmful will be invalidated.
Optional
Apply a single image option 'Optional' (see) Applying to all images.
Password = password
Apply a single image option 'password = ...' (see) Applying to all images.
Prompt forces
Do not wait any button events to enter the startup prompt mode directly. If set 'PROMP'
Options without setting the 'Timeout' option, you cannot start itself.
Restricted
Apply a single image option 'restricted' (see) Applying to all images.
Serial = parameters
Allows control from the serial port. The specified serial port will be initialized, and the boot loader is
Enter the input from the serial port and PC keyboard. Send a pause instruction and press on the serial line
The effect of the Shift key on the lower keyboard is consistent, which will cause attention to the boot loader. Such as
If the skewer is more unsafe than the keyboard input, if the line is connected to the Modem, all startup images
It should be deserved to protect. The format of the parameter string is as follows:
[, []]]
: The number of skewers, the minimum is 0.
0 corresponds to COM1 and designated as / dev / ttys0, and so on.
All four ports are available (if you can use).
: The bit rate of the serial port.
The following bit rate can be supported: 110, 150, 300, 600, 1200, 2400, 4800
And 9600 bps.
The default is 2400 bps.
The parity test is used on the serial port. Guide the loader ignores the odd effect of the input
The inspection level and remove the eighth place. The following characters can be used to describe parity:
n means that the same represents the same, O represents the same number.
: The number of bits in a character. Only 7 or 8 bits are supported.
If the parity test is 'none', the default is 8,
If the parity test is 'Even' or 'odd', the default is 7.
If the 'serial' option is set, 'Delay' is automatically up to 20.
For example: serial = 0, 2400n8 will use the default value parameter to install COM1.
Timeout = Tsecs
Set a timeout option (in 10, one second) for the keyboard input. If at the specified time
The first image will be started automatically during the button. Similarly, if the user pauses too long
The code input will be canceled. The default timeout value is unlimited.
Verbose = Level
Used to open a lot of process report. The greater the number, the more the lengthy output given. If in LILO
Attached parameter -V in the command line, the lengthy standard is also increased accordingly. The maximum length of length is 5.
In addition, both kernel configuration parameters append, ramdisk, read-only, read-write, root, and VGA can be set in global options. If you don't have it in the configuration bar of the corresponding core image
Specify, this set value will be used to do the default default.
Single image part
A single image or a line
Image = pathname
Start (to prompt file or device with a LINUX kernel), or take a line
Other = Pathname
Started to start other independent systems.
In the previous example, if a map row is specified from a device, it must be used.
Range = start-end
Tip the sector range described.
In the latter case, there are three options to choose from.
Laoder = chain-loader
This parameter specifies the chain loader that will be used. Use the default default /boot/chain.b.
If it is from other devices instead of the first hard disk or floppy disk, you must specify a chain loader.
Table = Device
It specifies devices containing partition tables. If this parameter is not specified, the boot loader will not divide
District information is transmitted to the launched fierce system. (Some modifications have other ways to do
From which partition is started. For example, MS-DOS saves its boot disk partition structure or partition to
In the guide sector). Be careful if a partition table that has been positioned and references the 'Table' option is
Modifications must re-run the / sbin / lilo file program. s
Unsafe
Do not access the start sector when creating a disk description (MAP). This will cancel some correctness check
Check, including partition table checks. If the start sector is a floppy drive in a fixed format
On, use the UNSAFE option when running the loader, you do not need to insert readable magnetic
Discharge to the drive.
The following options can be used in these two cases.
Label = name
The boot loader uses the main file name (not including the path) of each image description (not included).
Different names can be used by setting variable 'label'.
Alias = Name
Use the second name to the same directory by specifying an individual name.
Lock (see before)
Optional
Deleting an image that is not available when the disk descriptor is created. This is not always available in indicating testing.
The kernel is useful.
Password = password
Use a password to protect the image.
Restricted
If each parameter is specified at the command line, you only enter your password only in the start image.
Nuclear option section
If the started image is a Linux kernel, the command line parameter can be transferred to the kernel.
Append = string
Add the specified options to the parameter line transmitted to the kernel. Its typical application cannot be completely
Self-test or to thoroughly check the parameters of its harmful hard drive. such as:
Append = "HD = 64, 32, 202"
Literal = String
Similar to 'append', but cancel all other options (such as root drive settings). Due to
The 'Literal' option can delete an important option in unintentional, so the option cannot be set in global options.
in.
Ramdisk = Size
This option specifies the size of the optional RAM disk. 0 indicates that any RAM disk should not be created. Not specified
This parameter uses the RAM disk size created in the root file system.
Read-only
This parameter specifies that the root file system should be loaded in a read-only form. Typically, the start of the system
The sequence will be reloaded in a readable and writable method later.
Read-Write
It specifies that the root file system should be loaded in a readable write.
Root = root-device
This parameter specifies the device that should be loaded as a root file system. If currently uses the specified name, the root drive is located on the device currently in the root file system. If the root device is used by the -R parameter
Modify, use the corresponding device. If the 'root' parameter is not specified, use the core image.
Root device settings (this setting is compiled in the Makefile file in the kernel in the kernel, using root_dev
The variable is set, and the RDEV (8) program can be modified later)
VGA = MODE
It specifies the VGA text mode that should be selected at startup. The following values can be identified (ignore the size
write):
Normal: Select a normal 80x25 text mode.
EXTENT (or ext): Select 80x50 text mode.
Ask: Stop and require user input (at startup)
: Use the corresponding text mode. Use the VGA = ASK option in startup or press
[ENTER] can get a list of available modes.
If this parameter is not specified, the VGA text environment obtained in the core image is used. (This setting is
When the bundled core is set in the Makefile file in the kernel, it can be set by SVGA_MODE variable.
Modify with RDEV (8) program)