This is an old revision of the document!
====== Kyle's diskless boinc cluster - SpaceHeaters@home ====== Note: This is a design in progress ===== Design Summary ===== * Minimize use of painful technologies where and if possible (tftp, nfs) * Uses samba for network file access * Boyscout level of security - program credentials into gpxe boot rom ===== Get libraries for certain binaries ===== <code> ldd `which cifs.upcall` > /tmp/libs ldd `which ssh` >> /tmp/libs ldd `which sshd` >> /tmp/libs ldd `which bash` >> /tmp/libs ldd `which mount.cifs` >> /tmp/libs ldd `which watch` >> /tmp/libs ldd `which screen` >> /tmp/libs cat /tmp/libs | cut -f 2 -d '>' | cut -f 1 -d '(' | xargs -n 1 -I {} sh -c "readlink -f {} || echo {}" | sort | uniq | xargs -I {} cp {} . </code> ===== embedding keys onto the eprom ===== <del>For starters the boot script gets changed a little bit</del> Nothing needs to get changed. I'm not sure what happens in the event of a collision, a file with the same name in both the initrd and in embed.img <code> #!gpxe kernel vmlinuz-2.6.31-14-generic initrd smith.ilz boot</code> <code> 00:50 < Docteh> i attached a gzipped tar to a gpxe image, and its automatically used along with the initrd specified via a script via dhcp, is that a known behavior? 00:51 < Docteh> gzipped cpio, my bad 00:52 < Docteh> I like that this is happening, I'm just wondering if I can expect it to work like that in the future </code> Formats: gzipped cpio - works\\ gzipped tar - not tested yet\\ Note: The default gpxe script might be incorrect. <code> echo \#\!gpxe > default.gpxe echo autoboot >> default.gpxe</code> Build the desired image <code>make EMBEDDED_IMAGE=./default.gpxe,./embed.img bin/pcnet32.pxe</code> <code>make EMBEDDED_IMAGE=./default.gpxe,./embed.img bin/10ec8139.rom</code>