|
Needs Expansion |
The following high-level instructions allow you to PXE boot and install Edubuntu just as if you had a CD in the drive.
- Install an NFS server and a TFTP server on a system on your network.
- Download the ISO you want to boot over your network.
- Mount the ISO and copy all the files to the NFS server, and export the directory.
- Copy the contents of install/netboot from the CD into the tftpboot directory on your TFTP server.
- Copy vmlinuz and initrd.gz from the CD (you may have to search for them, they're usually in /install or /casper) into the tftpboot directory; rename them to be something unique if you will have more than one version in the directory.
- Edit pxelinux.cfg/default to point one of the LABEL entries to your kernel and initrd, with the following options to tell casper to mount / via NFS -- your entry should look a lot like these three lines:
LABEL edubuntu kernel vmlinuz-edubuntu-iso append vga=normal initrd=initrd-edubuntu-iso boot=casper netboot=nfs nfsroot=10.20.1.2:/opt/ltsp/edudesktop-iso --
nfsroot points to your NFS server and the path to the directory where you copied all the contents of the CD.
- Set the following options in dhcpd.conf on your DHCP server:
next-server 10.20.1.2; # this is your TFTP server filename "pxelinux.0"; # put this in verbatim
man casper for more information about casper, which is what makes this so easy.