For faster navigation, this Iframe is preloading the Wikiwand page for LILO.

LILO

維基百科,自由的百科全書

本條目存在以下問題,請協助改善本條目或在討論頁針對議題發表看法。 此條目包含過多行話或專業術語,可能需要簡化或提出進一步解釋。 (2020年12月21日)請在討論頁中發表對於本議題的看法,並移除或解釋本條目中的行話。 此條目也許具備關注度,但需要可靠的來源來加以彰顯。(2020年12月21日)請協助補充可靠來源改善這篇條目。 此條目沒有列出任何參考或來源。 (2020年12月21日)維基百科所有的內容都應該可供查證。請協助補充可靠來源改善這篇條目無法查證的內容可能會因為異議提出而移除。 此條目翻譯品質不佳。 (2020年12月21日)翻譯者可能不熟悉中文或原文語言,也可能使用了機器翻譯,請協助翻譯本條目或重新編寫,並注意避免翻譯腔的問題。明顯拙劣的翻譯請改掛((d|G13))提交刪除。
LILO
Standard LILO menu display.
Standard LILO menu display.
開發者Werner Almesberger (1992–1998), John Coffman (1999–2007), Joachim Wiedorn (自2010年起)
穩定版本
24.2
(2015年11月22日,​6年前​(2015-11-22
原始碼庫 編輯維基數據連結
類型啟動程式
特許條款BSD特許條款
網站https://www.joonet.de/lilo/

LILO (LInux LOader)是Linux一個啟動程式,早年是許多Linux發行版使用的啟動程式。LILO後來被GRUBSYSLINUX取代。

總覽

LILO不依賴於一個特定的檔案系統,可以啟動一個作業系統(例如,從軟碟硬碟啟動Linux內核 [內核]鏡像)。在啟動時有十六種不同的鏡像可供選擇。各種參數,如根裝置參數,可以為每種內核單獨設置。LILO可以放在主開機紀錄(MBR)或一個分區的引導磁區中。在後者的情況下,MBR中必須包含載入LILO的代碼。

在開啟系統時,LILO只有通過BIOS驅動存取硬碟。因此,一個很老的BIOS存取範圍限定為柱0到1023的前兩個硬碟。對於後來的BIOS,LILO可以使用32位元的"邏輯塊定址"(LBA)來獲得存取整塊硬碟的能力。

LILO 檔案

lilo.conf

lilo

/boot/

LILO放置了許多檔案在 /boot/ – 具體請見 /boot/: LILO.

主開機紀錄

LILO可以在裝置上寫入主開機紀錄:

/sbin/lilo -M

輸出

當LILO載入完單詞「LILO」時,每個字母出現在一些具體行動的之前或之後。如果LILO在某些行為上未能成功,可以通過到目前列印的字母來辨識。

(nothing)
LILO完全沒有顯示,LILO沒有安裝或它的引導磁區所在的分區不活躍。引導媒介不正確。
L
第一階段的引導載入程式已載入並且開始,但不能載入第二階段的引導載入程式。兩位數字代碼會顯示錯誤類型。這種情況通常是由於媒介錯誤或者BIOS位於硬碟壞軌造成的。
LI
第一階段的引導載入程式可以載入第二階段的引導載入程式,但未能執行。這可能是由於BIOS位於磁碟壞軌造成的。
LIL
第二階段的引導載入程式已經啟動,但不能從鏡像檔案中載入描述符表。這通常是由於媒介錯誤或者BIOS位於硬碟壞軌造成的。
LIL?
第二階段的引導載入程式在一個不正確的地址載入。這通常是通常是由於BIOS位於硬碟壞軌造成的。
LIL-
描述符表已損壞。這可能是由於BIOS位於硬碟壞軌造成的。
LILO
LILO所有部分都已成功載入。

錯誤代碼

例如: L 01 01 01, L 07 07 07 等..

錯誤代碼 名字 描述
0x00 Internal Error This code is generated by the sector read routine of the LILO boot loader whenever an internal inconsistency is detected. This might be caused by corrupt files. Try re-building the map file. Another possible cause for this error are attempts to access cylinders beyond 1024 while using the LINEAR option.
0x01 Illegal Command This shouldn't happen, but if it does, it may indicate an attempt to access a disk which is not supported by the BIOS. Definitely check to see if the disk is seen by the BIOS first (and that the BIOS detail is complete).
0x02 Address mark not found This usually indicates a media problem. Try again several times.
0x03 Write-protected disk This should only occur on write operations.
0x04 Sector not found This typically indicates a geometry mismatch. If you're booting a raw-written disk image, verify whether it was created for disks with the same geometry as the one you're using. If you're booting from a SCSI disk or a large IDE disk, you should check, whether LILO has obtained correct geometry data from the kernel or whether the geometry definition corresponds to the real disk geometry. Removing COMPACT may help too. So may adding LBA32 or LINEAR.
0x06 Change line active This should be a transient error. Try booting a second time.
0x07 Invalid initialization The BIOS failed to properly initialize the disk controller. You should control the BIOS setup parameters. A warm boot might help too. (Boot a rescue disc and rerun LILO.)
0x08 DMA overrun This shouldn't happen. Try booting again.
0x09 DMA attempt across 64k boundary This shouldn't happen, but may indicate a disk geometry mis-match. Try omitting the COMPACT option. You may need to specify the disk geometry yourself.
0x0C Invalid media This shouldn't happen and might be caused by a media error. Try booting again.
0x10 CRC error A media error has been detected. Try booting several times, running the map installer a second time (to put the map file at some other physical location or to write "good data" over the bad spot), mapping out the bad sectors/tracks and, if all else fails, replacing the media.
0x11 ECC correction successful A read error occurred, but was corrected. LILO does not recognize this condition and aborts the load process anyway. A second load attempt should succeed.
0x20 Controller error This shouldn't happen, then again, none of these errors should happen eh?
0x40 Seek failure This might be a media problem. Try booting again.
0x80 Disk timeout The disk or the drive isn't ready. Either the media is bad or the disk isn't spinning. If you're booting from a floppy, you might not have closed the drive door. Otherwise, trying to boot again might help.
0x99 Invalid Second Stage Mismatch between drive and BIOS geometry, or a bad map file. Some evidence that LINEAR needs to be set on the disk (see LiloNotes)
0x9A Can't Find Second Stage Check to see if you have the correct device for boot, e.g. boot=/dev/hda1 when it should be in the MBR i.e. boot=/dev/hda.
0xBB BIOS error This shouldn't happen. Try booting again. If the problem persists, removing the COMPACT option or adding/removing LINEAR or LBA32 might help.

請參閱

注意


外部連結

{{bottomLinkPreText}} {{bottomLinkText}}
LILO
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.