📄 colo.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> 12.4. Making the LFS System Bootable via Colo </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-MIPS"> <div class="navheader"> <div class="headertitles"> <h4> Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS </h4> <h3> Chapter 12. Making the LFS System Bootable </h3> </div> <ul class="headerlinks"> <li class="prev"> <a accesskey="p" href="kernel.html" title="Linux-2.6.16.5">Prev</a> <p> Linux-2.6.16.5 </p> </li> <li class="next"> <a accesskey="n" href="../the-end/chapter.html" title= "The End">Next</a> <p> The End </p> </li> <li class="up"> <a accesskey="u" href="chapter.html" title= "Chapter 12. Making the LFS System Bootable">Up</a>. </li> <li class="home"> <a accesskey="h" href="../index.html" title= "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS"> Home</a> </li> </ul> </div> <div class="sect1" lang="en" xml:lang="en"> <div class="titlepage"> <h1 class="sect1"> 12.4. Making the LFS System Bootable via Colo </h1> </div> <div class="note"> <div class="admonhead"> <img alt="[Note]" src="../images/note.png" /> <h3 class="admontitle"> Note </h3> </div> <div class="admonbody"> <p> This bootloader is for the MIPS based cobalt servers RaQ, RaQ2, Qube, or the Qube2. </p> </div> </div> <p> Your shiny new LFS system is almost complete. One of the last things to do is ensure you can boot it. The instructions below apply only to Cobalt RaQ1/RaQ2/Cube2 servers. Information on “<span class= "quote">boot loading</span>” for other architectures should be available in the usual resource-specific locations for those architectures. </p> <p> Boot loading can be a complex area, so a few cautionary words are in order. Be familiar with the current boot loader and any other operating systems present on the hard drive(s) that need to be bootable. Make sure that an emergency boot disk is ready to “<span class="quote">rescue</span>” the computer if the computer becomes unusable (un-bootable). </p> <p> Earlier, we compiled and installed the Cobalt boot loader software in preparation for this step. Now we will configure our system to boot using Colo. Here is a simple <tt class="filename">default.colo</tt> to use. </p> <pre class="userinput"><kbd class="command">cat > /boot/default.colo << "EOF"<tt class="literal">#:CoLo:### load linux#lcd 'Booting 2.6.16.5...'load vmlinux-2.6.16.5.gzexecute root=/dev/hda2 console=ttyS0,115200 ide1=noprobe</tt>EOF</kbd></pre> <p> Included in <tt class="filename">/usr/lib/colo/examples</tt> are more examples of a <tt class="filename">default.colo</tt> file. </p> <p> The FHS stipulates that Bootloader's configuration file should be symlinked to <tt class="filename">/etc/{Bootloader Name}</tt>. To satisfy this requirement for GRUB, issue the following command: </p> <pre class="userinput"><kbd class="command">mkdir /etc/colo &&ln -s /boot/colo/default.colo /etc/colo</kbd></pre> </div> <div class="navfooter"> <ul> <li class="prev"> <a accesskey="p" href="kernel.html" title="Linux-2.6.16.5">Prev</a> <p> Linux-2.6.16.5 </p> </li> <li class="next"> <a accesskey="n" href="../the-end/chapter.html" title= "The End">Next</a> <p> The End </p> </li> <li class="up"> <a accesskey="u" href="chapter.html" title= "Chapter 12. Making the LFS System Bootable">Up</a>. </li> <li class="home"> <a accesskey="h" href="../index.html" title= "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-MIPS"> Home</a>. </li> </ul> </div> </body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -