This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Handbook:HPPA/Installation/Bootloader

From Gentoo Wiki (test)
Jump to:navigation Jump to:search
HPPA Handbook
Installation
About the installation
Choosing the media
Configuring the network
Preparing the disks
Installing stage3
Installing base system
Configuring the kernel
Configuring the system
Installing tools
Configuring the bootloader
Finalizing
Working with Gentoo
Portage introduction
USE flags
Portage features
Initscript system
Environment variables
Working with Portage
Files and directories
Variables
Mixing software branches
Additional tools
Custom package repository
Advanced features
Network configuration
Getting started
Advanced configuration
Modular networking
Wireless
Adding functionality
Dynamic management



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:

FILE /etc/palo.confSimple PALO configuration example
--commandline=2/kernel-3.16.5-gentoo root=/dev/sda4
--recoverykernel=/vmlinux.old
--init-partitioned=/dev/sda

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.

When configuration is done, simply run the palo command:

root #palo


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.

root #exit
cdimage ~#cd
cdimage ~#umount -l /mnt/gentoo/dev{/shm,/pts,}
cdimage ~#umount -R /mnt/gentoo
cdimage ~#reboot

Do not forget to remove the bootable CD, otherwise the CD might be booted again instead of the new Gentoo system.

Once rebooted in the freshly installed Gentoo environment, finish up with Finalizing the Gentoo installation.