Specifications
Remote Booting Linux on Intel Processors (CERN Variant)
Concurrent Technologies Page 10 of 30
done
echo Done.
2. Now modify the lines in the following files,
Edit “/tftpboot/192.67.84.171/etc/sysconfig/network”
NETWORKING=yes
HOSTNAME=”LinuxClient”
Edit “/tftpboot/192.67.84.171/etc/sysconfig/network-scripts/ifcfg-eth0”
…
IPADDR=192.67.84.171
…
Edit “/tftpboot/192.67.84.171/etc/fstab” to look like this,
192.67.84.170:/tftpboot/192.67.84.171 / nfs defaults 1 1
192.67.84.170:/home /home nfs defaults 0 0
none /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
Edit the “initdefault” line in “/tftpboot/192.67.84.171/etc/inittab” to read,
id:3:initdefault:
3. The “/tftpboot/192.67.84.171” directory now contains the file system for the Client. The next
step is to create an Etherboot boot image to boot the Client.
How to create an Etherboot Image
• “cd /root/netboot”
• Type either “mknbi-linux --rootdir=/tftpboot/192.67.84.171 --ip=rom bzImage >
LinuxBootImage.nbi”
• Or if you are using a board without a VGA adapter, or simply wish to use a serial console
then type this command instead, “mknbi-linux --rootdir=/tftpboot/192.67.84.171 --
append=”console=ttyS0,9600” --ip=rom bzImage > LinuxBootImage.nbi”
• Copy the image to the TFTP directorty “cp LinuxBootImage.nbi /tftpboot”
How to create a PXE Image
• Change the APPEND line in the files “/tftpboot/pxelinux.cfg/C04354AB”,
“/tftpboot/pxelinux.cfg/C04354AC” to read “APPEND ip=rom or if you are using a
board without a VGA adapter, or simply wish to use a serial console then use “APPEND
console=ttyS0,9600 ip=rom”
• “cp /root/netboot/bzImage /tftpboot”
• “echo > /tftpboot/rootfs.gz”
• “mknod /dev/boot255 c 0 255”
• “rdev /tftpboot/bzImage /dev/boot255”
NOTE: If using a VP 31x/02x replace ttys0 with ttys2 in the above to specify the serial port
located on the processor board’s front panel.