Specifications
Remote Booting Linux on Intel Processors (CERN Variant)
Concurrent Technologies Page 3 of 30
• Install the TFTP server,
“rpm -ivh $RPMSHOME/tftp-server-0.28-*.i386.rpm”
• While we are here, install some nice utilities that convert files from DOS to Unix format
1
,
“rpm -ivh $RPMSHOME/dos2unix*.i386.rpm”
5. To install the DHCP server download the latest server from ftp://ftp.isc.org/isc/dhcp/ and then
download the software to the Red Hat machine and type the following,
• “gzip -d dhcp-latest.tar.gz” #Uncompress the DHCP server file
• “tar -xf dhcp-latest.tar” #Untar server file, which creates a DHCP directory
• “cd dhcp-3.0pl1” #Change into this directory
• “./configure” #Run the configurations script
• “make” #Make the server
• “make install” #Install the server
NOTE: Should the DHCP server report either that CONFIG_PACKET or CONFIG_FILTER
have not been included in the kernel you will need to include these options in the server
kernel and recompile. Select “Network Options” and include “Packet Socket” and “Socket
Filtering” from the kernel configuration menu.
6. When the Client attempts to perform a network boot it will first call for an IP address. This
request will either be formatted as a BOOTP request in the case of an Etherboot boot or a
DHCP request in the case of a PXE boot. The DHCP server may answer both these requests.
To configure the DHCP server type the following,
• Create a required empty file,
“echo > /var/state/dhcp/dhcpd.leases”
• And create the file “/etc/dhcpd.conf” containing the following,
default-lease-time 600;
max-lease-time 7200;
ddns-update-style ad-hoc;
subnet 192.67.84.0 netmask 255.255.255.0
{
host client1
{
hardware ethernet 00:40:9E:00:FF:F0;
fixed-address 192.67.84.171;
server-name "192.67.84.170";
option host-name "Client1"
option dhcp-message
"192.67.84.170:/home/ClientLocalRootFs/client1/home";
#Checks vendor class for a PXE Client.
if substring (option vendor-class-identifier,
0, 9) = "PXEClient"
{
filename "pxelinux.0";
}
else
{
filename "LinuxBootImage.nbi";
1
This utility will already be installed on a CERN workstation.