> On Wednesday, 11 March, 2015 06:04 AM, Short, Kermit wrote:
 > I am unable to utilize the typical tftp/pxe boot systems due to 
various organization mandated policies. To get around this, I'm using ipxe.

We use ipxe from a server, but using it from a local USB flash drive 
would work the same way. With NBD:

:server1tftp
imgfree
echo Booting from LTSP 1 (TFTP)
kernel tftp://192.168.1.12/ltsp/amd64/vmlinuz root=/dev/nbd0 
init=/sbin/init-ltsp vt.handoff=7 nbdroot=192.168.1.12:/opt/ltsp/amd64 
|| goto server2
initrd tftp://192.168.1.12/ltsp/amd64/initrd.img || goto server2
boot || goto server2

(in this case, if it fails along the way, it tries from server2... || 
goto server2   )

If you want to speed up image loading, you can also use HTTP to load the 
image with ipxe (this helped us enormously when booting clients 
connected to the main network via a wireless bridge; for reasons beyond 
me TFTP was impossibly slow, HTTP works as fast as the bridge):

:server1
imgfree
echo Booting from LTSP 1 (HTTP)
kernel http://192.168.1.12/vmlinuz root=/dev/nbd0 init=/sbin/init-ltsp 
vt.handoff=7 nbdroot=192.168.1.12:/opt/ltsp/amd64 || goto server1tftp
initrd http://192.168.1.12/initrd.img || goto server1atftp
boot || goto server1tftp

Obviously this requires setting up a simple webserver to host the 
images. We use lighttpd.

We also like to have some clients boot from one server, and some from 
another server, based on MAC address. This is also possible with ipxe:

iseq ${netX/mac} ac:22:0b:c5:9f:b5 && goto server1 || #PC01



Graham

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to