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 | |
---|
11 | <title>Making the LFS System Bootable</title> |
---|
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 | |
---|
23 | <para os="c">Your shiny new LFS system is almost complete. One of the last |
---|
24 | things to do is ensure you can boot it. The instructions below apply |
---|
25 | only to Colbalt mips/Cube2 servers. Information on <quote>boot |
---|
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 |
---|
35 | to boot using Colo. Here is a simpe <filename>default.colo</filename> |
---|
36 | to use.</para> |
---|
37 | |
---|
38 | <screen><userinput>cat > /boot/default.colo << "EOF" |
---|
39 | <literal>#:CoLo:# |
---|
40 | # |
---|
41 | # load linux |
---|
42 | # |
---|
43 | lcd 'Booting &linux-version;...' |
---|
44 | load vmlinux-&linux-version;.gz |
---|
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 | |
---|
51 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
52 | href="../x86/grub.xml" |
---|
53 | xpointer="xpointer(//*[@os='v'])"/> |
---|
54 | |
---|
55 | <screen os="f"><userinput>mkdir /etc/colo && |
---|
56 | ln -s /boot/colo/default.colo /etc/colo</userinput></screen> |
---|
57 | |
---|
58 | </sect1> |
---|