Sun N1 Service Provisioning System User's Guide and Release Notes for the OS Provisioning Plug-In 2.0

ProcedureHow to Set up TFTP Access

The distribution should be accessible through NFS for each subnet served from this boot and install server.

Steps
  1. Look for the server_args parameter in the /etc/xinet.d/tftp file.

    This defines the root directory used by the TFTP server. If the directory does not exist, create it.


    Note –

    This task uses /tftpboot as an example.


  2. Enable TFTP and restart the xinetd daemon.

    Use commands similar to the following example, which works on RedHat AS 3.0:


    #chkconfig tftp on
      #service xinetd restart
    
  3. Copy or create the following directories under the TFTP root directory:

    • /tftpboot/pxelinux.0 – You can download the Linux PXE bootstrap file from http://syslinux.zytor.com/pxe.php.

    • /tftpboot/pxelinux.cfg/ – This directory contains the PXE configuration files. These files contain parameters specific to each hardware platform and Linux distribution.

    • /tftpboot/pxelinux.cfg/v20z-config – A specific directory for the V20z platform.

    • /tftpboot/vmlinuz – The installation kernel found under the distribution, in /images/pxeboot.

    • /tftpboot/initrd.img – The installation RAM disk found under the distribution, in /images/pxeboot.


Example 6–1 Sample PXE Configuration File

The following example shows the PXE configuration file for a SunFire V20z system.

default el30 ks
serial 0 9600
label el30
kernel vmlinuz
append linksleep=30 ksdevice=eth0 console=tty0 console=ttyS1,9600 load_ramdisk=1 initrd=initrd.img network

Where: