[cb92ef5] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ |
---|
[cb92ef5] | 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 | |
---|
[dabbced] | 13 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cb92ef5] | 14 | href="../common/choose.xml" |
---|
| 15 | xpointer="xpointer(//*[@os='a'])"/> |
---|
| 16 | |
---|
[dabbced] | 17 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cb92ef5] | 18 | href="../common/choose.xml" |
---|
| 19 | xpointer="xpointer(//*[@os='b'])"/> |
---|
| 20 | |
---|
| 21 | <para>Powerpc64 is slightly different from some of the other |
---|
| 22 | architectures, because a 64-bit kernel running 32-bit userspace can |
---|
| 23 | successfully chroot and execute 64-bit programs. However, if the |
---|
| 24 | kernel personality has been set to 32-bit by a utility such as |
---|
[d785e9d] | 25 | linux32, it will eventually fail when Glibc thinks it is building |
---|
[cb92ef5] | 26 | on a 32-bit system and tries to include incompatible assembler code |
---|
| 27 | in the 64-bit glibc.</para> |
---|
| 28 | |
---|
| 29 | <para>To see if you can successfully chroot to build the final powerpc64 |
---|
| 30 | system, enter the following command which tests if you are running a |
---|
| 31 | 64-bit Linux 2.6 kernel (with a 64-bit personality):</para> |
---|
| 32 | |
---|
[d018b81] | 33 | <screen><userinput>uname -a | grep '^Linux.*2\.6\..*ppc64' && \ |
---|
| 34 | echo "ok to chroot" || echo "you must boot"</userinput></screen> |
---|
[cb92ef5] | 35 | |
---|
[dabbced] | 36 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cb92ef5] | 37 | href="../common/choose.xml" |
---|
| 38 | xpointer="xpointer(//*[@os='e'])"/> |
---|
| 39 | |
---|
[dabbced] | 40 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" |
---|
[cb92ef5] | 41 | href="../common/choose.xml" |
---|
| 42 | xpointer="xpointer(//*[@os='f'])"/> |
---|
| 43 | |
---|
| 44 | </sect1> |
---|