| … | |
… | |
| 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-mips-bootloader.xml,v 1.1 2004/04/02 08:14:45 swift Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-bootloader.xml,v 1.2 2004/08/04 08:46:30 swift Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | <section> |
10 | <section> |
| 11 | <title>The MIPS PROM</title> |
11 | <title>The MIPS PROM</title> |
| 12 | <subsection> |
12 | <subsection> |
| … | |
… | |
| 47 | # <i>dvhtool --print-volume-directory</i> |
47 | # <i>dvhtool --print-volume-directory</i> |
| 48 | </pre> |
48 | </pre> |
| 49 | |
49 | |
| 50 | <p> |
50 | <p> |
| 51 | To setup your system to boot Gentoo/MIPS you need to go tweak some settings in |
51 | To setup your system to boot Gentoo/MIPS you need to go tweak some settings in |
| 52 | the MIPS PROM. We will describe this later on when the Gentoo installation has |
52 | the MIPS PROM. |
| 53 | finished. |
|
|
| 54 | </p> |
53 | </p> |
| 55 | |
54 | |
| 56 | <p> |
55 | <p> |
| 57 | Now continue with <uri link="?part=1&chap=10">Installing Necessary System |
56 | Continue with <uri link="#reboot">Rebooting the System</uri>. |
| 58 | Tools</uri>. |
57 | </p> |
|
|
58 | |
|
|
59 | </body> |
|
|
60 | </subsection> |
|
|
61 | </section> |
|
|
62 | <section id="rebooting"> |
|
|
63 | <title>Rebooting the System</title> |
|
|
64 | <subsection> |
|
|
65 | <body> |
|
|
66 | |
|
|
67 | <p> |
|
|
68 | Exit the chrooted environment and unmount all mounted partitions. Then type in |
|
|
69 | that one magical command you have been waiting for: <c>reboot</c>. |
|
|
70 | </p> |
|
|
71 | |
|
|
72 | <pre caption="Exiting the chroot, unmounting all partitions and rebooting"> |
|
|
73 | # <i>exit</i> |
|
|
74 | cdimage ~# <i>umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo</i> |
|
|
75 | cdimage ~# <i>reboot</i> |
|
|
76 | </pre> |
|
|
77 | |
|
|
78 | </body> |
|
|
79 | </subsection> |
|
|
80 | </section> |
|
|
81 | <section> |
|
|
82 | <title>Tweaking the MIPS PROM</title> |
|
|
83 | <subsection> |
|
|
84 | <body> |
|
|
85 | |
|
|
86 | <p> |
|
|
87 | When you are rebooted, go to the <e>System Maintenance Menu</e> and select |
|
|
88 | <e>Enter Command Monitor</e> (<c>5</c>). If you want to test your new Gentoo |
|
|
89 | installation, you can just run <c>boot -f <kernel name></c>. To have your |
|
|
90 | system permanently boot into the Gentoo installation, you need to set some |
|
|
91 | variables in the MIPS PROM: |
|
|
92 | </p> |
|
|
93 | |
|
|
94 | <pre caption="Configuring the PROM to Boot Gentoo"> |
|
|
95 | 1) Start System |
|
|
96 | 2) Install System Software |
|
|
97 | 3) Run Diagnostics |
|
|
98 | 4) Recover System |
|
|
99 | 5) Enter Command Monitor |
|
|
100 | |
|
|
101 | Option? <i>5</i> |
|
|
102 | Command Monitor. Type "exit" to return to the menu. |
|
|
103 | |
|
|
104 | <comment>(<root device> = Gentoo's root partition, e.g. /dev/sda3)</comment> |
|
|
105 | >> <i>setenv OSLoadPartition <root device></i> |
|
|
106 | |
|
|
107 | <comment>(To list the available kernels, type "ls")</comment> |
|
|
108 | >> <i>setenv OSLoader <kernel name></i> |
|
|
109 | >> <i>setenv OSLoadFilename <kernel name></i> |
|
|
110 | |
|
|
111 | <comment>(Declare the kernel parameters you want to pass)</comment> |
|
|
112 | >> <i>setenv OSLoadOptions <kernel parameters></i> |
|
|
113 | |
|
|
114 | <comment>(Provide the location of the Volume Header)</comment> |
|
|
115 | >> <i>setenv SystemPartition scsi(0)disk(1)rdisk(0)partition(8)</i> |
|
|
116 | |
|
|
117 | <comment>(Automatically boot Gentoo)</comment> |
|
|
118 | >> <i>setenv AutoLoad Yes</i> |
|
|
119 | |
|
|
120 | <comment>(Set the timezone)</comment> |
|
|
121 | >> <i>setenv TimeZone EST5EDT</i> |
|
|
122 | |
|
|
123 | <comment>(Use the serial console - graphic adapter users should have "g" instead of "d1" (one))</comment> |
|
|
124 | >> <i>setenv console d1</i> |
|
|
125 | </pre> |
|
|
126 | |
|
|
127 | <p> |
|
|
128 | Now you're ready to enjoy Gentoo! Boot in your Gentoo installation and finish |
|
|
129 | up with <uri link="?part=1&chap=11">Finalizing your Gentoo |
|
|
130 | Installation</uri>. |
| 59 | </p> |
131 | </p> |
| 60 | |
132 | |
| 61 | </body> |
133 | </body> |
| 62 | </subsection> |
134 | </subsection> |
| 63 | </section> |
135 | </section> |