30.2.3. Configuring for Power Systems Servers

  1. If tftp-server is not yet installed, run yum install tftp-server.
  2. In the tftp-server config file at /etc/xinetd.d/tftp, change the disabled parameter from yes to no.
  3. 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;
            }
    
  4. You now need the yaboot binary file from the yaboot 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
  5. Create a yaboot directory within tftpboot and copy the yaboot binary file into it:
    mkdir /var/lib/tftpboot/yaboot
    cp publicly_available_directory/yaboot-unpack/usr/lib/yaboot/yaboot /var/lib/tftpboot/yaboot
  6. 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”
  7. 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
  8. Clean up by removing the yaboot-unpack directory and unmounting the ISO:
    rm -rf /publicly_available_directory/yaboot-unpack
    umount /mount_point
  9. Boot the client system, and select the network device as your boot device when prompted.