C.7. 记录 LILO 配置

记录以下当前值:append=, boot=linear/etc/lilo.conf.

示例 C-2. 显示 LILO 配置

bash# fgrep append= /etc/lilo.conf
append="console=tty0 console=ttyS0,9600n8"
bash# fgrep boot= /etc/lilo.conf
boot=/dev/hda
bash# fgrep linear /etc/lilo.conf
bash#

如果boot=参数指向硬盘,那么 LILO 就安装在主引导记录中,也就是 MBR。 它也可以指向一个分区。

如果linear参数存在,那么从其启动的硬盘使用线性块寻址,或者 LBA