1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-bootable-arcload">
|
---|
9 | <?dbhtml filename="arcload.html"?>
|
---|
10 |
|
---|
11 | <title>Making the CLFS System Bootable via Arcload</title>
|
---|
12 |
|
---|
13 | <indexterm zone="ch-bootable-arcload">
|
---|
14 | <primary sortas="a-Arcload">Arcload</primary>
|
---|
15 | <secondary>configuring</secondary>
|
---|
16 | </indexterm>
|
---|
17 |
|
---|
18 | <note os="a">
|
---|
19 | <para>This bootloader is for the MIPS based SGI Workstations and
|
---|
20 | Servers.</para>
|
---|
21 | </note>
|
---|
22 |
|
---|
23 | <para os="b">Earlier, we compiled and installed the Arcload boot loader
|
---|
24 | software in preparation for this step. Now we will configure our system
|
---|
25 | to boot using Arcload. Here is a simple <filename>arc.cf</filename>
|
---|
26 | to use.</para>
|
---|
27 |
|
---|
28 | <screen><userinput>cat > /boot/arc.cf << "EOF"
|
---|
29 | <literal>append "root=/dev/sda3";
|
---|
30 | append "console=ttyS0,9600";
|
---|
31 |
|
---|
32 | CLFS {
|
---|
33 | &linux-version2; {
|
---|
34 | description "&linux-version2;";
|
---|
35 | image system "/&linux-version2;";
|
---|
36 | }
|
---|
37 |
|
---|
38 | debug {
|
---|
39 | description "Debug Shell";
|
---|
40 | append "init=/bin/bash";
|
---|
41 | }
|
---|
42 | }</literal>
|
---|
43 | EOF</userinput></screen>
|
---|
44 |
|
---|
45 | <para os="c">Now we use <command>dvhtool</command> to make the system
|
---|
46 | bootable:</para>
|
---|
47 |
|
---|
48 | <screen os="d"><userinput>dvhtool --unix-to-vh /usr/lib/arcload/sash sash
|
---|
49 | dvhtool --unix-to-vh /boot/arc.cf arc.cf
|
---|
50 | dvhtool --unix-to-vh /boot/&linux-version2; &linux-version2;</userinput></screen>
|
---|
51 |
|
---|
52 | </sect1>
|
---|