[bf8c11f] | 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 |
|
---|
[b71fa50] | 11 | <title>Making the CLFS System Bootable via Colo</title>
|
---|
[bf8c11f] | 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 |
|
---|
[b71fa50] | 23 | <para os="c">Your shiny new CLFS system is almost complete. One of the last
|
---|
[bf8c11f] | 24 | things to do is ensure you can boot it. The instructions below apply
|
---|
[166a2dd] | 25 | only to Cobalt RaQ1/RaQ2/Cube2 servers. Information on <quote>boot
|
---|
[bf8c11f] | 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
|
---|
[166a2dd] | 35 | to boot using Colo. Here is a simple <filename>default.colo</filename>
|
---|
[bf8c11f] | 36 | to use.</para>
|
---|
| 37 |
|
---|
| 38 | <screen><userinput>cat > /boot/default.colo << "EOF"
|
---|
| 39 | <literal>#:CoLo:#
|
---|
| 40 | #
|
---|
| 41 | # load linux
|
---|
| 42 | #
|
---|
[930f404] | 43 | lcd 'Booting &linux-version;...'
|
---|
| 44 | load vmlinux-&linux-version;.gz
|
---|
[bf8c11f] | 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 |
|
---|
[01e31ed] | 51 | <para os="v">The FHS stipulates that the bootloader's configuration file should
|
---|
[bbde0c5c] | 52 | be symlinked to <filename class="symlink">/etc/{Bootloader Name}</filename>.
|
---|
| 53 | To satisfy this requirement for Colo, issue the following command:</para>
|
---|
[bf8c11f] | 54 |
|
---|
[d1a3111] | 55 | <screen os="f"><userinput>mkdir -v /etc/colo &&
|
---|
| 56 | ln -sv /boot/colo/default.colo /etc/colo</userinput></screen>
|
---|
[bf8c11f] | 57 |
|
---|
| 58 | </sect1>
|
---|