Specifications

Remote Booting Linux on Intel Processors (CERN Variant)
Concurrent Technologies Page 5 of 30
Install the NFS utilities,
“rpm –ivh $RPMSHOME/nfs-utils-0.3.3-*.i386.rpm”
To have the NFS start on boot type “chkconfig nfs on”.
10. Create the NFS exports file “/etc/exports” with the following lines,
/tftpboot/192.67.84.171 *(rw,no_root_squash)
/home *(rw,no_root_squash)
/usr *(ro,no_root_squash)
NOTE1: This informs the NFS server the directories that maybe accessed using NFS, the *
option informs the NFS server that anyone may access these directories. For security reasons,
this should never be done in practice. Please read the Linux NFS manuals for more details
about the NFS server.
NOTE2: It has been noticed that the NFS server supplied with Red Hat may not behave as
expected when first run. If you experience problems with NFS, i.e. unable to mount exported
NFS directories it maybe that the NFS server has stopped responding, in which case the server
needs to be restarted, to do this type,
“service nfs restart” If any [FAILED] response is given, then NFS was broken!
11. Installing the Etherboot utilities. Download the “mknbi” utility from
http://sourceforge.net/projects/etherboot Choose to download the RPM version. Download
the RPM to the Red Hat Server machine and type,
“rpm -ivh mknbi-1.4.4-1.noarch.rpm” #Installs the MKNBI utilities
12. Installing the PXE utilities. In this application note we have chosen to use the SysLinux PXE
boot loader. Download the latest SysLinux source code from
http://www.kernel.org/pub/linux/utils/boot/syslinux/ and copy it to the root directory on the
Red Hat Server machine. The “nasm” compiler is required to compile SysLinux, the latest
RPM binary version can by obtained from
http://sourceforge.net/projects/nasm Copy this to
the root directory on the Red Hat Server machine. Type the following:
“ cd /root”
“rpm -ivh nasm-0.98.38-1.i386.rpm” # Install the NASM compiler
“gzip -d syslinux-2.11.tar.gz”
“tar -xf syslinux-2.11.tar
“cd syslinux-2.11”
Edit the file “pxelinux.asm” and search for the following lines,
;
; Initialize screen (if we're using one)
;
And add the following two lines immediately after semicolon, and save the file,
mov ax,0003h ; Set video mode to text 80x25 16 colours
int 10h ; And clear the screen
“make clean”
“make pxelinux.0” # Make the patched PXE boot loader
13. Copy the PXE boot loader from the syslinux directory to /tftpboot,