Changeset 073fae8 for BOOK/boot/ppc
- Timestamp:
- Jun 9, 2006, 5:15:04 PM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- e29fb58
- Parents:
- b708a6c
- Location:
- BOOK/boot/ppc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/ppc/hfsutils.xml
rb708a6c r073fae8 22 22 <sect2 role="installation"> 23 23 <title>Installation of Hfsutils</title> 24 25 <para>If you have created, or will create, the ext2 filesystem on your 26 Mac using ext2fsx you can jump ahead to 27 <xref linkend="ch-boot-yaboot-build" role="."/>. The next three packages 28 are for people who cannot do that.</para> 24 29 25 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/boot/ppc/yaboot.xml
rb708a6c r073fae8 16 16 </indexterm> 17 17 18 <para>This is a place holder for yaboot</para> 18 <para os="a">Some of the idiosyncracies of booting on ppc are discussed in 19 <xref linkend="appendixe" role="."/>. Essentially, there are two options 20 here - either copy the bootloader to an OSX root partition and boot from 21 Open Firmware, or use an install, Live, or rescue CD to set up a bootstrap 22 partition.</para> 23 24 <sect2 role="."> 25 <title>Copying the bootloader to OSX and booting from OF.</title> 26 27 <para os="b">You must now ensure that <filename>/tools/etc/yaboot.conf</filename> 28 contains the correct details for the CLFS system. Consult 29 <xref linkend="ch-bootable-yaboot" role="."/> for details, but note that 30 at this point you do not need the <literal>install, magicboot, enablecdboot 31 </literal>or <literal>macosx</literal> parameters because these are not 32 available when you boot from Open Firmware.</para> 33 34 <para os="c">By this stage, you should have the temporary system on an ext2 35 filesystem on your Mac. Now, from within OSX, copy 36 <filename>/tools/lib/yaboot/yaboot</filename>) and 37 <filename>/tools/etc/yaboot.conf</filename>) to the OSX <filename>/</filename> 38 directory.</para> 39 40 <para os="d">Each time you want to boot into the temporary system, hold down 41 the option-command-o-f keys to get to Open Firmware, then use the following 42 command, replacing <literal>X</literal> with the number of the partition 43 containing the <emphasis>OSX</emphasis> root filesystem (typically, this 44 will be '3').</para> 45 46 <screen os="e" role="nodump"><userinput>boot hd:X,yaboot</userinput></screen> 47 48 </sect2> 49 50 <sect2 role="."> 51 <title>Using a CD to set up the bootstrap partition.</title> 52 53 <para os="f">This is particularly appropriate if you cannot write to an 54 ext2 filesystem from OSX. Boot from the CD, and (as necessary) create 55 partitions and filesystems, mount the CLFS partition at 56 <filename>/tools</filename> and untar the temporary system there.</para> 57 58 <para os="g">Now set up <filename>/tools/etc/yaboot.conf</filename> - see 59 <xref linkend="ch-bootable-yaboot" role="."/> for details of what should be 60 in it, but note that the <emphasis>install</emphasis> and <emphasis>magicboot 61 </emphasis>specifications should point to<filename>/tools/lib/yaboot/</filename> 62 and <emphasis>not</emphasis> <filename>/usr/lib/yaboot</filename>.</para> 63 64 <para os="h">To write the bootloader to the disk, with <filename>/tools/sbin 65 </filename>first on your path and <filename>/proc</filename> mounted, run the 66 following command:</para> 67 68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 69 href="../../bootable/ppc/yaboot.xml" 70 xpointer="xpointer(//*[@os='r'])"/> 71 72 <screen os="j" role="nodump"><userinput>ybin -v -C /tools/etc/yaboot.conf</userinput></screen> 73 74 </sect2> 19 75 20 76 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.