/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-ppc-bootloader.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-ppc-bootloader.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.21 Revision 1.22
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-bootloader.xml,v 1.21 2005/03/28 11:30:52 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-bootloader.xml,v 1.22 2005/04/10 22:41:44 josejx Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>2.00</version> 11<version>2.01</version>
12<date>2005-03-28</date> 12<date>2005-04-10</date>
13 13
14<section> 14<section>
15<title>Making your Choice</title> 15<title>Making your Choice</title>
16<subsection> 16<subsection>
17<title>Introduction</title> 17<title>Introduction</title>
26</p> 26</p>
27 27
28<p> 28<p>
29Several bootloaders exist for Linux/PPC. We have <uri link="#yaboot">yaboot</uri> 29Several bootloaders exist for Linux/PPC. We have <uri link="#yaboot">yaboot</uri>
30(for NewWorld Apple and IBM machines) and <uri link="#bootx">BootX</uri> (for 30(for NewWorld Apple and IBM machines) and <uri link="#bootx">BootX</uri> (for
31OldWorld Apple and IBM machines). The Pegasos does not require a bootloader, but 31OldWorld Apple machines). The Pegasos does not require a bootloader, but
32we included the <uri link="#bootcreator">BootCreator</uri> for creating a 32we included the <uri link="#bootcreator">BootCreator</uri> for creating a
33SmartFirmware bootmenu. 33SmartFirmware bootmenu.
34</p> 34</p>
35 35
36</body> 36</body>
224<section id="bootx"> 224<section id="bootx">
225<title>Alternative: BootX</title> 225<title>Alternative: BootX</title>
226<body> 226<body>
227 227
228<impo> 228<impo>
229BootX can only be used on OldWorld Apple and IBM systems! 229BootX can only be used on OldWorld Apple systems!
230</impo> 230</impo>
231 231
232<p> 232<p>
233BootX requires that you reboot first. So, let's reboot shall we :) 233Since BootX boots Linux from within MacOS, you'll need to copy the kernel you've
234</p> 234just compiled from your Linux partition. To do this, you'll need to first mount
235 235your MacOS partition from outside of the chroot. You can use mac-fdisk to find
236your MacOS partition number, but we'll use sda6 as an example here. Once the
237partition is mounted, we'll copy the kernel to the system folder so BootX can
238find it.
236<p> 239</p>
237First exit the chrooted environment and unmount all mounted partitions, then
238type in the one magical command you have been waiting for: <c>reboot</c>.
239</p>
240 240
241<pre caption="Exiting the chroot, unmounting all partitions and rebooting"> 241<pre caption="Mounting your MacOS partition">
242# <i>exit</i> 242# <i>exit</i>
243cdimage ~# <i>mkdir /mnt/mac</i>
244cdimage ~# <i>mount /dev/sda6 /mnt/mac -t hfs</i>
245cdimage ~# <i>cp /mnt/gentoo/usr/src/linux/vmlinux "/mnt/mac/System Folder/"</i>
246</pre>
247
248<p>
249Now that the kernel is copied over, we can unmount all mounted filesystems and
250enter that one magical command that you have been waiting for: <c>reboot</c>.
251</p>
252
253<pre caption="Unmounting all partitions and rebooting">
243cdimage ~# <i>cd</i> 254cdimage ~# <i>cd /</i>
244cdimage ~# <i>umount /mnt/gentoo/proc /mnt/gentoo</i> 255cdimage ~# <i>umount /mnt/gentoo/proc /mnt/gentoo /mnt/mac</i>
245cdimage ~# <i>reboot</i> 256cdimage ~# <i>reboot</i>
246</pre> 257</pre>
247 258
248<p> 259<p>
249Of course, don't forget to remove the bootable CD, otherwise the CD will be 260Of course, don't forget to remove all bootable media, we need to boot into MacOS
250booted again instead of MacOS. 261this time.
251</p>
252
253<p> 262</p>
263
264<p>
254Now your machine is booted in MacOS, open the BootX control panel. Select 265Now that your machine has booted into MacOS, open the BootX control panel and
255<c>Options</c> and uncheck <c>Used specified RAM disk</c>. When you return to 266Select <c>Options</c> and uncheck <c>Used specified RAM disk</c>. When you
256the BootX main screen, you will now find an option to specify your machine's 267return to the BootX main screen, you will now find an option to specify your
257root disk and partition. Fill these in with the appropriate values. 268machine's root disk and partition. Fill these in with the appropriate values.
258</p> 269Depending upon your kernel configuration, you may need to append some of the
259 270settings used to boot the LiveCD such as the video option.
260<p> 271</p>
272
273<p>
261BootX can be configured to start Linux upon boot. If you do this, you will first 274BootX can be configured to start Linux upon boot. If you chose to do this, the
262see your machine boot into MacOS then, during startup, BootX will load and start 275computer will boot into MacOS and then during startup load BootX which in turn
263Linux. See the <uri link="http://penguinppc.org/bootloaders/bootx/">BootX home 276starts Linux. See the <uri link="http://penguinppc.org/bootloaders/bootx/">
264page</uri> for more information. 277Boot X home page</uri> for more information.
265</p> 278</p>
266 279
267<p> 280<p>
268Now reboot again and boot into Linux, then continue with <uri 281Now reboot again and boot into Linux, then continue with <uri
269link="?part=1&amp;chap=11">Finalizing your Gentoo Installation</uri>. 282link="?part=1&amp;chap=11">Finalizing your Gentoo Installation</uri>.

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.20