Re: Complete boot from a http server?
"Miller, Shao" <[email protected]> Sat, 26 Sep 2009 14:42:21 -0400
| Newsgroups | gmane.network.etherboot.user |
|---|---|
| Message-ID | <[email protected]> |
Good day Daniel,
Regarding booting entirely via HTTP:
If you do not have control of the DHCP server, you can use gPXE in two
ways:
- Manually entering commands from the Control-B gPXE CLI (Command-Line
Interface)
- Compiling gPXE with embedded scripts
I believe that ROM-O-Matic now offers the ability to embed a script, but
I could be mistaken. (I saw it before.)
A script you might enjoy could look like:
#!gpxe
dhcp net0
set 210:string http://webserver/
chain ${210}pxelinux.0
What does this script do? It obtains an IP address for the net0
interface via DHCP sets, then sets DHCP option 210, then chains PXELINUX
from that web server. PXELINUX itself will then use DHCP option 210 as
a prefix in front of relative (non-absolute) file references. For
example, it will grab the PXELINUX config-file as
http://webserver/pxelinux.cfg/default
- Shao Miller
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf