📄 lilo.html
字号:
<HTML><HEAD><TITLE>Installing Lilo-22.1</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.63"><LINKREL="HOME"TITLE="Linux From Scratch"HREF="../index.html"><LINKREL="UP"TITLE="Installing basic system software"HREF="../chapter06/chapter06.html"><LINKREL="PREVIOUS"TITLE="Installing Gzip-1.2.4a"HREF="../chapter06/gzip.html"><LINKREL="NEXT"TITLE="Installing Make-3.79.1"HREF="../chapter06/make.html"></HEAD><BODYCLASS="sect1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Linux From Scratch: Version 3.1</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="../chapter06/gzip.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 6. Installing basic system software</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="../chapter06/make.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="sect1"><H1CLASS="sect1"><ANAME="ch06-lilo">6.37. Installing Lilo-22.1</A></H1><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen">Estimated build time: 1 minuteEstimated required disk space: 3 MB</PRE></FONT></TD></TR></TABLE><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN3043">6.37.1. Installation of Lilo</A></H2><P>We have chosen Lilo because we feel comfortable with it, but you may wish to take a look elsewhere. Someone has written a hint on GRUB at <AHREF="http://hints.linuxfromscratch.org/hints/grub-howto.txt"TARGET="_top">http://hints.linuxfromscratch.org/hints/grub-howto.txt</A>, an alternative boot loader.</P><P>Install Lilo by running the following commands:</P><P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen"><TTCLASS="userinput"><B>make &&make install</B></TT></PRE></FONT></TD></TR></TABLE></P><P>It appears that compilation of this package fails on certain machineswhen the -g compiler flag is being used. If you can't compile Lilo atall, you should try to remove the -g value from the CFLAGS variable in the<TTCLASS="filename">Makefile</TT> file.</P><P>At the end of the installation the make install process will print amessage stating that /sbin/lilo has to be executed to complete theupdate. Don't do this as it has no use. The /etc/lilo.conf isn't presentyet. We will complete the installation of lilo in chapter 8.</P><P>Maybe you'll be interested to know that someone wrote a hint on how to get a logo instead the the standard LILO prompt or menu. Take a look at it at <AHREF="http://hints.linuxfromscratch.org/hints/bootlogo.txt"TARGET="_top">http://hints.linuxfromscratch.org/hints/bootlogo.txt</A>.</P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN3056">6.37.2. Contents</A></H2><P>The Lilo package contains the lilo program.</P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN3059">6.37.3. Description</A></H2><P>lilo installs the Linux boot loader which is used to start a Linuxsystem.</P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN3062">6.37.4. Dependencies</A></H2><P>Lilo-21.7.5 needs the following to be installed:</P><PCLASS="literallayout"><br>sh from the bash package<br><br>as86 from the bin86 package<br>ld86 from the bin86 package<br><br>as from the binutils package<br>ld from the binutils package<br>strip from the binutils package<br><br>cp from the fileutils package<br>dd from the fileutils package<br>ln from the fileutils package<br>mv from the fileutils package<br><br>cc from the gcc package<br><br>make from the make package<br><br>sed from the sed package<br><br>cat from the textutils package<br></P></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="../chapter06/gzip.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../index.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="../chapter06/make.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Installing Gzip-1.2.4a</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../chapter06/chapter06.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Installing Make-3.79.1</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -