📄 lilo-build.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content= "application/xhtml+xml; charset=iso-8859-1" /> <title> 7.14. Lilo-22.7.1 </title> <link rel="stylesheet" href="../stylesheets/lfs.css" type="text/css" /> <meta name="generator" content="DocBook XSL Stylesheets V1.69.1" /> <link rel="stylesheet" href="../stylesheets/lfs-print.css" type= "text/css" media="print" /> </head> <body id="lfs" class="CLFS-SVN-20060417-x86_64-Pure64"> <div class="navheader"> <div class="headertitles"> <h4> Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-x86_64-Pure64 </h4> <h3> Chapter 7. If You Are Going to Boot </h3> </div> <ul class="headerlinks"> <li class="prev"> <a accesskey="p" href="bin86.html" title="Bin86-0.16.17">Prev</a> <p> Bin86-0.16.17 </p> </li> <li class="next"> <a accesskey="n" href="settingenvironment.html" title= "Setting Up the Environment">Next</a> <p> Setting Up the Environment </p> </li> <li class="up"> <a accesskey="u" href="chapter.html" title= "Chapter 7. If You Are Going to Boot">Up</a>. </li> <li class="home"> <a accesskey="h" href="../index.html" title= "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-x86_64-Pure64"> Home</a> </li> </ul> </div> <div class="wrap" lang="en" xml:lang="en"> <div class="titlepage"> <h1 class="sect1"> 7.14. Lilo-22.7.1 </h1> </div> <div class="package" lang="en" xml:lang="en"> <p> The Lilo package contains the Linux Loader, a bootloader. </p> <p> We have chosen to use lilo because at the moment no other bootloader builds and runs on a pure64 system. If your machine has multiple systems (i.e. x86 or multilib) you may prefer to use the bootloader from the other system, such as grub. </p> <div class="segmentedlist"> <div class="seglistitem"> <div class="seg"> <strong><span class="segtitle">Installation depends on:</span></strong> <span class="seg">Bash, Bin86, Binutils, Coreutils, GCC, Glibc, Make, Sed</span> </div> </div> </div> </div> <div class="installation" lang="en" xml:lang="en"> <div class="titlepage"> <h2 class="sect2"> 7.14.1. Installation of Lilo </h2> </div> <p> The following patch forces lilo to use our cross-compiler (except for a couple of utilities which run during the compile), and to look for as86 and ld86 under the names by which we installed them. </p> <pre class="userinput"><kbd class="command">patch -Np1 -i ../lilo-22.7.1-cross_compile_x86_64-1.patch</kbd></pre> <p> Compile the program which installs the loader, linking it statically so that it does not have to link to host libraries when it runs: </p> <pre class="userinput"><kbd class="command">make lilo-static</kbd></pre> <p> Install only the parts we need: </p> <pre class="userinput"><kbd class="command">install -v -m755 lilo-static /tools/bininstall -v -m755 keytab-lilo.pl /tools/bin</kbd></pre> </div> <div class="content" lang="en" xml:lang="en"> <p> Details on this package are located in <a href= "../final-system/lilo.html#contents-lilo" title= "10.55.2. Contents of Lilo">Section 10.55.2, “Contents of Lilo.”</a> </p> </div> </div> <div class="navfooter"> <ul> <li class="prev"> <a accesskey="p" href="bin86.html" title="Bin86-0.16.17">Prev</a> <p> Bin86-0.16.17 </p> </li> <li class="next"> <a accesskey="n" href="settingenvironment.html" title= "Setting Up the Environment">Next</a> <p> Setting Up the Environment </p> </li> <li class="up"> <a accesskey="u" href="chapter.html" title= "Chapter 7. If You Are Going to Boot">Up</a>. </li> <li class="home"> <a accesskey="h" href="../index.html" title= "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-x86_64-Pure64"> Home</a>. </li> </ul> </div> </body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -