<?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/2.5 -->

<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-hppa-bootloader.xml,v 1.14 2006/08/30 22:52:28 nightmorph Exp $ -->

<sections>

<version>7.0</version>
<date>2006-08-30</date>

<section>
<title>Installing PALO</title>
<body>

<p>
On the PA-RISC platform, the boot loader is called palo.  You may need to 
emerge it on your machine first.
</p>

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

<p>
You can find the configuration file in <path>/etc/palo.conf</path>.  Here is a 
sample configuration:
</p>

<pre caption = "/etc/palo.conf example">
--commandline=2/kernel-2.6.12.2-pa2 root=/dev/sda4
--recoverykernel=/vmlinux.old
--init-partitioned=/dev/sda
</pre>

<p>
The first line tells palo the location of the kernel and which boot 
parameters it must use.  <c>2/kernel-2.6.12.2-pa2</c> means the kernel named 
<c>/kernel-2.6.12.2-pa2</c> resides on the second partition.  Beware, the path 
to the kernel is relative to the boot partition, not to the root partition.
</p>

<p>
The second line indicates which recovery kernel to use.  If it is your
first install and you do not have a recovery kernel, please comment this
out.  The third line indicates on which disk palo will reside. 
</p>

<p>
When configuration is done, just run <c>palo</c>.
</p>

<pre caption = "Applying the PALO configuration">
# <i>palo</i>
</pre>

<p>
Now continue with <uri link="#reboot">Rebooting the System</uri>.
</p>

</body>
</section>
<section id="reboot">
<title>Rebooting the System</title>
<subsection>
<body>

<p>
Exit the chrooted environment and unmount all mounted partitions. Then type in 
that one magical command you have been waiting for: <c>reboot</c>.
</p>

<pre caption="Exiting the chroot, unmounting all partitions and rebooting">
# <i>exit</i>
cdimage ~# <i>cd</i>
cdimage ~# <i>umount /mnt/gentoo/boot /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo</i>
cdimage ~# <i>reboot</i>
</pre>

<p>
Of course, don't forget to remove the bootable CD, otherwise the CD will be
booted again instead of your new Gentoo system.
</p>

<p>
Once rebooted in your Gentoo installation, finish up with <uri
link="?part=1&amp;chap=11">Finalizing your Gentoo Installation</uri>.
</p>

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