/[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.10 Revision 1.11
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.10 2005/02/14 14:59:19 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-bootloader.xml,v 1.11 2005/03/30 07:56:14 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>1.6</version> 11<version>1.7</version>
12<date>2005-02-14</date> 12<date>2005-03-30</date>
13 13
14<section id="sgi"> 14<section id="sgi">
15<title>Silicon Graphics Machines -- Setting Up Arcboot</title> 15<title>Silicon Graphics Machines -- Setting Up Arcboot</title>
16<subsection> 16<subsection>
17<title>Installing arcboot</title> 17<title>Installing arcboot</title>
229documentation (have a peek at 229documentation (have a peek at
230<path>/usr/share/doc/colo-X.YY/README.shell.gz</path> -- where X.YY is the 230<path>/usr/share/doc/colo-X.YY/README.shell.gz</path> -- where X.YY is the
231version installed), and is very simple. 231version installed), and is very simple.
232</p> 232</p>
233 233
234<note>
235Just a tip: when installing kernels, I usually create two kernel images,
236<path>kernel.gz.working</path> -- a known working kernel, and
237<path>kernel.gz.new</path> -- a kernel that's just been compiled. You can either
238use symlinks to point to the curent "new" and "working" kernels, or just rename
239the kernel images.
240</note>
241
234<pre caption="A basic default.colo"> 242<pre caption="A basic default.colo">
235<comment>#:CoLo:#</comment> 243<comment>#:CoLo:#</comment>
236mount hda1 244mount hda1
237load /vmlinux-working.gz 245load /kernel.gz.working
238execute root=/dev/hda3 ro console=ttyS0,115200 246execute root=/dev/hda3 ro console=ttyS0,115200
239</pre> 247</pre>
240 248
241<note> 249<note>
242CoLo will refuse to load a script that does not begin with the <c>#:CoLo:#</c> 250CoLo will refuse to load a script that does not begin with the <c>#:CoLo:#</c>
247<p> 255<p>
248It is also possible to ask a question, such as which kernel &amp; configuration 256It is also possible to ask a question, such as which kernel &amp; configuration
249you'd like to boot, with a default timeout. This is the configuration I use on 257you'd like to boot, with a default timeout. This is the configuration I use on
250my Cobalt server: 258my Cobalt server:
251</p> 259</p>
260
261<impo>
262Please note that you need to be using CoLo v1.12 or v1.13 to use the <c>menu</c>
263command. The following example won't work with v1.11.
264</impo>
265
266<impo>
267The <c>menu</c> command was replaced by the <c>select</c> command in CoLo v1.14.
268If you've installed a later version by hand, have a look at
269<path>menu.colo</path> in the <path>examples</path> subdirectory of the CoLo
270distribution.
271</impo>
252 272
253<pre caption="Menu-based configuration"> 273<pre caption="Menu-based configuration">
254<comment>#:CoLo:#</comment> 274<comment>#:CoLo:#</comment>
255 275
256lcd "Mounting hda1" 276lcd "Mounting hda1"
257mount hda1 277mount hda1
258menu "Which Kernel?" 50 Working working New new 278menu "Which Kernel?" 50 Working working New new
259lcd "Loading Linux" {menu-option} 279lcd "Loading Linux" {menu-option}
260load /vmlinux.gz.{menu-option} 280load /kernel.gz.{menu-option}
261lcd "Booting..." 281lcd "Booting..."
262execute root=/dev/hda5 ro console=ttyS0,115200 282execute root=/dev/hda5 ro console=ttyS0,115200
263boot 283boot
264</pre> 284</pre>
265 285

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20