📄 lilo.conf.5
字号:
and \fIboot-menu.b\fP, with.I boot.ba symbolic link to the latter. Both boot loaders allow the entryof kernel command line options in exactly the same fashion. Both also have fullserial line support (see \fBserial=\fP below), although no menucapabilities are availableon the serial terminal. The former isavailable for strict compatibility with previous versions of LILO.If `install' is omitted,.I /boot/boot.bis used as the default.Beginning with version 22, a third user-interface, \fIboot-bmp.b\fP, isavailable. This presents a GUI interface, the background for which isselected with "bitmap=". (Version 22.3): The selection of theuser interface with "install=" is dependent upon the presence of thesubstrings "text", "menu", or "bmp" in the parameter to the "install=". Theboot loaders selected are no longer files, but are contained within theboot-installer binary \fI/sbin/lilo\fP. If "install=" is omitted, thedefault boot loader is "menu", unless "bitmap=" is specified (see above), inwhich case the boot loader "bmp" will be selected..TP.BI "large-memory"(Version 22.3):Normally any initial ramdisk (initrd) loaded with a kernel is loaded ashigh in memory as possible, but never above 15Mb. This is due to a BIOSlimitation on older systems. On newer systems, this option enables usingmemory above 15Mb (up to a kernel imposed limit, around 768Mb) forpassing the initrd to the kernel. The presence of this option merelyindicates that your system does not have the old BIOS limitation.This switch (or its abscence) is not passed to the kernel, and does notin any way affect theamount of physical memory which it will use. (See thekernel documentation for the kernel command line parameter"mem=" for limiting the memory used by the kernel.).TP.BI "lba32"Generate 32-bit Logical Block Addresses instead of cylinder/head/sector addresses. If the BIOS supports packet addressing, then packet calls will beused to access the disk. This allows booting from any partition on diskswith more than 1024 cylinders.If the BIOS does not support packet addressing, then 'lba32' addresses aretranslated to cylinder/head/sector ('geometric'), just as for 'linear'.All floppy diskreferences are retained in C:H:S form. Use of 'lba32' is recommended onall post-1998 systems. Beginning with LILO version 22, 'lba32' is thedefault disk addressing scheme..TP.BI "linear"Generate 24-bit linear sector addresses instead of cylinder/head/sector (geometric) addresses. Linear addresses are translated at run time togeometric addresses, and are limited to cylinders <= 1023. When using`linear' with large disks,.I /sbin/lilomay generate references to inaccessible disk cylinders. 'lba32' avoidsmany of these pitfalls with its use of packet addressing, but requires arecent BIOS (post-1998)..TP.BI "lock"Enables automatic recording of boot command lines as the defaults for the following boots. This way, lilo "locks" on a choice until it is manually overridden..TP.BI "mandatory"The per-image password option `mandatory' (see below) applies to all images..TP.BI "map=" <map-file>Specifies the location of the map file. If `map' is omitted, the file.I /boot/mapis used.On machines with a pre-1998 BIOS, the EDD bios extensions which are requiredto support "lba32" disk sector addressing may not be present. In this case,the boot-loader will fall back automatically to "geometric" addressing; thisfall back situation, or the specific use of "geometric" or "linear"addressing, will require the map file to be located within the first 1024cylinders of the disk drive. This BIOS limitation is not present onpost-1998 systems, most of which support the newer EDD disk BIOS calls..TP.BI "menu-title=" <title-string>Specifies the title line (up to 37 characters) for the boot menu. Thistitle replaces the default "LILO Boot Menu" title string. If.I boot-menu.bis not installed as the boot loader (see.I "install="option), then this line has no effect..TP.BI "menu-scheme=" <color-scheme>The default color scheme of the boot menu may be overridden on VGA displaysusing this option. (The color scheme of MDA displays is fixed.)The general.I color-schemestring is of the form:.sp.nf <text>:<highlight>:<border>:<title>.fi.spwhere each entry is two characters which specify aforeground color and a background color. Only the first entry isrequired. The default highlight is the reverse of the text color; and thedefault border and title colors are the text color.Colors are specified using the characters \fBkbgcrmyw\fP, for blac\fBK\fP,\fBB\fPlue, \fBG\fPreen, \fBC\fPyan, \fBR\fPed,\fBM\fPagenta, \fBY\fPellow, and \fBW\fPhite: upper case forintense (fg only), lower case for dim.Legal color-scheme strings would be.sp.nf menu-scheme=Wm intense white on magenta menu-scheme=wr:bw:wr:Yr the LILO default menu-scheme=Yk:kw bright yellow on black.fi.spIf.I "boot-menu.b"is not installed as the boot loader, then this line has no effect..TP.BI "message=" <message-file>specifies a file containing a message that is displayed beforethe boot prompt. No message is displayed while waiting for a shifting key after printing "LILO ". In the message, the FFcharacter ([Ctrl L]) clears the local screen. This is undesirable whenthe \fIboot-menu.b\fP boot loader is installed. The size of the message file is limited to 65535 bytes. The map file has to be rebuilt if the message file is changed or moved. 'message=' and 'bitmap=' are mutuallyexclusive..TP.BI "nowarn"Disables warnings about possible future dangers..TP.BI "optional"The per-image option `optional' (see below) applies to all images..TP.BI "password=" <password>The per-image option `password=...' (see below) applies to all images. Thisoption may prevent unattended booting, if the default image is `password='protected at the default level `mandatory', which is a level higher than`restricted'..TP.BI "prompt"Automatic booting (see `delay' above) will not take place unless a locked orpre-stored ("lilo -R") command line is present. Instead, the bootloader will issue the .I boot:prompt and wait for user input before proceeding (see.I timeoutbelow).Unattended default image reboots are impossible if `prompt' is setand `timeout' is not, or the default image is password protected at a higherlevel than `restricted'..TP.BI "raid-extra-boot=" <option>This option only has meaning for RAID1 installations.The <option> may be specified as \fInone\fP, \fIauto\fP, \fImbr-only\fP,or a comma-separated list of devices; e.g., "/dev/hda,/dev/hdc6". Startingwith LILO version 22.0, the boot record is normally written to the firstsector of the RAID1 device. On PARALLEL raid sets, no other boot recordsare needed. Thedefault action is \fIauto\fP, meaning, automatically generate auxilary bootrecords as needed on SKEWED raid sets. \fInone\fP meanssuppress generation of all auxiliary boot records. \fImbr-only\fP suppresses generation of boot records on the raid device,and forces compatibility with versions of LILO earlier than version 22.0by writing boot records to all Master Boot Records (MBRs) of all disks inthe raid set.Use of an explicit list of devices, forces writing of auxiliary boot recordsonly on those devices enumerated, in addition to the boot record on the RAID1device. Since the version 22 RAID1 codes will never automatically write a bootrecord on the MBR of device 0x80, if such a boot record is desired, this isthe way to have it written..TP.BI "restricted"The per-image password option `restricted' (see below) applies to all images..TP.BI "serial=" <parameters>enables control from a serial line. The specified serial port isinitialized and the boot loader is accepting input from it and from the PC's keyboard. Sending a break on the serial line corresponds to pressing a shift key on the console in order to get the boot loader'sattention. All boot images should be password-protected if the serial access is less secure than access to the console, e.g. if the line is connected to a modem. The parameter string has the following syntax:.sp.nf <port>[,<bps>[<parity>[<bits>]]].fi.sp<port>: the number of the serial port, zero-based. 0 corresponds toCOM1 alias /dev/ttyS0, etc. All four ports can be used (if present)..sp<bps>: the baud rate of the serial port. The following baud rates are supported: 110, 150, 300, 600, 1200, 2400(default), 4800, 9600, plus the extended rates 19200, 38400, and 57600(56000). 115200 is allowed, but maynot work with all COMx port hardware..sp<parity>: the parity used on the serial line. The boot loader ignores input parity and strips the 8th bit. The following (upper or lower case) characters are used to describe the parity: "n" for no parity, "e" for even parity and "o" for odd parity..sp<bits>: the number of bits in a character. Only 7 and 8 bits are supported. Default is 8 if parity is "none", 7 if parity is "even" or "odd". .spIf `serial' is set, the value of `delay' is automatically raised to 20..spExample: "serial=0,2400n8" initializes COM1 with the default parameters..TP.BI "single-key"This option specifies that boot images or 'other's are to be selected andlaunched with a single keystroke. Selection is based upon the firstcharacter of each name, which must be unique. This option should not beused with the menu or bitmap user interface ("install=")..TP.BI "suppress-boot-time-BIOS-data"This global option suppresses the boot-time real mode collection of BIOS dataon systems which hang on certain BIOS calls. It is equivalent to using theboot-time switch 'nobd'..spThis option defeats the disk volume recognition and BIOS device codedetection features of LILO on systems with more than one disk. Thus the useof this option will produce a strong cautionary message,which cannot be suppressed..TP.BI "timeout=" <tsecs>sets a timeout (in tenths of a second) for keyboard input at the .I boot:prompt. "timeout" only has meaning if "prompt" is mentioned.If no key is pressed for the specified time, the default image is automatically booted. The default timeout is infinite..TP.BI "verbose=" <number>Turns on lots of progress reporting. Higher numbers give more verboseoutput. If \-v is additionally specified on the lilo command line,the level is increased accordingly. The maximum verbosity level is 5..TP.BI "vmdefault=" <name>The named boot image is used as the default boot if booting in "virtual"mode with a virtual monitor, such as VMware(tm). Thus a real mode boot anda virtual mode boot can be made to have different default boot images..br.LPAdditionally, the kernel configuration parameters.BR append ", " ramdisk ", " read-only ", " read-write ", " rootand.B vgacan be set in the global options section. They are used as defaultsif they aren't specified in the configuration sections of therespective kernel images..SH "PER-IMAGE SECTION"A per-image section starts with either a line.sp.nf \fBimage=\fP\fI<pathname>\fP.fi.spto indicate a file or device containing the boot image of a Linuxkernel, or a line.sp.nf
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -