fbpx
维基百科

LILO

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

LILO
Standard LILO menu display.
開發者Werner Almesberger (1992–1998), John Coffman (1999–2007), Joachim Wiedorn (自2010年起)
当前版本
  • 24.2 (2015年11月22日)[1]
源代码库
  • salsa.debian.org/joowie-guest/upstream_lilo
类型啟動程式
许可协议BSD许可证
网站https://www.joonet.de/lilo/

总览 编辑

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.

请参阅 编辑

注意 编辑


外部链接 编辑

  • on Alioth
  1. ^ http://lilo.alioth.debian.org/.

lilo, 本條目存在以下問題, 請協助改善本條目或在討論頁針對議題發表看法, 此條目包含過多行話或專業術語, 可能需要簡化或提出進一步解釋, 2020年12月21日, 請在討論頁中發表對於本議題的看法, 並移除或解釋本條目中的行話, 此条目也许具备关注度, 但需要可靠的来源来加以彰显, 2020年12月21日, 请协助補充可靠来源以改善这篇条目, 此條目没有列出任何参考或来源, 2020年12月21日, 維基百科所有的內容都應該可供查證, 请协助補充可靠来源以改善这篇条目, 无法查证的內容可能會因為異議提出而被移. 本條目存在以下問題 請協助改善本條目或在討論頁針對議題發表看法 此條目包含過多行話或專業術語 可能需要簡化或提出進一步解釋 2020年12月21日 請在討論頁中發表對於本議題的看法 並移除或解釋本條目中的行話 此条目也许具备关注度 但需要可靠的来源来加以彰显 2020年12月21日 请协助補充可靠来源以改善这篇条目 此條目没有列出任何参考或来源 2020年12月21日 維基百科所有的內容都應該可供查證 请协助補充可靠来源以改善这篇条目 无法查证的內容可能會因為異議提出而被移除 此條目翻譯品質不佳 2020年12月21日 翻譯者可能不熟悉中文或原文語言 也可能使用了機器翻譯 請協助翻譯本條目或重新編寫 并注意避免翻译腔的问题 明顯拙劣的翻譯請改掛 a href Template D html class mw redirect title Template D d a a href Wikipedia CSD html G13 class mw redirect title Wikipedia CSD G13 a 提交刪除 LILO LInux LOader 是Linux一个啟動程式 早年是許多Linux發行版使用的啟動程式 LILO後來被GRUB和SYSLINUX取代 LILOStandard LILO menu display 開發者Werner Almesberger 1992 1998 John Coffman 1999 2007 Joachim Wiedorn 自2010年起 当前版本24 2 2015年11月22日 1 源代码库salsa wbr debian wbr org wbr joowie guest wbr upstream wbr lilo类型啟動程式许可协议BSD许可证网站https www joonet de lilo 目录 1 总览 2 LILO 文件 2 1 lilo conf 2 2 boot 3 主引导记录 4 输出 5 错误代码 6 请参阅 7 注意 8 外部链接总览 编辑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 请参阅 编辑 nbsp 自由软件主题 Comparison of boot loaders Linux Boot loader GNU GRUB SYSLINUX Windows Boot Manager NTLDR SILO PALO注意 编辑LILO installation instructions LILO mini HOWTO 页面存档备份 存于互联网档案馆 LILO error messages LILO and GRUB Boot Loaders Made Simple by Judith Myerson 页面存档备份 存于互联网档案馆 From Lilo to Grub Lilo tips from the Linux Kernel Howto 页面存档备份 存于互联网档案馆 Bonney Laurence Boot loader showdown Getting to know LILO and GRUB Contrast and compare these two contenders IBM DeveloperWorks 2005 08 24 2009 04 26 原始内容存档于2009 07 10 lilo 参考 单一UNIX 规范第7期 由國際開放標準組織发布 lilo conf 参考 单一UNIX 规范第7期 由國際開放標準組織发布外部链接 编辑Official homepage Project homepage on Alioth http lilo alioth debian org 取自 https zh wikipedia org w index php title LILO amp oldid 66752069, 维基百科,wiki,书籍,书籍,图书馆,

文章

,阅读,下载,免费,免费下载,mp3,视频,mp4,3gp, jpg,jpeg,gif,png,图片,音乐,歌曲,电影,书籍,游戏,游戏。