[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" |
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ |
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent"> |
---|
| 5 | %general-entities; |
---|
| 6 | ]> |
---|
| 7 | |
---|
| 8 | <sect1 id="ch-bootable-colo"> |
---|
| 9 | <?dbhtml filename="colo.html"?> |
---|
| 10 | |
---|
[fb40919] | 11 | <title>Making the CLFS System Bootable via Colo</title> |
---|
[3f8be484] | 12 | |
---|
| 13 | <indexterm zone="ch-bootable-colo"> |
---|
| 14 | <primary sortas="a-Colo">Colo</primary> |
---|
| 15 | <secondary>configuring</secondary> |
---|
| 16 | </indexterm> |
---|
| 17 | |
---|
| 18 | <note os="a"> |
---|
| 19 | <para>This bootloader is for the MIPS based cobalt servers RaQ, |
---|
| 20 | RaQ2, Qube, or the Qube2.</para> |
---|
| 21 | </note> |
---|
| 22 | |
---|
[fb40919] | 23 | <para os="c">Your shiny new CLFS system is almost complete. One of the last |
---|
[3f8be484] | 24 | things to do is ensure you can boot it. The instructions below apply |
---|
[0935d01] | 25 | only to Cobalt RaQ1/RaQ2/Cube2 servers. Information on <quote>boot |
---|
[3f8be484] | 26 | loading</quote> for other architectures should be available in the |
---|
| 27 | usual resource-specific locations for those architectures.</para> |
---|
| 28 | |
---|
| 29 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
| 30 | href="../x86/grub.xml" |
---|
| 31 | xpointer="xpointer(//*[@os='b'])"/> |
---|
| 32 | |
---|
| 33 | <para os="d">Earlier, we compiled and installed the Cobalt boot loader |
---|
| 34 | software in preparation for this step. Now we will configure our system |
---|
[0935d01] | 35 | to boot using Colo. Here is a simple <filename>default.colo</filename> |
---|
[3f8be484] | 36 | to use.</para> |
---|
| 37 | |
---|
| 38 | <screen><userinput>cat > /boot/default.colo << "EOF" |
---|
| 39 | <literal>#:CoLo:# |
---|
| 40 | # |
---|
| 41 | # load linux |
---|
| 42 | # |
---|
[43daa01] | 43 | lcd 'Booting &linux-version;...' |
---|
| 44 | load vmlinux-&linux-version;.gz |
---|
[3f8be484] | 45 | execute root=/dev/hda2 console=ttyS0,115200 ide1=noprobe</literal> |
---|
| 46 | EOF</userinput></screen> |
---|
| 47 | |
---|
| 48 | <para os="e">Included in <filename class="directory">/usr/lib/colo/examples</filename> |
---|
| 49 | are more examples of a <filename>default.colo</filename> file.</para> |
---|
| 50 | |
---|
[a3c498b] | 51 | <para os="v">The FHS stipulates that the bootloader's configuration file shoul |
---|
| 52 | d |
---|
| 53 | be symlinked to <filename class="symlink">/etc/{Bootloader Name}</filename>. |
---|
| 54 | To satisfy this requirement for Colo, issue the following command:</para> |
---|
[3f8be484] | 55 | |
---|
[661d1a4] | 56 | <screen os="f"><userinput>mkdir -v /etc/colo && |
---|
| 57 | ln -sv /boot/colo/default.colo /etc/colo</userinput></screen> |
---|
[3f8be484] | 58 | |
---|
| 59 | </sect1> |
---|