On the PA-RISC platform, the boot loader is called palo. First merge this bootloader to the system:
emerge --ask sys-boot/palo
The configuration file will be found at /etc/palo.conf. Below is a sample configuration:
This configuration must be changed after running palo for the first time! See below for after first setup.
--commandline=2/kernel-3.16.5-gentoo root=/dev/sda4 --recoverykernel=/vmlinux.old # DELETE this line after running palo for the first time! --init-partitioned=/dev/sda # --format-as has two meanings depending on whether --init-partitioned or --update-partitioned is used. Keep this line. --format-as=4
The first line tells palo the location of the kernel and which boot parameters it must use. The string
2/kernel-3.16.5-gentoo means the kernel named /kernel-3.16.5-gentoo resides on the second partition. Beware, the path to the kernel is relative to the boot partition, not to the root partition.
The second line indicates which recovery kernel to use. If it is the first install and there is no recovery kernel (yet), please comment this out. The third line indicates on which disk palo will reside.
To format the disk, palo must be run with certain arguments. This example uses ext4 for the first partition.
palo --format-as=4 --init-partitioned=/dev/sda
When configuration is done, simply run the palo command:
The configuration must then be updated for post-first-install use:
--commandline=2/kernel-3.16.5-gentoo root=/dev/sda4 --recoverykernel=/vmlinux.old # Don't throw away the old partition, just update the existing one on `palo` runs. --update-partitioned=/dev/sda # --format-as has two meanings depending on whether --init-partitioned or --update-partitioned is used. Keep this line. --format-as=4