source: BOOK/temp-system/ppc64/choose.xml@ 10496d3

clfs-3.0.0-sysvinit sysvinit
Last change on this file since 10496d3 was 9389c82, checked in by Chris Staub <chris@…>, 10 years ago

Moved details about booting/chrooting from how.xml to choose.xml

Conflicts:

BOOK/introduction/common/how.xml

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[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
[9389c82]21 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
22 href="../common/choose.xml"
23 xpointer="xpointer(//*[@os='c'])"/>
24
[cb92ef5]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
[d785e9d]29 linux32, it will eventually fail when Glibc thinks it is building
[cb92ef5]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
[d018b81]37<screen><userinput>uname -a | grep '^Linux.*2\.6\..*ppc64' &amp;&amp; \
38 echo "ok to chroot" || echo "you must boot"</userinput></screen>
[cb92ef5]39
[dabbced]40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cb92ef5]41 href="../common/choose.xml"
[9389c82]42 xpointer="xpointer(//*[@os='i'])"/>
[cb92ef5]43
[dabbced]44 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[cb92ef5]45 href="../common/choose.xml"
[9389c82]46 xpointer="xpointer(//*[@os='j'])"/>
[cb92ef5]47
48</sect1>
Note: See TracBrowser for help on using the repository browser.