lilo 中文man页面

系统
lilo 安装一个你在下一次启动时被激活的引导装入程序它有多项的选择.

NAME

lilo - 安装引导装入程序

总述

主要功能:

” /sbin/lilo” - 安装引导装入程序

辅助用途:

”/sbin/lilo –q” - 查询影射表
”/sbin/lilo –R” - 设置下次启动的默认命令行
”/sbin/lilo –I” - 查询当前内核的路径
”/sbin/lilo {-u|-U}” - 卸载lilo

使用说明

lilo 安装一个你在下一次启动时被激活的引导装入程序它有多项的选择.

-v
增加冗余.给出一个或更多的-v选项使lilo 更详细.
-q
列表当前已被影射的文件. lilo 维护着一个文件,缺省的是 ”/boot/map”, 包含了启动内核的名称和定位(位置)。这个选项列出在其中的名字. ”-m影射文件名 使用指定的影射文件代替默认的.
”-C”配置文件名
lilo 从这个文件中读取有关影射文件的指令, 省缺的是 ”/etc/lilo.conf”. 这个选项能使用一个指定的非默认的配置文件.
”-d延迟
如果你有几个指定的内核, 在启动时按下Shift 键, 引导程序会提供一个你选择使用哪个系统内核去启动的机会. 一个预期的时间后列表的***项将被引导. 这个选项指定一个以十分之一秒为单位的超时延迟.
”-D标记
使用给出标记的内核去代替***个来作为默认的引导.
”-rroot-目录
做任何(修改)之前,改变root的位置到指出的目录. 习惯上用于纠正从软盘启动的安装.
”-t
只进行测试. 不会真正的写入新的启动或影射文件. 和-v一起使用得知.B lilo 大约有什么要做.
”-c ”
影射压缩.将合并读入从临近部分的请求. 加速启动(尤其从软盘).
”-fdisk-tab
指定磁盘参数文件. (省缺的是 /etc/disktab.)
”-iboot-sector
指定一个文件作为boot sector使用.(省缺的是 /boot/boot.b.)
”-l
产生线性sector地址代替sector/head/cylinder 地址.
”-P”{fix|ignore}”
修理(或忽略)被破坏的分区表, 例如, 分区表用线性的和sector/head/cylinder 地址不协调.
”-ssave-file
lilo 覆盖 boot sector, 保存旧的内容在一个文件里, 省缺的是 /boot/boot.NNNN 这个NNNN依赖与设备. 这选项为boot sector 指定一个后选的挽救文件. (或者, 和 -u 一起使用,从哪里恢复boot sector.)
”-S挽救文件
通常地, lilo 不会覆盖已存在的挽救文件. 这个选项就是告诉它可以覆盖(这个文件).
”-udevice-name
卸载 lilo, 通过检查时间标记,拷回一个保存了的boot sector.
”-Udevice-name
同上, 但不检查时间标记.
”-Rcommandline
设定下次启动的命令行.boot loader会删除这行的: 这是个一次性命令.代表性的用在reboot 脚本, 只在调用shutdown -r'之前使用.
”-I标记
启动后可以在环境变量BOOT_IMAGE 找到这个标记. 在标准输出设备上,这个命令列出相应的路径名.
”-V”
列出版本号.

上面的命令行选项相对应于下面在配置文件指出的关键字。

-b bootdev boot=bootdev 
-c compact 
-d dsec delay=dsec 
-D label default=label 
-i bootsector install=bootsector 
-f file disktab=file 
-l linear 
-m mapfile map=mapfile 
-P fix fix-table 
-P ignore ignore-table 
-s file backup=file 
-S file force-backup=file 
-v verbose=level 

”请参阅”

lilo.conf(5).
lilo 分发的非常广泛的文档.  

#p#

NAME

lilo - install boot loader  

SYNOPSIS

Main function:

/sbin/lilo - install boot loader

Auxiliary uses:

/sbin/lilo -q - query map
/sbin/lilo -R - set default command line for next reboot
/sbin/lilo -I - inquire path name of current kernel
/sbin/lilo {-u|-U} - uninstall lilo  

DESCRIPTION

lilo installs a boot loader that will be activated next time you boot. It has lots of options.

-v
Increase verbosity. Giving one or more -v options will make lilo more verbose.
-q
List the currently mapped files. lilo maintains a file, by default /boot/map, containing the name and location of the kernel(s) to boot. This option will list the names therein.
-m map-file
Use specified map file instead of the default.
-C config-file
lilo reads its instructions about what files to map from its config file, by default /etc/lilo.conf. This option can be used to specify a non-default config file.
-d delay
If you have specified several kernels, and press Shift at boot-time, the boot loader will present you with a choice of which system to boot. After a timeout period the first kernel in the list is booted. This option specifies the timeout delay in deciseconds.
-D label
Use the kernel with the given label, instead of the first one in the list, as the default kernel to boot.
-r root-directory
Before doing anything else, do a chroot to the indicated directory. Used for repairing a setup from a boot floppy.
-t
Test only. Do not really write a new boot sector or map file. Use together with -v to find out what lilo is about to do.
-c
Enable map compaction. This will merge read requests from adjacent sectors. Speeds up the booting (especially from floppy).
-f disk-tab
Specify disk geometry parameter file. (The default is /etc/disktab.)
-i boot-sector
Specify a file to be used as the new boot sector. (The default is /boot/boot.b.)
-l
Generate linear sector addresses instead of sector/head/cylinder addresses.
-L
Generate 32-bit Logical Block Addresses instead of C:H:S addresses, allowing access to all partitions on disks greater than 8.4Gb.
-P {fix|ignore}
Fix (or ignore) `corrupt' partition tables, i.e., partition tables with linear and sector/head/cylinder addresses that do not correspond.
-s save-file
When lilo overwrites the boot sector, it preserves the old contents in a file, by default /boot/boot.NNNN where NNNN depends on the device. This option specifies an alternate save file for the boot sector. (Or, together with the -u option, specifies from where to restore the boot sector.)
-S save-file
Normally, lilo will not overwrite an existing save file. This options says that overwriting is allowed.
-u device-name
Uninstall lilo, by copying the saved boot sector back. A time-stamp is checked.
-U device-name
Idem, but do not check the time-stamp.
-R command line
This option sets the default command for the boot loader the next time it executes. The boot loader will then erase this line: this is a once-only command. It is typically used in reboot scripts, just before calling `shutdown -r'.
-I label
The label of the running kernel can be found in the environment variable BOOT_IMAGE after startup. This command will print the corresponding path name on stdout.
-V
Print version number.

The above command line options correspond to the key words in the config file indicated below.

-b bootdev boot=bootdev
 
-c compact
 
-d dsec delay=dsec
 
-D label default=label
 
-i bootsector install=bootsector
 
-f file disktab=file
 
-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 verbose=level
 

SEE ALSO

lilo.conf(5).
The lilo distribution comes with very extensive documentation.  

责任编辑:韩亚珊 来源: CMPP.net
相关推荐

2011-08-25 10:12:44

lilo.conf中文man

2011-08-24 16:48:36

man中文man

2011-08-15 10:21:09

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-11 15:03:21

ACCESS中文man

2011-08-16 10:59:16

pwconv中文man

2011-08-18 19:02:43

environ中文man

2011-08-25 17:43:07

snprintf中文man

2011-08-19 18:30:52

ipc中文man

2011-08-24 15:35:52

hier中文man

2011-08-25 17:18:07

putc中文man

2011-08-15 13:53:19

stat中文man

2011-08-16 10:10:58

setup中文man

2011-08-25 15:24:31

execlp中文man

2011-08-15 18:06:07

restore中文man

2011-08-24 17:26:35

reindex中文man

2011-08-25 16:55:26

gets中文man

2011-08-15 15:45:04

xpdf中文man

2011-08-24 17:06:42

NOTIFY中文man
点赞
收藏

51CTO技术栈公众号