'\"t .\" @(#)lilo.8 1.0 950728 aeb .\" This page is based on the lilo docs, which carry the following .\" COPYING condition: .\" .\" LILO program code, documentation and auxiliary programs are .\" Copyright 1992-1994 Werner Almesberger. .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms of parts of or the .\" whole original or derived work are permitted provided that the .\" original work is properly attributed to the author. The name of the .\" author may not be used to endorse or promote products derived from .\" this software without specific prior written permission. This work .\" is provided "as is" and without any express or implied warranties. .\" .\" Original version, Andries Brouwer (aeb@cwi.nl), 950728 .\" Added t directive, as Daniel Quinlan asked, 950824 .\" .TH LILO 8 "28 July 1995" .SH NAME lilo \- 安裝引導裝入程式 .SH 總述 主要功能: .LP .B ” /sbin/lilo” \- 安裝引導裝入程式 .LP 輔助用途: .LP .B ”/sbin/lilo –q” \- 查詢影射表 .br .B ”/sbin/lilo –R” \- 設定下次啟動的預設命令列 .br .B ”/sbin/lilo –I” \- 查詢當前核心的路徑 .br .B ”/sbin/lilo {-u|-U}” \- 解除安裝lilo .SH 使用說明 .LP lilo 安裝一個你在下一次啟動時被啟用的引導裝入程式 它有多項的選擇. .LP .TP .B \-\^v 增加冗餘.給出一個或更多的-v選項 使lilo 更詳細. .TP .B \-\^q 列表當前已被影射的檔案. .B lilo 維護著一個檔案,預設的是 .IR ”/boot/map”, 包含了啟動核心的名稱和定位(位置)。 這個選項列出在其中的名字. .BI ”\-\^m “ 影射檔名 使用指定的影射檔案代替預設的. .TP .BI ”\-\^C” 配置檔名 .B lilo 從這個檔案中讀取有關影射檔案的指令, 省缺的是 .IR ”/etc/lilo.conf”. 這個選項能使用一個指定的非預設的配置檔案. .TP .BI ”\-\^d “ 延遲 如果你有幾個指定的核心, 在啟動時按下Shift 鍵, 載入程式會提供一個你選 擇使用哪個系統核心去啟動的機會. 一個預期的時間後列表的第一項將被引導. 這個選項指定一個以十分之一秒為單位的超時延遲. .TP .BI ”\-\^D ” 標記 使用給出標記的核心去代替第一個來作為預設的引導. .TP .BI ”\-\^r ” root-目錄 做任何(修改)之前,改變root的位置到指出的目錄. 習慣上用於糾正從軟盤啟動的安裝. .TP .BI ”\-\^t ” 只進行測試. 不會真正的寫入新的啟動或影射檔案. 和\fB-v\fP一起使用得知.B lilo 大約有什麼要做. .TP .B ”\-\^c ” 影射壓縮.將合併讀入從臨近部分的請求. 加速啟動(尤其從軟盤). .TP .BI ”\-\^f ” disk-tab 指定磁碟引數檔案. (省缺的是 .IR /etc/disktab.) .TP .BI ”\-\^i ” boot-sector 指定一個檔案作為boot sector使用.(省缺的是 .IR /boot/boot.b.) .TP .BI ”\-\^l ” 產生線性sector地址代替sector/head/cylinder 地址. .TP .BI ”\-\^P ” ”{fix|ignore}” 修理(或忽略)被破壞的分割槽表, 例如, 分割槽表用線性的和sector/head/cylinder 地址不協調. .TP .BI ”\-\^s ” save-file 當 .B lilo 覆蓋 boot sector, 儲存舊的內容在一個檔案裡, 省缺的是 .I /boot/boot.NNNN 這個NNNN依賴與裝置. 這選項為boot sector 指定一個後選的挽救檔案. (或者, 和 \fB-u\fP 一起使用,從哪裡恢復boot sector.) .TP .BI ”\-\^S ” 挽救檔案 通常地, .B lilo 不會覆蓋已存在的挽救檔案. 這個選項就是告訴它可以覆蓋(這個檔案). .TP .BI ”\-\^u ” device-name 解除安裝 .BR lilo, 透過檢查時間標記,拷回一個儲存了的boot sector. .TP .BI ”\-\^U ” device-name 同上, 但不檢查時間標記. .TP .BI ”\-\^R ” command line 設定下次啟動的命令列.boot loader會刪除這行的: 這是個一次性命令.代表性的用在reboot 指令碼, 只在呼叫shutdown -r'之前使 用. .TP .BI ”\-\^I ” 標記 啟動後可以在環境變數BOOT_IMAGE 找到這個標記. 在標準輸出裝置上,這個命令列出相應的路徑名. .TP .B ”\-\^V” 列出版本號. .LP 上面的命令列選項相對應於下面在配置檔案指出的關鍵字。 .IP .nf 1.1 -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 .fi .SH ”請參閱” lilo.conf(5). .br lilo 分發的非常廣泛的文件. .SH ”作者” Werner Almesberger (almesber@bernina.ethz.ch). .br .SH ”[中文版維護人]” .B Scorpio .SH ”[中文版最新更新]” 2000/10/9 .SH "[中國 Linux 論壇 man 手冊頁翻譯計劃]" .BI http://cmpp.linuxforum.net .SH "跋" .br 本頁面中文版由中文 man 手冊頁計劃提供。 .br 中文 man 手冊頁計劃:\fBhttps://github.com/man-pages-zh/manpages-zh\fR