This is an archive version of the document. To get the most up-to-date information, see the current version.

Booting from PXE

In this article

    You can extract the contents of the ISO recovery image to a directory to create a PXE bootable environment. For example, if the ISO image is extracted to the /recoverycd directory, to set up the PXE environment, you must complete the following steps:

    1. Copy the ppc/chrp/bootfile.exe file to the TFTP sever directory.
    2. Export the /recoverycd directory over NFS.
    3. Create a DHCP/BOOTP entry for the machine with the 151 option specifying the NFS server IP address and the 152 option specifying the NFS server path.

    The following example displays the usage of ISC dhcpd under RedHat Linux (/etc/dhcp/dhcp.conf).

    option aix-server code 151 = ip-address;
    option aix-path code 152 = text;

    host aix {
     filename "/bootfile.exe";
     option aix-server 192.168.1.100;
     option aix-path "/recoverycd";
    }

    On an AIX NIM Master, the DHCP configuration itself (/etc/dhcpsd.cnf) contains detailed instructions to set up a host in the manner detailed above.

    This is an example section of the /etc/dhcpsd.cnf file used to enable NIM booting of the recovery environment for the machine with MAC address 01:02:03:04:05:06:07:08:

    supportBOOTP yes

    client 6 01:02:03:04:05:06:07:08 192.168.1.199 {
    option sa 192.168.1.100
    option hd /recoverycd/
    option bf bootfile.exe
    }

    The attributes for the NFS server address and directory are set in a similar manner.

    Alternatively, you can explicitly specify the NFS server and directory for the recovery image. To do this, in the NFS server field of the Make recovery CD form, enter a full address (for example, 10.10.14.90:/mnt/SPOT) or just a path to the directory (for example, /mnt/SPOT). To learn more, see Creating Recovery Image.

    Booting from PXE Note:

    If you specify an IP address of the NFS server and path to the NFS directory, then the recovery environment will attempt to boot from the specified NFS server and path. If you specify only a path, then the recovery environment will attempt to use the boot server (either BOOTP or DHCP) and the specified path.