| … | |
… | |
| 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.9 2004/08/24 00:00:35 pylon Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc-bootloader.xml,v 1.10 2004/08/24 14:39:33 sejo Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | <section> |
10 | <section> |
| 11 | <title>Making your Choice</title> |
11 | <title>Making your Choice</title> |
| 12 | <subsection> |
12 | <subsection> |
| … | |
… | |
| 81 | <pre caption = "Installing yaboot"> |
81 | <pre caption = "Installing yaboot"> |
| 82 | # <i>emerge --usepkg --update yaboot</i> |
82 | # <i>emerge --usepkg --update yaboot</i> |
| 83 | </pre> |
83 | </pre> |
| 84 | |
84 | |
| 85 | <p> |
85 | <p> |
| 86 | Now run <c>yabootconfig</c>. The program will run and it will confirm |
86 | Now exit the chroot and run <c>yabootconfig --chroot /mnt/gentoo</c>. The program will run and it will confirm |
| 87 | the location of the bootstrap partition. Type <c>Y</c> if it is correct. If |
87 | the location of the bootstrap partition. Type <c>Y</c> if it is correct. If |
| 88 | not, double check <path>/etc/fstab</path>. yabootconfig will then scan your |
88 | not, double check <path>/etc/fstab</path>. yabootconfig will then scan your |
| 89 | system setup, create <path>/etc/yaboot.conf</path> and run <c>mkofboot</c> for |
89 | system setup, create <path>/etc/yaboot.conf</path> and run <c>mkofboot</c> for |
| 90 | you. <c>mkofboot</c> is used to format the bootstrap partition, and install |
90 | you. <c>mkofboot</c> is used to format the bootstrap partition, and install |
| 91 | the yaboot configuration file into it. |
91 | the yaboot configuration file into it. |
|
|
92 | After this enter the chroot again. |
|
|
93 | </p> |
|
|
94 | <pre caption="enter chroot"> |
|
|
95 | # <i>chroot /mnt/gentoo /bin/bash</i> |
|
|
96 | # <i>/sbin/env-update && source /etc/profile</i> |
| 92 | </p> |
97 | </pre> |
| 93 | |
98 | |
| 94 | <p> |
99 | <p> |
| 95 | You might want to verify the contents of <path>/etc/yaboot.conf</path>. If |
100 | You might want to verify the contents of <path>/etc/yaboot.conf</path>. If |
| 96 | you make changes to <path>/etc/yaboot.conf</path> (like setting the |
101 | you make changes to <path>/etc/yaboot.conf</path> (like setting the |
| 97 | default/boot OS), make sure to rerun <c>ybin -v</c> to apply changes to the |
102 | default/boot OS), make sure to rerun <c>ybin -v</c> to apply changes to the |