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-temp-system-choose">
|
---|
9 | <?dbhtml filename="choose.html"?>
|
---|
10 |
|
---|
11 | <title>To Boot or to Chroot?</title>
|
---|
12 |
|
---|
13 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
14 | href="../common/choose.xml"
|
---|
15 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
16 |
|
---|
17 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
18 | href="../common/choose.xml"
|
---|
19 | xpointer="xpointer(//*[@os='b'])"/>
|
---|
20 |
|
---|
21 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
22 | href="../common/choose.xml"
|
---|
23 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
24 |
|
---|
25 | <para>Powerpc64 is slightly different from some of the other
|
---|
26 | architectures, because a 64-bit kernel running 32-bit userspace can
|
---|
27 | successfully chroot and execute 64-bit programs. However, if the
|
---|
28 | kernel personality has been set to 32-bit by a utility such as
|
---|
29 | linux32, it will eventually fail when Glibc thinks it is building
|
---|
30 | on a 32-bit system and tries to include incompatible assembler code
|
---|
31 | in the 64-bit glibc.</para>
|
---|
32 |
|
---|
33 | <para>To see if you can successfully chroot to build the final powerpc64
|
---|
34 | system, enter the following command which tests if you are running a
|
---|
35 | 64-bit Linux 2.6 kernel (with a 64-bit personality):</para>
|
---|
36 |
|
---|
37 | <screen><userinput>uname -a | grep '^Linux.*2\.6\..*ppc64' && \
|
---|
38 | echo "ok to chroot" || echo "you must boot"</userinput></screen>
|
---|
39 |
|
---|
40 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
41 | href="../common/choose.xml"
|
---|
42 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
43 |
|
---|
44 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
45 | href="../common/choose.xml"
|
---|
46 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
47 |
|
---|
48 | </sect1>
|
---|