[166a2dd] | 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-arcload">
|
---|
| 9 | <?dbhtml filename="arcload.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Making the LFS 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-version; {
|
---|
| 34 | description "&linux-version;";
|
---|
| 35 | image system "/&linux-version;";
|
---|
| 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 dvhtool to make the system bootable:</para>
|
---|
| 46 |
|
---|
| 47 | <screen os="d"><userinput>dvhtool --unix-to-vh /usr/lib/arcload/sash sash
|
---|
| 48 | dvhtool --unix-to-vh /boot/arc.cf arc.cf
|
---|
[d9c726d] | 49 | dvhtool --unix-to-vh /boot/&linux-version; &linux-version;</userinput></screen>
|
---|
[166a2dd] | 50 |
|
---|
| 51 | </sect1>
|
---|