30.2.3. Configuring for Power Systems Servers
- If tftp-server is not yet installed, run
yum install tftp-server
. - In the tftp-server config file at
/etc/xinetd.d/tftp
, change thedisabled
parameter fromyes
tono
. - Configure your DHCP server to use the boot images packaged with yaboot. (If you do not have a DHCP server installed, refer to the DHCP Servers chapter in the Red Hat Enterprise Linux Deployment Guide.)A sample configuration in
/etc/dhcp/dhcpd.conf
might look like:host bonn { filename "yaboot"; next-server 10.32.5.1; hardware ethernet 00:0e:91:51:6a:26; fixed-address 10.32.5.144; }
- You now need the
yaboot
binary file from theyaboot
package in the ISO image file. To access it, run the following commands as root:mkdir /publicly_available_directory/yaboot-unpack
mount -t iso9660 /path_to_image/name_of_image.iso /mount_point -o loop,ro
cp -pr /mount_point/Packages/yaboot-version.ppc.rpm /publicly_available_directory/yaboot-unpack
Extract the package:cd /publicly_available_directory/yaboot-unpack
rpm2cpio yaboot-version.ppc.rpm | cpio -dimv
- Create a
yaboot
directory withintftpboot
and copy theyaboot
binary file into it:mkdir /var/lib/tftpboot/yaboot
cp publicly_available_directory/yaboot-unpack/usr/lib/yaboot/yaboot /var/lib/tftpboot/yaboot
- Add a config file named
yaboot.conf
to this directory. A sample config file might look like:init-message = "\nWelcome to the Red Hat Enterprise Linux 6 installer!\n\n" timeout=60 default=rhel6 image=/rhel6/vmlinuz-RHEL6 label=linux alias=rhel6 initrd=/rhel6/initrd-RHEL6.img append="repo=http://10.32.5.1/mnt/archive/redhat/released/RHEL-6/6.x/Server/ppc64/os/" read-only
For instructions on how to specify the installation source, refer to Section 7.1.3, “Additional Boot Options” - Copy the boot images from the extracted ISO into your
tftp
root directory:cp /mount_point/images/ppc/ppc64/vmlinuz /var/lib/tftpboot/yaboot/rhel6/vmlinuz-RHEL6
cp /mount_point/images/ppc/ppc64/initrd.img /var/lib/tftpboot/yaboot/rhel6/initrd-RHEL6.img
- Clean up by removing the
yaboot-unpack
directory and unmounting the ISO:rm -rf /publicly_available_directory/yaboot-unpack
umount /mount_point
- Boot the client system, and select the network device as your boot device when prompted.