<?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-arcload">
  <?dbhtml filename="arcload.html"?>

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

  <indexterm zone="ch-bootable-arcload">
    <primary sortas="a-Arcload">Arcload</primary>
    <secondary>configuring</secondary>
  </indexterm>

  <note os="a">
    <para>This bootloader is for the MIPS based SGI Workstations and
    Servers.</para>
  </note>

  <para os="b">Earlier, we compiled and installed the Arcload  boot loader
  software in preparation for this step. Now we will configure our system
  to boot using Arcload. Here is a simple <filename>arc.cf</filename>
  to use.</para>

<screen><userinput>cat &gt; /boot/arc.cf &lt;&lt; "EOF"
<literal>append  "root=/dev/sda3";
append  "console=ttyS0,9600";

CLFS {
  &linux-version; {
    description  "&linux-version;";
    image system "/&linux-version;";
  }

  debug {
    description  "Debug Shell";
    append "init=/bin/bash";
  }
}</literal>
EOF</userinput></screen>

  <para os="c">Now we use dvhtool to make the system bootable:</para>

<screen os="d"><userinput>dvhtool --unix-to-vh /usr/lib/arcload/sash sash
dvhtool --unix-to-vh /boot/arc.cf arc.cf
dvhtool --unix-to-vh /boot/&linux-version; &linux-version;</userinput></screen>

</sect1>
