[gPXE] gPXE Chainloading question
David Geary
dgeary2 at une.edu.au
Mon Nov 15 21:23:27 EST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> I've got a scenario at the moment where the DHCP options are set to load pxelinux.0 straight away, gives the user a menu and they can continue from there etc etc. While this work for most implementations, this creates a problem on some network cards where they are buggy and the TFTP transfers that happen later do not complete properly...
> A solution I have found is to load gpxe over pxe, configure it to boot pxelinux.0, then continue the boot process. This way works on a more universal scale as the exisiting PXE code is replacing with gPXE (which makes it more standardized, and is less buggy than some vendor implementations of gPXE).
> I'm hitting a bit of a brick wall though. When I set gpxe as the default image to load over pxe, then it gets dhcp, and pxe boots...into gpxe, which gets dhcp, and pxe boots...into gpxe (and so on and so forth).
> I know if I break this process and get into the gpxe prompt then I can configure it to load pxelinux.0, then it loads fine and continues on its merry way. What I want to know is how to include that sort of configuration in the script, so it loads gpxe and then loads pxelinux.0 over tftp.
Your DHCP server will need to distinguish whether the client is gPXE or
not using the 'user class' option to look for 'gPXE' and respond
appropriately.
Chainloading gPXE from vendor PXE has the added benifit of allowing gPXE
access to the vendor PXE network card drivers through UNDI.
See the following:
http://etherboot.org/wiki/pxechaining
Hope this helps.
- --
David Joshua Geary
UNE Linux User Group: linux at une.edu.au <http://lugune.dyndns.org>
I don't care what software you use so long as
we only exchange files in open data formats
Open-Document <http://en.wikipedia.org/wiki/Open_Document>
Ogg <http://en.wikipedia.org/wiki/Ogg>
PDF <http://en.wikipedia.org/wiki/Pdf>
- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.9 (GNU/Linux)
mQGiBEl4bFQRBADDxqFXQ0Rv69sZ5xxK2WYXASHVe68Qf0LT0ag0/kEb4t3WWi9K
R5FKOhHrp1Fnt+S+NF4157l3bTJ1aFMEc2WM97qS37u0OXr+9XzMyWQyH3NLKHgm
QitKPasVM2UJaateFfr2XijQIfKQURkE03rKsEADm75qPeb5yhYKGuGQ9wCg5LFJ
5c67ZiJ/zPcS9pgKbU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P3gKUU5yWdTDsnnmRgvmN
HTQlAl8IZ+eSYqlplsPy9Qtvlk+APMxcpD/8gAO7r/A5KrxX9HqyFWTJpAhGSY3g
7eg5OeNPi75Z3H7JViVqceUXIFUTFSVvKKYQm2XNOwl4+XmpcZ3FP+naKzXQmR8n
gVub4CNWXH/tCm04vU0FdEsvPk2mWNHorjflhzxbRHRqvbMDk3NGpSRo22WAvrQm
MohJBBgRAgAJBQJJeGxUAhsMAAoJEM3mPvoVhbOMk0YAoJNPJ93Ug3gytihlaXXY
HAx+tdTkAKDVJrQz70o+3rcmJFC+e0iFqvbXlg==
=Wur/
- -----END PGP PUBLIC KEY BLOCK-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkzh6x4ACgkQzeY++hWFs4wJdACg0iJNYVqgNhYgDOp89dCgdKFn
888AnjWw8o4tC3n4ommKNB5nEE4mBZ2M
=N7do
-----END PGP SIGNATURE-----
More information about the gPXE
mailing list