Changeset e3196bd for BOOK/appendices
- Timestamp:
- Jan 31, 2009, 6:12:17 AM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- ef60d6b
- Parents:
- 833efa2
- Location:
- BOOK/appendices
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/appendices/dependencies/common.xml
r833efa2 re3196bd 96 96 <seglistitem> 97 97 <seg>Bash, Bison, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, 98 98 Ncurses, Patch, Readline, Sed and Texinfo</seg> 99 99 </seglistitem> 100 100 </segmentedlist> … … 234 234 <seglistitem> 235 235 <seg>Bash, Binutils, Coreutils, Gawk, GCC, Gettext, Glibc, Grep, Make, 236 236 Patch, Perl, Sed and Texinfo</seg> 237 237 </seglistitem> 238 238 </segmentedlist> … … 289 289 <seglistitem> 290 290 <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, 291 291 Make, Patch, Sed and Texinfo</seg> 292 292 </seglistitem> 293 293 </segmentedlist> … … 317 317 <seglistitem> 318 318 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, 319 319 Patch, Sed and Tcl</seg> 320 320 </seglistitem> 321 321 </segmentedlist> … … 345 345 <seglistitem> 346 346 <seg>Bash, Binutils, Coreutils, Gawk, GCC, Gettext, Glibc, Grep, Gzip, 347 347 Make, Sed and Texinfo</seg> 348 348 </seglistitem> 349 349 </segmentedlist> … … 373 373 <seglistitem> 374 374 <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, 375 375 Make, Sed and Zlib</seg> 376 376 </seglistitem> 377 377 </segmentedlist> … … 401 401 <seglistitem> 402 402 <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, 403 403 Sed and Texinfo</seg> 404 404 </seglistitem> 405 405 </segmentedlist> … … 429 429 <seglistitem> 430 430 <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, M4, Make, 431 431 Sed and Texinfo</seg> 432 432 </seglistitem> 433 433 </segmentedlist> … … 457 457 <seglistitem> 458 458 <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, 459 459 Patch, Sed and Texinfo</seg> 460 460 </seglistitem> 461 461 </segmentedlist> … … 485 485 <seglistitem> 486 486 <seg>Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, GCC, 487 487 Gettext, Glibc, GMP, Grep, Make, MPFR, Patch, Perl, Sed, Tar and 488 488 Texinfo</seg> 489 489 </seglistitem> … … 514 514 <seglistitem> 515 515 <seg>Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make, 516 516 Sed and Texinfo</seg> 517 517 </seglistitem> 518 518 </segmentedlist> … … 626 626 <seglistitem> 627 627 <seg>Bash, Binutils, Bison, Coreutils, Gawk, GCC, Glibc, Grep, Make, 628 628 Sed and Texinfo</seg> 629 629 </seglistitem> 630 630 </segmentedlist> … … 654 654 <seglistitem> 655 655 <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, 656 656 Sed and Texinfo</seg> 657 657 </seglistitem> 658 658 </segmentedlist> … … 709 709 <seglistitem> 710 710 <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, Ncurses, 711 711 Patch, Sed and Texinfo</seg> 712 712 </seglistitem> 713 713 </segmentedlist> … … 737 737 <seglistitem> 738 738 <seg>Bash, Binutils, Bison, Coreutils, Flex, GCC, Glibc, Make 739 739 and Linux-Headers</seg> 740 740 </seglistitem> 741 741 </segmentedlist> … … 765 765 <seglistitem> 766 766 <seg>Bash, Binutils, Bison, Coreutils, Flex, GCC, Gettext, Glibc, 767 767 Gzip, Make, and Sed</seg> 768 768 </seglistitem> 769 769 </segmentedlist> … … 793 793 <seglistitem> 794 794 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, 795 795 Ncurses and Sed</seg> 796 796 </seglistitem> 797 797 </segmentedlist> … … 821 821 <seglistitem> 822 822 <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, 823 823 Make, Sed and Texinfo</seg> 824 824 </seglistitem> 825 825 </segmentedlist> … … 876 876 <seglistitem> 877 877 <seg>Bash, Binutils, Coreutils, Diffutils, Findutils, GCC, Glibc, Grep, 878 878 Gzip, Make, Mktemp, Module-Init-Tools, Ncurses, Perl and Sed</seg> 879 879 </seglistitem> 880 880 </segmentedlist> … … 931 931 <seglistitem> 932 932 <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, 933 933 Make, Sed and Texinfo</seg> 934 934 </seglistitem> 935 935 </segmentedlist> … … 959 959 <seglistitem> 960 960 <seg>Bash, Binutils, Bzip2, Coreutils, Flex, Gawk, GCC, Gettext, 961 961 Glibc, Grep, Groff, Gzip, Less, Make and Sed</seg> 962 962 </seglistitem> 963 963 </segmentedlist> … … 1043 1043 <seglistitem> 1044 1044 <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, 1045 1045 Make and Sed</seg> 1046 1046 </seglistitem> 1047 1047 </segmentedlist> … … 1060 1060 <seglistitem> 1061 1061 <seg>Bash, GRUB, Inetutils, Less, Procps, Psmisc, Readline, Texinfo, 1062 1062 Util-linux-ng and Vim</seg> 1063 1063 </seglistitem> 1064 1064 </segmentedlist> … … 1099 1099 <seglistitem> 1100 1100 <seg>Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, 1101 1101 Groff, Make and Sed</seg> 1102 1102 </seglistitem> 1103 1103 </segmentedlist> … … 1154 1154 <seglistitem> 1155 1155 <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, Ncurses 1156 1156 and Sed</seg> 1157 1157 </seglistitem> 1158 1158 </segmentedlist> … … 1210 1210 <seglistitem> 1211 1211 <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, 1212 1212 Sed and Texinfo</seg> 1213 1213 </seglistitem> 1214 1214 </segmentedlist> … … 1238 1238 <seglistitem> 1239 1239 <seg>Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, GCC, 1240 1240 Gettext, Glibc, Grep, Make and Sed</seg> 1241 1241 </seglistitem> 1242 1242 </segmentedlist> … … 1320 1320 <seglistitem> 1321 1321 <seg>Bash, Binutils, Bison, Coreutils, GCC, Gettext, Glibc, 1322 1322 Grep, Inetutils, Make, Sed and Texinfo</seg> 1323 1323 </seglistitem> 1324 1324 </segmentedlist> … … 1348 1348 <seglistitem> 1349 1349 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, 1350 1350 Make and Sed</seg> 1351 1351 </seglistitem> 1352 1352 </segmentedlist> … … 1376 1376 <seglistitem> 1377 1377 <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, 1378 1378 Ncurses, Patch and Sed</seg> 1379 1379 </seglistitem> 1380 1380 </segmentedlist> … … 1458 1458 <seglistitem> 1459 1459 <seg>Bash, Binutils, Coreutils, E2fprogs, GCC, Gettext, Glibc, Grep, 1460 1460 Make, Ncurses, Sed, Texinfo and Zlib</seg> 1461 1461 </seglistitem> 1462 1462 </segmentedlist> … … 1486 1486 <seglistitem> 1487 1487 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, 1488 1488 Ncurses and Sed</seg> 1489 1489 </seglistitem> 1490 1490 </segmentedlist> -
BOOK/appendices/dependencies/x86.xml
r833efa2 re3196bd 22 22 <seglistitem> 23 23 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, 24 24 Ncurses, Sed and Texinfo</seg> 25 25 </seglistitem> 26 26 </segmentedlist> -
BOOK/appendices/ppc/macmiscellany.xml
r833efa2 re3196bd 23 23 <para>The Open Firmware (OF) is the code in ROM or nvram which controls 24 24 how the machine boots. If booting automatically, it will boot from the 25 26 25 first valid blessed partition it finds (this is a simplification, 26 but it is adequate for normal purposes).</para> 27 27 28 29 30 28 <para>It can only read apple filesystems (hfs, hfs+, or hfsx depending 29 on the version of the firmware). For disks under linux, the blessing 30 is done by ybin when it installs yaboot (the loader) and yaboot.conf.</para> 31 31 32 33 34 35 36 32 <para>Mac OS's have a tendency to look at other hfs{,+,x} filesystems 33 on the disk, and unbless them if they do not match their expectations. 34 Unblessing makes them unbootable. Fortunately, a filesystem of type 35 <literal>Apple_Bootstrap</literal> can be read as hfs by the OF, but will 36 be ignored by Mac OS.</para> 37 37 </listitem> 38 38 </varlistentry> … … 41 41 <term><emphasis role="bold">Partitioning</emphasis></term> 42 42 <listitem> 43 44 45 46 47 48 49 50 51 52 53 54 55 43 <para>Macintoshes use their own partition format - this means that other 44 machines are unlikely to be able to read or write to macintosh partitions 45 (in particular, fdisk does not understand them). The format allows a large 46 number of individual partitions, and the native Mac tools had a tendency 47 to insert small "filler" partitions between the real partitions. Under 48 linux, using more than 15 partitions can be problematic (shortage of device 49 nodes), so the normal approach is to use the Mac tools to create an area 50 of freespace at the <emphasis>front</emphasis> of the disk, then put the 51 Mac OS partition(s) after it and (re-)install the Mac OS. The 52 freespace can then be partitioned using <command>parted</command> or the 53 older <command>mac-fdisk</command>. It seems that recent versions of the 54 Mac tools may no longer insert the filler partitions, so it may be 55 possible to do all the partitioning before installing OSX.</para> 56 56 57 58 59 60 61 57 <warning> 58 <para>The Macintosh resizing and partitioning tools are destructive and may 59 delete all data when a partition is resized, even on unaltered partitions. 60 </para> 61 </warning> 62 62 63 64 65 66 67 68 69 63 <para>For the Linux partitions, you will need a bootstrap partition - this 64 can normally be a mere 800KB in size (the smallest hfs partition available) 65 although the Fedora installer has been known to insist on 800MB. This has 66 to be in front of the Mac OS partition. The bootstrap is 67 <emphasis>never</emphasis> mounted as a regular partition and should not 68 be confused with a <literal>/boot</literal> partition. Other partitions 69 are as normal (at least one rootfs, perhaps swap, perhaps others).</para> 70 70 71 72 73 74 75 71 <para>According to the lfs-from-osx hint, the Mac partitioning tools 72 can create an apple_bootstrap partition and therefore there is no need 73 to use a Linux CD to create the desired partitions from freespace, but 74 using a Linux CD to create the partitions is a more widely tested approach. 75 </para> 76 76 77 78 79 80 81 77 <para>If you follow this approach, partition 1 will be the apple partition 78 map, partition 2 will be the bootstrap at the start of the disk, the 79 linux partitions will follow, and then the mac partition(s) - under OSX 80 the first mac partition will be number 3, under OS9 it would have a higher 81 number and there would be some apple driver partitions.</para> 82 82 </listitem> 83 83 </varlistentry> … … 86 86 <term><emphasis role="bold">OSX or OF upgrades</emphasis></term> 87 87 <listitem> 88 89 90 the bootstrap,or else just point the OF boot device to the mac partition91 88 <para>If the machine is dual-booted with OSX, the mac kernel or the OF 89 will probably be upgraded at some point. This appears to either unbless 90 the bootstrap, or else just point the OF boot device to the mac partition 91 - so, the linux system will no longer be bootable.</para> 92 92 93 94 95 96 93 <para>Therefore, you will need to know which partition contains the bootstrap 94 so that you can boot it from OF (on an apple keyboard, hold down 95 option-command-o-f (that is, alt-apple-o-f) while booting then enter a 96 command like:</para> 97 97 98 98 <screen><userinput role="nodump">boot hd:2,yaboot</userinput></screen> 99 99 100 101 100 <para>This will allow you to select a linux boot, and from there you 101 will have to rerun <command>ybin</command>.</para> 102 102 103 104 105 103 <para>The "OS chooser" menu that yaboot typically loads is stored in the 104 OF and will not be available after a Mac kernel or firmware upgrade until 105 <command>ybin</command> has been rerun.</para> 106 106 </listitem> 107 107 </varlistentry> … … 110 110 <term><emphasis role="bold">Yaboot's requirements</emphasis></term> 111 111 <listitem> 112 113 114 115 112 <para>Yaboot is the boot loader for linux, sometimes referred to as 113 the second stage loader. It reads the yaboot.conf file on the bootstrap 114 partition to find which linux system(s) should be available, and 115 attempts to load the required kernel.</para> 116 116 117 118 117 <para>The bootstrap man page warns that the path to the kernel should 118 contain no more than one directory for reliability.</para> 119 119 120 121 122 123 124 125 120 <para>Yaboot has to be able to understand the filesystem, so that it 121 can find the kernel. It understands hfs (not useful for linux, it is 122 not case-sensitive), ext2 (and therefore it can read ext3), reiser3, 123 and xfs. If you want to use a different type of filesystem for '/' 124 you will have to create a separate boot partition with a supported 125 filesystem, and use that to hold the kernels.</para> 126 126 127 127 </listitem> … … 131 131 <term><emphasis role="bold">Requirements if starting from OSX</emphasis></term> 132 132 <listitem> 133 134 135 136 137 138 133 <para>Older versions of OSX (panther, leopard) can write to ext2 134 filesystems using version 1.3 of ext2fsx. The upgrade to tiger broke 135 this, and version 1.4 of ext2fsx only supports reading. Users of 136 current OSX will therefore have to find some other way of creating 137 a suitable filesystem and populating it, such as a Live CD or rescue CD. 138 </para> 139 139 </listitem> 140 140 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.