Handbook:HPPA/Installation/Bootloader
Installing PALO
On the PA-RISC platform, the boot loader is called palo. First merge this bootloader to the system:
root #
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-6.6.13-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-6.6.13-gentoo
means the kernel named /kernel-6.6.13-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:
root #
palo --format-as=4 --init-partitioned=/dev/sda
When configuration is done, simply run the palo command:
root #
palo
The configuration must then be updated for post-first-install use:
--commandline=2/kernel-6.6.13-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
Rebooting the system
Exit the chrooted environment and unmount all mounted partitions. Then type in that one magical command that initiates the final, true test: reboot.
(chroot) livecd #
exit
livecd~#
cd
livecd~#
umount -l /mnt/gentoo/dev{/shm,/pts,}
livecd~#
umount -R /mnt/gentoo
livecd~#
reboot
Do not forget to remove the live image, otherwise it may be targeted again instead of the newly installed Gentoo system!
Once rebooted in the fresh Gentoo environment, it is wise to finish with Finalizing the Gentoo installation.