[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f8be484] | 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 |
|
---|
[dabbced] | 29 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[3f8be484] | 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 | #
|
---|
[87c0d57] | 43 | lcd 'Booting &linux-version;-&linux-version2;...'
|
---|
| 44 | load vmlinux-&linux-version;-&linux-version2;.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 |
|
---|
[0cdf4ac] | 51 | <para os="v">The FHS stipulates that the bootloader's configuration file should
|
---|
[a3c498b] | 52 | be symlinked to <filename class="symlink">/etc/{Bootloader Name}</filename>.
|
---|
| 53 | To satisfy this requirement for Colo, issue the following command:</para>
|
---|
[3f8be484] | 54 |
|
---|
[661d1a4] | 55 | <screen os="f"><userinput>mkdir -v /etc/colo &&
|
---|
| 56 | ln -sv /boot/colo/default.colo /etc/colo</userinput></screen>
|
---|
[3f8be484] | 57 |
|
---|
| 58 | </sect1>
|
---|