<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.hacks.be/wiki/index.php?action=history&amp;feed=atom&amp;title=PXE_boot</id>
	<title>PXE boot - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.hacks.be/wiki/index.php?action=history&amp;feed=atom&amp;title=PXE_boot"/>
	<link rel="alternate" type="text/html" href="https://www.hacks.be/wiki/index.php?title=PXE_boot&amp;action=history"/>
	<updated>2026-04-30T13:13:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://www.hacks.be/wiki/index.php?title=PXE_boot&amp;diff=69&amp;oldid=prev</id>
		<title>Tom: /* PXE boot using gPXE */</title>
		<link rel="alternate" type="text/html" href="https://www.hacks.be/wiki/index.php?title=PXE_boot&amp;diff=69&amp;oldid=prev"/>
		<updated>2016-04-27T09:15:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;PXE boot using gPXE&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:15, 27 April 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot; &gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Put the image on a [[Tftp-server]] and add following lines to ISC dhcpd:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Put the image on a [[Tftp-server]] and add following lines to ISC dhcpd:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;source &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;lang=&amp;quot;text&amp;quot;&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### gPXE start&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;### gPXE start&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;option space gpxe;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;option space gpxe;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tom</name></author>
	</entry>
	<entry>
		<id>https://www.hacks.be/wiki/index.php?title=PXE_boot&amp;diff=68&amp;oldid=prev</id>
		<title>Tom: Created page with &quot;=PXE boot using gPXE= gPXE can be downloaded from http://etherboot.org/wiki/download where they even have a nice image generator at http://rom-o-matic.net/  Put the image on a...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.hacks.be/wiki/index.php?title=PXE_boot&amp;diff=68&amp;oldid=prev"/>
		<updated>2016-04-27T09:12:29Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=PXE boot using gPXE= gPXE can be downloaded from http://etherboot.org/wiki/download where they even have a nice image generator at http://rom-o-matic.net/  Put the image on a...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=PXE boot using gPXE=&lt;br /&gt;
gPXE can be downloaded from http://etherboot.org/wiki/download where they even have a nice image generator at http://rom-o-matic.net/&lt;br /&gt;
&lt;br /&gt;
Put the image on a [[Tftp-server]] and add following lines to ISC dhcpd:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
### gPXE start&lt;br /&gt;
option space gpxe;&lt;br /&gt;
option gpxe-encap-opts code 175 = encapsulate gpxe;&lt;br /&gt;
option gpxe.keep-san code 8 = unsigned integer 8;&lt;br /&gt;
&lt;br /&gt;
### gPXE end&lt;br /&gt;
&lt;br /&gt;
host iscsitst {&lt;br /&gt;
   # Client IP&lt;br /&gt;
   fixed-address 192.168.1.10;&lt;br /&gt;
   hardware ethernet 01:02:03:04:05:06;&lt;br /&gt;
&lt;br /&gt;
   # TFTP server IP&lt;br /&gt;
   next-server 192.168.1.1;&lt;br /&gt;
&lt;br /&gt;
   # Prevent boot loop, send this reply when the gPXE client asks for an IP address&lt;br /&gt;
   if exists user-class and option user-class = &amp;quot;gPXE&amp;quot; {&lt;br /&gt;
      filename &amp;quot;&amp;quot;;&lt;br /&gt;
      # Following address has format: iscsi:iscsi-server-ip:[protocol, default tcp=6]:[port, default=3260]:[LUN, default=0]:target-name&lt;br /&gt;
      option root-path &amp;quot;iscsi:192.168.1.1:::1:iqn.2007-01.be.hacks:target1&amp;quot;;&lt;br /&gt;
      option gpxe.keep-san 1;&lt;br /&gt;
      #filename &amp;quot;http://my.web.server/real_boot_script.php&amp;quot;;&lt;br /&gt;
   # When we get a regular PXE request, send the gPXE image&lt;br /&gt;
   } else {&lt;br /&gt;
#      filename &amp;quot;gpxe-1.0.1-gpxe.kpxe&amp;quot;;&lt;br /&gt;
#      filename &amp;quot;gpxe-1.0.1+-gpxe.kpxe&amp;quot;;&lt;br /&gt;
      filename &amp;quot;gpxe-1.0.1+-undionly.kpxe&amp;quot;;&lt;br /&gt;
   }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I had to use the undionly driver because otherwise there were tcp protocol errors when trying to mount the iscsi target resulting in a &amp;#039;Connection timed out&amp;#039; error.&lt;br /&gt;
&lt;br /&gt;
More info on setting up the [[ISCSI target]].&lt;/div&gt;</summary>
		<author><name>Tom</name></author>
	</entry>
</feed>