⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lilo.8

📁 LINUX lilo-22.7.1 源代码。
💻 8
📖 第 1 页 / 共 2 页
字号:
.I /bootdirectory. It may also need an.IR /etc/lilo.conf " file.".TP.BI "\-\^R " "command line"This option sets the default command for the boot loader the nexttime it executes. The boot loader will then erase this line: thisis a once-only command. It is typically used in reboot scripts,just before calling `shutdown -r'.  Used without any arguments, it willcancel a \fIlock\fP-ed or \fIfallback\fP command line..TP.BI "\-\^s " save-fileWhen.B lilowrites a new boot sector, it preserves the former contents of the sectorin a file, named by default \fI/boot/boot.NNNN\fP,where NNNN is the hexadecimal representation of the major and minordevice numbers of the drive/partition. This option specifies the backupsave file in one of three ways: a save directory (default is '/boot') usingthe default filename 'boot.NNNN' in the specified directory; a pathname templateto which '.NNNN' is appended (default would be '/boot/boot');or the full pathname of the file, which must include the correct '.NNNN'suffix. When used with the\fB-u\fP option, the full file pathname must be specified..TP.BI "\-\^S " save-fileNormally,.B lilowill not overwrite an existing boot sector save file. This options saysthat overwriting is to be forced. As with \fB-s\fP, the specification may be of asave directory, pathname template, or full pathname (which includes the '.NNNN'suffix.).TP.BI "\-\^t "Test only. Do not really write a new boot sector or map file.Use together with \fB-v\fP to find out what.B lilois about to do..TP.BI "\-\^T " optionPrint out system information, some of it extracted from the systembios.  This is more convenient than booting the LILO diagnosticfloppy on problem systems..I optionmay be any one of the following:.IP.nf   help  - print a list of available diagnostics   ChRul - list the partition types subject to           Change-Rules   EBDA  - list Extended BIOS Data Area information   geom=<drive> list drive geometry for bios drive;           e.g., geom=0x80   geom  - list drive geometry for all drives   table=<drive> list the primary partition table;           e.g., table=/dev/sda   video - list graphic modes available to boot           loader.fi.TP.BI "\-\^u " [device-name]Uninstall \fIlilo\fP by copying the saved boot sector back.The '-s' and '-C' switches may be used with this option.The \fIdevice-name\fP is optional.  A time-stamp is checked..TP.BI "\-\^U " [device-name]Idem, but do not check the time-stamp..TP.B "\-\^v"Increase verbosity. Giving one to five \fB-v\fP optionswill make lilo more verbose, or use, \fB-v\fP \fIn\fP (n=1..5) toset verbosity level '\fIn\fP'..TP.B "\-\^V"Print version number..TP.B "\-\^w"Used as \fB-w\fP or \fB-w-\fP, suppress warning messages.Used as \fB-w+\fP, override \fInowarn\fP inthe configuration file, and show warning messages..TP.BI "\-\^x " optionFor RAID installations only.  The option may be any of the keywords.IR none ,.IR auto ,.IR mbr ,.IR mbr-only ,or a comma separated list of additional boot devices (no spaces allowed inthe list)..TP.BI "\-\^X"Reserved for LILO internal use.  May produce differentoutput for different LILO versions. The line beginning "CFLAGS="will contain the compiler options used to generate this version of LILO..TP.B "\-\^z"When used with the -M switch, clears the Volume-ID.  Usually usedin the following sequence to generate a new Volume-ID:.nf     lilo -z -M /dev/hda     lilo -M /dev/hda.fi.br.TP.BI "\-\^Z " optionTells the boot installer whether special precautions need to be takenbecause the BIOS fails to pass the correct device code in DL (-Z0). Or mayspecify that the BIOS always gets DL right (-Z1). Corresponds to, andoverrides, the configuration file option 'bios-passes-dl='..LPThe above command line options correspond to the key wordsin the config file indicated below..IP.TSl l.-b bootdev	boot=bootdev-B file.bmp	bitmap=file.bmp-c	compact-d dsec	delay=dsec-D label	default=label-i boot-loader	install=boot-loader-f file	disktab=file-g	geometric-l	linear-L	lba32-m mapfile	map=mapfile-P fix	fix-table-P ignore	ignore-table-s file	backup=file-S file	force-backup=file-v [N]	verbose=N-w	nowarn-x option	raid-extra-boot=option-Z option	bios-passes-dl=option.TE.SH "BOOT OPTIONS"The options described here may be specified at on the command line when akernel image is booted.  These options are processed by LILO, and areremoved from the command line passed to the kernel, unless otherwise noted..LP.TP.BI lockLocks the command line, as though 'lock' had been specified in 'lilo.conf.'.TP.BI "mem=###[,K,M,G]"Specifies the maximum memory in the system in bytes, kilobytes, megabytes,or gigabytes.This option is not removed from the command line, and is always passed tothe kernel..TP.BI nobdSuppresses the BIOS data check.  This option is reserved for use withnon-IBM-compliant BIOS's which hang with the lines:.sp.nf     Loading...............     BIOS data check .fi.TP.BI "vga=[ASK,EXT,EXTENDED,NORMAL]"Allows overriding the default video mode upon kernel startup..br.SH BOOT ERRORSThe boot process takes place in two stages.  The first stage loader is asingle sector, and is loaded by the BIOS or by the loader in the MBR.  Itloads the multi-sector second stage loader, but is very space limited.  Whenthe first stage loader gets control, it types the letter "L"; when it isready to transfer control to the second stage loader it types the letter"I".  If any error occurs, like a disk read error, it will put out ahexadecimil error code, and then it will re-try the operation.  All hexerror codes are BIOS return values, except for the lilo-generated 40, 99 and 9A.A partial list of error codes follows:.br.IP.TSl l.00  no error01  invalid disk command02  address mark not found03  disk write-protected04  sector not found06  floppy disk removed08  DMA overrun0A  bad sector flag0B  bad track flag20  controller failure40  seek failure (BIOS)40  cylinder>1023 (LILO)99  invalid second stage index sector (LILO)9A  no second stage loader signature (LILO)AA  drive not readyFF  sense operation failed.TE.br.LPError code 40 is generated by the BIOS, or by LILO during the conversion ofa linear (24-bit) disk address to a geometric (C:H:S) address.  On oldersystems which do not support lba32 (32-bit) addressing, this error may alsobe generated.  Errors 99 and 9A usually mean the map file (-m or map=) isnot readable, likely because LILO was not re-run after some system change,or there is a geometry mis-match between what LILO used (lilo -v3 todisplay) and what is actually being used by the BIOS (one of the lilodiagnostic disks, available in the source distribution, may be needed todiagnose this problem).When the second stage loader has received control from the first stage, itprints the letter "L", and when it has initialized itself, includingverifying the "Descriptor Table" - the list of kernels/others to boot - itwill print the letter "O", to form the full word "LILO", in uppercase.All second stage loader error messages are English text, and try topinpoint, more or less successfully, the point of failure..br.SH INCOMPATIBILITIES.B lilois known to have problems with the.I reiserfsintroduced with the 2.2.x kernels, unless the file system ismounted with the 'notail' option.  This incompatibilty has beenresolved with reiserfs 3.6.18 and lilo 21.6..I reiser4introduced with the 2.5.x kernels requires lilo 22.5.2 or later..spBeginning with version 22.0, RAID installations write the boot record tothe RAID partition. Conditional writing of MBRs may occur to aid in makingthe RAID set bootable in a recovery situation, but all default actions maybe overridden. Action similar to previous versions isachieved using the `-x mbr-only' switch..SH BUGSConfiguration file options `backup' and `force-backup'should specify a backup directory or backup file pathname template onall RAID installations. Use of an explicit filename may not allow mulitplebackup files to be created correctly. It is best to use the default mechanism,as it works correctly in all cases..SH "SEE ALSO"fdisk(8), lilo.conf(5), mkrescue(8), mkinitrd(8)..spThe lilo distribution comes with very extensive TeX documentation throughVersion 21.  Text file README's in the source directory provide updates onmore recent topics..SH "AUTHORS"Werner Almesberger <almesber@lrc.epfl.ch> (versions 0 to 21).brJohn Coffman <johninsd@san.rr.com> (21.2 to present date)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -