josejx 05/04/10 22:41:44 Modified: xml/htdocs/doc/en/handbook hb-install-ppc-bootloader.xml Log: Corrected BootX installation procedure.
Revision Changes Path 1.22 +35 -22 xml/htdocs/doc/en/handbook/hb-install-ppc-bootloader.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-ppc-bootloader.xml?rev=1.22&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-ppc-bootloader.xml?rev=1.22&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/handbook/hb-install-ppc-bootloader.xml.diff?r1=1.21&r2=1.22&cvsroot=gentoo Index: hb-install-ppc-bootloader.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-bootloader.xml,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- hb-install-ppc-bootloader.xml 28 Mar 2005 11:30:52 -0000 1.21 +++ hb-install-ppc-bootloader.xml 10 Apr 2005 22:41:44 -0000 1.22 @@ -4,12 +4,12 @@ <!-- The content of this document is licensed under the CC-BY-SA license --> <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> -<!-- $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 $ --> +<!-- $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 $ --> <sections> -<version>2.00</version> -<date>2005-03-28</date> +<version>2.01</version> +<date>2005-04-10</date> <section> <title>Making your Choice</title> @@ -28,7 +28,7 @@ <p> Several bootloaders exist for Linux/PPC. We have <uri link="#yaboot">yaboot</uri> (for NewWorld Apple and IBM machines) and <uri link="#bootx">BootX</uri> (for -OldWorld Apple and IBM machines). The Pegasos does not require a bootloader, but +OldWorld Apple machines). The Pegasos does not require a bootloader, but we included the <uri link="#bootcreator">BootCreator</uri> for creating a SmartFirmware bootmenu. </p> @@ -226,42 +226,55 @@ <body> <impo> -BootX can only be used on OldWorld Apple and IBM systems! +BootX can only be used on OldWorld Apple systems! </impo> <p> -BootX requires that you reboot first. So, let's reboot shall we :) +Since BootX boots Linux from within MacOS, you'll need to copy the kernel you've +just compiled from your Linux partition. To do this, you'll need to first mount +your MacOS partition from outside of the chroot. You can use mac-fdisk to find +your MacOS partition number, but we'll use sda6 as an example here. Once the +partition is mounted, we'll copy the kernel to the system folder so BootX can +find it. </p> +<pre caption="Mounting your MacOS partition"> +# <i>exit</i> +cdimage ~# <i>mkdir /mnt/mac</i> +cdimage ~# <i>mount /dev/sda6 /mnt/mac -t hfs</i> +cdimage ~# <i>cp /mnt/gentoo/usr/src/linux/vmlinux "/mnt/mac/System Folder/"</i> +</pre> + <p> -First exit the chrooted environment and unmount all mounted partitions, then -type in the one magical command you have been waiting for: <c>reboot</c>. +Now that the kernel is copied over, we can unmount all mounted filesystems and +enter that one magical command that you have been waiting for: <c>reboot</c>. </p> -<pre caption="Exiting the chroot, unmounting all partitions and rebooting"> -# <i>exit</i> -cdimage ~# <i>cd</i> -cdimage ~# <i>umount /mnt/gentoo/proc /mnt/gentoo</i> +<pre caption="Unmounting all partitions and rebooting"> +cdimage ~# <i>cd /</i> +cdimage ~# <i>umount /mnt/gentoo/proc /mnt/gentoo /mnt/mac</i> cdimage ~# <i>reboot</i> </pre> <p> -Of course, don't forget to remove the bootable CD, otherwise the CD will be -booted again instead of MacOS. +Of course, don't forget to remove all bootable media, we need to boot into MacOS +this time. </p> <p> -Now your machine is booted in MacOS, open the BootX control panel. Select -<c>Options</c> and uncheck <c>Used specified RAM disk</c>. When you return to -the BootX main screen, you will now find an option to specify your machine's -root disk and partition. Fill these in with the appropriate values. +Now that your machine has booted into MacOS, open the BootX control panel and +Select <c>Options</c> and uncheck <c>Used specified RAM disk</c>. When you +return to the BootX main screen, you will now find an option to specify your +machine's root disk and partition. Fill these in with the appropriate values. +Depending upon your kernel configuration, you may need to append some of the +settings used to boot the LiveCD such as the video option. </p> <p> -BootX can be configured to start Linux upon boot. If you do this, you will first -see your machine boot into MacOS then, during startup, BootX will load and start -Linux. See the <uri link="http://penguinppc.org/bootloaders/bootx/">BootX home -page</uri> for more information. +BootX can be configured to start Linux upon boot. If you chose to do this, the +computer will boot into MacOS and then during startup load BootX which in turn +starts Linux. See the <uri link="http://penguinppc.org/bootloaders/bootx/"> +Boot X home page</uri> for more information. </p> <p> -- [email protected] mailing list
