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

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

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

Revision 1.1 Revision 1.2
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>
51To setup your system to boot Gentoo/MIPS you need to go tweak some settings in 51To setup your system to boot Gentoo/MIPS you need to go tweak some settings in
52the MIPS PROM. We will describe this later on when the Gentoo installation has 52the MIPS PROM.
53finished.
54</p> 53</p>
55 54
56<p> 55<p>
57Now continue with <uri link="?part=1&amp;chap=10">Installing Necessary System 56Continue with <uri link="#reboot">Rebooting the System</uri>.
58Tools</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>
68Exit the chrooted environment and unmount all mounted partitions. Then type in
69that 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>
74cdimage ~# <i>umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo</i>
75cdimage ~# <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>
87When 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
89installation, you can just run <c>boot -f &lt;kernel name&gt;</c>. To have your
90system permanently boot into the Gentoo installation, you need to set some
91variables in the MIPS PROM:
92</p>
93
94<pre caption="Configuring the PROM to Boot Gentoo">
951) Start System
962) Install System Software
973) Run Diagnostics
984) Recover System
995) Enter Command Monitor
100
101Option? <i>5</i>
102Command Monitor. Type "exit" to return to the menu.
103
104<comment>(&lt;root device&gt; = Gentoo's root partition, e.g. /dev/sda3)</comment>
105&gt;&gt; <i>setenv OSLoadPartition &lt;root device&gt;</i>
106
107<comment>(To list the available kernels, type "ls")</comment>
108&gt;&gt; <i>setenv OSLoader &lt;kernel name&gt;</i>
109&gt;&gt; <i>setenv OSLoadFilename &lt;kernel name&gt;</i>
110
111<comment>(Declare the kernel parameters you want to pass)</comment>
112&gt;&gt; <i>setenv OSLoadOptions &lt;kernel parameters&gt;</i>
113
114<comment>(Provide the location of the Volume Header)</comment>
115&gt;&gt; <i>setenv SystemPartition scsi(0)disk(1)rdisk(0)partition(8)</i>
116
117<comment>(Automatically boot Gentoo)</comment>
118&gt;&gt; <i>setenv AutoLoad Yes</i>
119
120<comment>(Set the timezone)</comment>
121&gt;&gt; <i>setenv TimeZone EST5EDT</i>
122
123<comment>(Use the serial console - graphic adapter users should have "g" instead of "d1" (one))</comment>
124&gt;&gt; <i>setenv console d1</i>
125</pre>
126
127<p>
128Now you're ready to enjoy Gentoo! Boot in your Gentoo installation and finish
129up with <uri link="?part=1&amp;chap=11">Finalizing your Gentoo
130Installation</uri>.
59</p> 131</p>
60 132
61</body> 133</body>
62</subsection> 134</subsection>
63</section> 135</section>

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20