[bf8c11f] | 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-temp-system-choose">
|
---|
| 9 | <?dbhtml filename="choose.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>To Boot or to Chroot?</title>
|
---|
| 12 |
|
---|
[b220f205] | 13 | <para os="a"> There are two different ways you can proceed from this point
|
---|
[58b5286] | 14 | to build the final system. You can build a kernel, a bootloader, and
|
---|
| 15 | a few other utilities, boot into the temporary system, and build the
|
---|
[e41abfe] | 16 | rest there. The other option is to chroot into the temporary system.</para>
|
---|
[bf8c11f] | 17 |
|
---|
[b220f205] | 18 | <para os="b">The boot method is for when you are building on a different
|
---|
[58b5286] | 19 | architecture. For example, if you are building a PowerPC system from
|
---|
| 20 | an x86, you can't chroot. The chroot method is for when you are
|
---|
| 21 | building on the same architecture. If you are building on, and for,
|
---|
| 22 | an x86 system, you can simply chroot. The rule of thumb here is if
|
---|
| 23 | the architectures match and you are running the same series kernel
|
---|
[b17000e] | 24 | you can just chroot. If you aren't running the same series kernel, or are
|
---|
| 25 | wanting to run a different ABI, you will need to use the boot option.</para>
|
---|
[c8f39ad] | 26 |
|
---|
[b220f205] | 27 | <para os="c">If you are in any doubt about this, you can try the following
|
---|
| 28 | commands to see if you can chroot:</para>
|
---|
[58b5286] | 29 |
|
---|
[b220f205] | 30 | <screen ><userinput>/tools/lib/libc.so.6
|
---|
| 31 | /tools/bin/gcc -v</userinput></screen>
|
---|
| 32 |
|
---|
| 33 | <para os="d">If these commands fail, you will have to follow the boot
|
---|
| 34 | method.</para>
|
---|
| 35 |
|
---|
| 36 | <para os="e">For the boot method, follow <xref linkend="chapter-boot"/>.</para>
|
---|
| 37 |
|
---|
| 38 | <para os="f">For the chroot method, follow <xref linkend="chapter-chroot"/>.</para>
|
---|
[bf8c11f] | 39 |
|
---|
| 40 | </sect1>
|
---|