<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE sections SYSTEM "/dtd/book.dtd">

<!-- 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-mips-bootloader.xml,v 1.1 2004/04/02 08:14:45 swift Exp $ -->

<sections>
<section>
<title>The MIPS PROM</title>
<subsection>
<body>

<p>
MIPS doesn't require that you install a bootloader. The MIPS PROM handles the
booting, but you need to install your kernel as a viable option. 
</p>

<p>
First, install <c>dvhtool</c>, needed to copy the kernel to the SGI Volume
Header.
</p>

<pre caption="Installing dvhtool">
# <i>emerge dvhtool</i>
</pre>

<p>
Now copy over the kernel to the SGI Volume Header. By default <c>dvhtool</c>
assumes that the SGI Volume Header is on <path>/dev/sda</path>. If this is not
the case (for instance when IRIX is installed on <path>/dev/sda</path> and
Gentoo/MIPS on <path>/dev/sdb</path>) you need to inform <c>dvhtool</c> about it
using <c>-d &lt;device&gt;</c>.
</p>

<pre caption="Copying a kernel to the SGI Volume Header">
# <i>dvhtool --unix-to-vh &lt;kernel name in /boot&gt; &lt;name you want to give in volume header&gt;</i>
</pre>

<p>
If you want to see all available entries in the volume, use
<c>--print-volume-directory</c>:
</p>

<pre caption="Viewing all available entries in the volume">
# <i>dvhtool --print-volume-directory</i>
</pre>

<p>
To setup your system to boot Gentoo/MIPS you need to go tweak some settings in
the MIPS PROM. We will describe this later on when the Gentoo installation has
finished.
</p>

<p>
Now continue with <uri link="?part=1&amp;chap=10">Installing Necessary System
Tools</uri>.
</p>

</body>
</subsection>
</section>
</sections>
