<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;
]>

<sect1 id="ch-bootable-colo">
  <?dbhtml filename="colo.html"?>

  <title>Making the LFS System Bootable via Colo</title>

  <indexterm zone="ch-bootable-colo">
    <primary sortas="a-Colo">Colo</primary>
    <secondary>configuring</secondary>
  </indexterm>

  <note os="a">
    <para>This bootloader is for the MIPS based cobalt servers RaQ,
    RaQ2, Qube, or the Qube2.</para>
  </note>

  <para os="c">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 <quote>boot
  loading</quote> for other architectures should be available in the
  usual resource-specific locations for those architectures.</para>

  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  href="../x86/grub.xml"
  xpointer="xpointer(//*[@os='b'])"/>

  <para os="d">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 <filename>default.colo</filename>
  to use.</para>

<screen><userinput>cat &gt; /boot/default.colo &lt;&lt; "EOF"
<literal>#:CoLo:#
#
# load linux
#
lcd 'Booting &linux-version;...'
load vmlinux-&linux-version;.gz
execute root=/dev/hda2 console=ttyS0,115200 ide1=noprobe</literal>
EOF</userinput></screen>

  <para os="e">Included in <filename class="directory">/usr/lib/colo/examples</filename>
  are more examples of a <filename>default.colo</filename> file.</para>

  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  href="../x86/grub.xml"
  xpointer="xpointer(//*[@os='v'])"/>

<screen os="f"><userinput>mkdir /etc/colo &amp;&amp;
ln -s /boot/colo/default.colo /etc/colo</userinput></screen>

</sect1>
