
Configure the PXE Linux image.
#
mkdir /home/pxeboot/pxelinux.cfg/
#
touch /home/pxeboot/pxelinux.cfg/default
Edit the
/usr/local/etc/neopxe.conf
configuration file, which is read by neopxe at startup.
If the
neopxe.conf
file is not in the
/usr/local/etc
directory, you can copy it from the
/tmp/
name
-pxefiles/neopxe-0.2.0/
directory.
A valid configuration file must have entries for each of the following lines, including at least one
service line.
ip_addr=
n.n.n.n
prompt=
boot-prompt-string
prompt_timeout=
timeout
service=
service-number,boot-server,boot-file,label
■
n.n.n.n
is the IP address of your PXE server.
■
boot-prompt-string
is the character string displayed during a network boot that prompts the
user to press the F8 key for a boot menu.
■
timeout
is the number of seconds the prompt is displayed before the server defaults to the
first service for booting.
■
service-number
is an integer in the range of 1 to 254 that identifies the boot service.
■
boot-server
is the IP address of the boot server for that boot service.
■
boot-file
is the name of the boot file that is read from your
/home/pxeboot
directory.
■
label
is the text string that is displayed when the boot menu is invoked by pressing the F8
key.
ip_addr=192.168.0.1
prompt=Press [F8] for menu...
prompt_timeout=10
service=1,192.168.0.1,pxelinux.0,Linux
service=2,192.169.0.1,nbp.unknown,Solaris
Note –
Refer to the
neopxe.conf
man page for more information.
Start the
neopxe
daemon.
#
/usr/local/sbin/neopxe
“How to Configure the NFS Service on Your PXE Server” on page 47
▼
How to Configure the NFS Service on Your PXE Server
Determine whether the NFS service package is already installed on the server.
#
rpm -qa | grep nfs-utils
4
5
6
Next Steps
1
Overview of PXE Servers
47