Difference between revisions of "Cluster:Big-Fe:PXE booting"

From Earlham CS Department
Jump to navigation Jump to search
 
m
 
Line 9: Line 9:
 
* Make sure that all the TFTP files are world-readable.
 
* Make sure that all the TFTP files are world-readable.
 
* If the kernel doesn't boot properly, make sure that your network drivers are compiled in or in the initrd, and also make sure these options are set:
 
* If the kernel doesn't boot properly, make sure that your network drivers are compiled in or in the initrd, and also make sure these options are set:
CONFIG_IP_PNP, CONFIG_ROOT_NFS
+
** CONFIG_IP_PNP
 +
** CONFIG_ROOT_NFS

Latest revision as of 14:19, 16 March 2006

  • NFS-mount the directory that you are going to use as an NFS root.

mount admin:/big-fe /big-fe

  • Copy everything from the local root to the NFS root:

cd /; tar clf - . | (cd /big-fe; tar xvf -)

  • Copy the kernel and initrd into a TFTP directory on hopper:

mkdir /tftpboot/big-fe.boot;cp /big-fe/boot/{vmlinuz,initrd} /tftpboot/big-fe.boot

  • Make a file that is 01-<mac-addr> (all lower case) that looks like this:

DEFAULT big-fe.boot/vmlinuz initrd=big-fe.boot/initrd ramdisk_size=16384 ip=dhcp root=/dev/nfs nfsroot=159.28.234.9:/big-fe

  • Make sure that all the TFTP files are world-readable.
  • If the kernel doesn't boot properly, make sure that your network drivers are compiled in or in the initrd, and also make sure these options are set:
    • CONFIG_IP_PNP
    • CONFIG_ROOT_NFS