<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >PXE Boot Configuration</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ "><LINK REL="HOME" TITLE="Network Booting" HREF="index.html"><LINK REL="UP" TITLE="PXE Network Installations" HREF="ch-pxe.html"><LINK REL="PREVIOUS" TITLE="PXE Network Installations" HREF="ch-pxe.html"><LINK REL="NEXT" TITLE="Adding PXE Hosts" HREF="s1-netboot-add-hosts.html"><LINK REL="STYLESHEET" TYPE="text/css" HREF="rhdocs-man.css"></HEAD ><BODY CLASS="SECT1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Network Booting</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="ch-pxe.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Chapter 1. PXE Network Installations</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="s1-netboot-add-hosts.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="S1-NETBOOT-PXE-CONFIG" ></A >1.2. PXE Boot Configuration</H1 ><P > The next step is to copy the files necessary to start the installation to the <TT CLASS="COMMAND" >tftp</TT > server so they can be found when the client requests them. The <TT CLASS="COMMAND" >tftp</TT > server is usually the same server as the network server exporting the installation tree. </P ><P > To copy these files, run the <B CLASS="APPLICATION" >Network Booting Tool</B > on the NFS, FTP, or HTTP server. A separate PXE server is not necessary. </P ><P > For the command line version of these instructions, refer to <A HREF="s1-netboot-pxe-config.html#S2-NETBOOT-PXEOS" >Section 1.2.1 <I >Command Line Configuration</I ></A >. </P ><P > To use the graphical version of the <B CLASS="APPLICATION" >Network Booting Tool</B >, you must be running the X Window System, have root privileges, and have the <TT CLASS="FILENAME" >system-config-netboot</TT > RPM package installed. To start the <B CLASS="APPLICATION" >Network Booting Tool</B > from the desktop, go to the <B CLASS="GUIMENU" >Main Menu Button</B > (on the Panel) => <B CLASS="GUIMENUITEM" >System Settings</B > => <B CLASS="GUIMENUITEM" >Server Settings</B > => <B CLASS="GUIMENUITEM" >Network Booting Service</B >. Or, type the command <TT CLASS="COMMAND" >system-config-netboot</TT > at a shell prompt (for example, in an <B CLASS="APPLICATION" >XTerm</B > or a <B CLASS="APPLICATION" >GNOME terminal</B >). </P ><P > If starting the <B CLASS="APPLICATION" >Network Booting Tool</B > for the first time, select <B CLASS="GUIBUTTON" >Network Install</B > from the <B CLASS="GUILABEL" >First Time Druid</B >. Otherwise, select <B CLASS="GUIMENU" >Configure</B > => <B CLASS="GUIMENUITEM" >Network Installation</B > from the pull-down menu, and then click <B CLASS="GUIBUTTON" >Add</B >. The dialog in <A HREF="s1-netboot-pxe-config.html#FIG-NETWORK-INSTALL-SETUP" >Figure 1-1</A > is displayed. </P ><DIV CLASS="FIGURE" ><A NAME="FIG-NETWORK-INSTALL-SETUP" ></A ><DIV CLASS="MEDIAOBJECT" ><P ><IMG SRC="./figs/pxe/network-install-setup.png"></P ></DIV ><P ><B >Figure 1-1. Network Installation Setup</B ></P ></DIV ><P > Provide the following information: </P ><P ></P ><UL ><LI ><P ><B CLASS="GUILABEL" >Operating system identifier</B > — Provide a unique name using one word to identify the Red Hat Enterprise Linux version and variant. It is used as the directory name in the <TT CLASS="FILENAME" >/tftpboot/linux-install/</TT > directory.</P ></LI ><LI ><P ><B CLASS="GUILABEL" >Description</B > — Provide a brief description of the Red Hat Enterprise Linux version and variant.</P ></LI ><LI ><P ><B CLASS="GUILABEL" >Select protocol for installation</B > — Select NFS, FTP, or HTTP as the network installation type depending on which one was configured previously. If FTP is selected and anonymous FTP is not being used, uncheck <B CLASS="GUILABEL" >Anonymous FTP</B > and provide a valid username and password combination.</P ></LI ><LI ><P ><B CLASS="GUILABEL" >Server</B > — Provide the IP address or domain name of the NFS, FTP, or HTTP server.</P ></LI ><LI ><P ><B CLASS="GUILABEL" >Location</B > — Provide the directory shared by the network server. If FTP or HTTP was selected, the directory must be relative to the default directory for the FTP server or the document root for the HTTP server. For all network installations, the directory provided must contain the <TT CLASS="FILENAME" >RedHat/</TT > directory of the installation tree.</P ></LI ></UL ><P > After clicking <B CLASS="GUIBUTTON" >OK</B >, the <TT CLASS="FILENAME" >initrd.img</TT > and <TT CLASS="FILENAME" >vmlinuz</TT > files necessary to boot the installation program are transfered from <TT CLASS="FILENAME" >images/pxeboot/</TT > in the provided installation tree to <TT CLASS="FILENAME" >/tftpboot/linux-install/<TT CLASS="REPLACEABLE" ><I ><os-identifier></I ></TT >/</TT > on the <TT CLASS="COMMAND" >tftp</TT > server (the one you are running the <B CLASS="APPLICATION" >Network Booting Tool</B > on). </P ><DIV CLASS="SECT2" ><H2 CLASS="SECT2" ><A NAME="S2-NETBOOT-PXEOS" ></A >1.2.1. Command Line Configuration</H2 ><P > If the network server is not running X, the <TT CLASS="COMMAND" >pxeos</TT > command line utility, which is part of the <TT CLASS="FILENAME" >system-config-netboot</TT > package, can be used to configure the <TT CLASS="COMMAND" >tftp</TT > server files as described in <A HREF="s1-netboot-tftp.html" >Section 1.4 <I >Starting the <TT CLASS="COMMAND" >tftp</TT > Server</I ></A >: </P ><TABLE CLASS="SCREEN" BGCOLOR="#DCDCDC" WIDTH="100%" ><TR ><TD ><PRE CLASS="SCREEN" ><TT CLASS="COMMAND" >pxeos -a -i "<TT CLASS="REPLACEABLE" ><I ><description></I ></TT >" -p <NFS|HTTP|FTP> -D 0 -s <TT CLASS="REPLACEABLE" ><I >client.example.com</I ></TT > \ -L <TT CLASS="REPLACEABLE" ><I ><net-location></I ></TT > <TT CLASS="REPLACEABLE" ><I ><os-identifer></I ></TT ></TT ></PRE ></TD ></TR ></TABLE ><P > The following list explains the options: </P ><P ></P ><UL ><LI ><P ><TT CLASS="OPTION" >-a</TT > — Specifies that an OS instance is being added to the PXE configuration.</P ></LI ><LI ><P ><TT CLASS="OPTION" >-i</TT > "<TT CLASS="REPLACEABLE" ><I ><description></I ></TT >" — Replace "<TT CLASS="REPLACEABLE" ><I ><description></I ></TT >" with a description of the OS instance. This corresponds to the <B CLASS="GUILABEL" >Description</B > field in <A HREF="s1-netboot-pxe-config.html#FIG-NETWORK-INSTALL-SETUP" >Figure 1-1</A >.</P ></LI ><LI ><P ><TT CLASS="OPTION" >-p</TT > <NFS|HTTP|FTP> — Specify which of the NFS, FTP, or HTTP protocols to use for installation. Only one may be specified. This corresponds to the <B CLASS="GUILABEL" >Select protocol for installation</B > menu in <A HREF="s1-netboot-pxe-config.html#FIG-NETWORK-INSTALL-SETUP" >Figure 1-1</A >.</P ></LI ><LI ><P ><TT CLASS="OPTION" >-D 0</TT > — Indicates that it is not a diskless configuration since <TT CLASS="COMMAND" >pxeos</TT > can be used to configure a diskless environment as well.</P ></LI ><LI ><P ><TT CLASS="OPTION" >-s</TT > <TT CLASS="REPLACEABLE" ><I >client.example.com</I ></TT > — Provide the name of the NFS, FTP, or HTTP server after the <TT CLASS="OPTION" >-s</TT > option. This corresponds to the <B CLASS="GUILABEL" >Server</B > field in <A HREF="s1-netboot-pxe-config.html#FIG-NETWORK-INSTALL-SETUP" >Figure 1-1</A >.</P ></LI ><LI ><P ><TT CLASS="OPTION" >-L</TT > <TT CLASS="REPLACEABLE" ><I ><net-location></I ></TT > — Provide the location of the installation tree on that server after the <TT CLASS="OPTION" >-L</TT > option. This corresponds to the <B CLASS="GUILABEL" >Location</B > field in <A HREF="s1-netboot-pxe-config.html#FIG-NETWORK-INSTALL-SETUP" >Figure 1-1</A >.</P ></LI ><LI ><P ><TT CLASS="REPLACEABLE" ><I ><os-identifer></I ></TT > — Specify the OS identifier, which is used as the directory name in the <TT CLASS="FILENAME" >/tftpboot/linux-install/</TT > directory. This corresponds to the <B CLASS="GUILABEL" >Operating system identifier</B > field in <A HREF="s1-netboot-pxe-config.html#FIG-NETWORK-INSTALL-SETUP" >Figure 1-1</A >.</P ></LI ></UL ><P > If FTP is selected as the installation protocol and anonymous login is not available, specify a username and password for login, with the following options before <TT CLASS="REPLACEABLE" ><I ><os-identifer></I ></TT > in the previous command: </P ><TABLE CLASS="SCREEN" BGCOLOR="#DCDCDC" WIDTH="100%" ><TR ><TD ><PRE CLASS="SCREEN" ><TT CLASS="COMMAND" >-A 0 -u <TT CLASS="REPLACEABLE" ><I ><username></I ></TT > -p <TT CLASS="REPLACEABLE" ><I ><password></I ></TT ></TT ></PRE ></TD ></TR ></TABLE ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="ch-pxe.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="s1-netboot-add-hosts.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >PXE Network Installations</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ch-pxe.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Adding PXE Hosts</TD ></TR ></TABLE ></DIV ></BODY ></HTML >