<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Chaining FreeBSD&#8217;s pxeboot with pxelinux</title>
	<atom:link href="http://phaq.phunsites.net/2007/09/20/chaining-freebsds-pxeboot-with-pxelinux/feed/" rel="self" type="application/rss+xml" />
	<link>http://phaq.phunsites.net/2007/09/20/chaining-freebsds-pxeboot-with-pxelinux/</link>
	<description>my daily IT madness</description>
	<lastBuildDate>Sun, 05 Feb 2012 17:47:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
	<item>
		<title>By: Johan</title>
		<link>http://phaq.phunsites.net/2007/09/20/chaining-freebsds-pxeboot-with-pxelinux/comment-page-1/#comment-166</link>
		<dc:creator>Johan</dc:creator>
		<pubDate>Sun, 28 Sep 2008 23:34:36 +0000</pubDate>
		<guid isPermaLink="false">http://phaq.phunsites.net/2007/09/20/chaining-freebsds-pxeboot-with-pxelinux/#comment-166</guid>
		<description>This info is deeply hidden away in a text file in the syslinux documentation, but you can force sys-/pxe-/isolinux to load a file of which type you specify manually, ignoring the extension.
In your case, simply replace &quot;KERNEL&quot; with &quot;PXE&quot;.
Here is the full list of &quot;KERNEL&quot;-replacements:
    LINUX image - Linux kernel image (default)
    BOOT image - Bootstrap program (.bs, .bin)
    BSS image - BSS image (.bss)
    PXE image - PXE Network Bootstrap Program (.0)
    FDIMAGE image - Floppy disk image (.img)
    COMBOOT image - COMBOOT program (.com, .cbt)
    COM32 image - COM32 program (.c32)
    CONFIG image - New configuration file

(I can not see any way to change the behavior of DEFAULT tho..)</description>
		<content:encoded><![CDATA[<p>This info is deeply hidden away in a text file in the syslinux documentation, but you can force sys-/pxe-/isolinux to load a file of which type you specify manually, ignoring the extension.<br />
In your case, simply replace &#8220;KERNEL&#8221; with &#8220;PXE&#8221;.<br />
Here is the full list of &#8220;KERNEL&#8221;-replacements:<br />
    LINUX image &#8211; Linux kernel image (default)<br />
    BOOT image &#8211; Bootstrap program (.bs, .bin)<br />
    BSS image &#8211; BSS image (.bss)<br />
    PXE image &#8211; PXE Network Bootstrap Program (.0)<br />
    FDIMAGE image &#8211; Floppy disk image (.img)<br />
    COMBOOT image &#8211; COMBOOT program (.com, .cbt)<br />
    COM32 image &#8211; COM32 program (.c32)<br />
    CONFIG image &#8211; New configuration file</p>
<p>(I can not see any way to change the behavior of DEFAULT tho..)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lev Serebryakov</title>
		<link>http://phaq.phunsites.net/2007/09/20/chaining-freebsds-pxeboot-with-pxelinux/comment-page-1/#comment-165</link>
		<dc:creator>Lev Serebryakov</dc:creator>
		<pubDate>Tue, 27 May 2008 13:56:34 +0000</pubDate>
		<guid isPermaLink="false">http://phaq.phunsites.net/2007/09/20/chaining-freebsds-pxeboot-with-pxelinux/#comment-165</guid>
		<description>@Gianpaolo Del Matto:

Is it possible to re-define &quot;option root-path&quot; in loader.conf? I want to make install-server with four versions of FreeBSD avail (6.3/7.0 i386/amd64) and I need different &quot;root-path&quot;s in this case. I can prepare menu in forth, but I don&#039;t understand what variable should I set!

It seems, that &quot;boot.nfsroot.path&quot; is set but &quot;common/dev_net.c&quot; and &quot;i386/libi386/pxe.c&quot;, but it is never used again...

PXE will load common pxeboot (loader(8)), it will load common loader.conf and show menu. What&#039;s next?

Thank you.</description>
		<content:encoded><![CDATA[<p>@Gianpaolo Del Matto:</p>
<p>Is it possible to re-define &#8220;option root-path&#8221; in loader.conf? I want to make install-server with four versions of FreeBSD avail (6.3/7.0 i386/amd64) and I need different &#8220;root-path&#8221;s in this case. I can prepare menu in forth, but I don&#8217;t understand what variable should I set!</p>
<p>It seems, that &#8220;boot.nfsroot.path&#8221; is set but &#8220;common/dev_net.c&#8221; and &#8220;i386/libi386/pxe.c&#8221;, but it is never used again&#8230;</p>
<p>PXE will load common pxeboot (loader(8)), it will load common loader.conf and show menu. What&#8217;s next?</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gianpaolo Del Matto</title>
		<link>http://phaq.phunsites.net/2007/09/20/chaining-freebsds-pxeboot-with-pxelinux/comment-page-1/#comment-164</link>
		<dc:creator>Gianpaolo Del Matto</dc:creator>
		<pubDate>Mon, 31 Dec 2007 09:43:51 +0000</pubDate>
		<guid isPermaLink="false">http://phaq.phunsites.net/2007/09/20/chaining-freebsds-pxeboot-with-pxelinux/#comment-164</guid>
		<description>@swygue:

Actually I&#039;m fetching it via tftp only, which means loader was recompiled
with the LOADER_TFTP_SUPPORT=YES flag enabled.

But there is some code in loader which will still try on NFS and
therefore cause some delays and sometimes unpredictable results.
So if you want to do pure TFTP only, it&#039;s better to patch out some
sections in /usr/src/sys/boot/i386/libi386/pxe.c.

Then to have loader download the files properly via TFTP, some
prerequisites must be fulfilled.

1. A root disk image (e.g. a floppy disk image) must exist on the TFTP server-
    As loader runs in real mode, the size of the kernel, any pre-loaded kernel modules
    and the disk image (aka mfs root) must no exceed 16 Mbytes.
2. loader must be scripted to download kernel, modules and the mfs root image
    to boot from.

So we may end up with a directory structure like this on the TFTP host:

/pxeboot.0
/boot
/boot/loader
/boot/device.hinst
/boot/boot0
/boot/boot1
/boot/boot2
/boot/loader.rc
/boot/i386/6.2-RELASE/* (kernel and modules)
/boot/i386/6.2-RELASE/mfsroot.gz

The script loader.rc might be looking like this:

[..]
\ load kernel and mfs root
\
set kernel=6.2-RELEASE
set module_path=/boot;/boot/kernel;/boot/i386/6.2-RELEASE
load kernel
load -t mfs_root mfsroot


\ initialize kernel environment
\
include /boot/device.hints
set vfs.root.mountfrom=ufs:/dev/md0c
set console=vidconsole
unset boot.nfsroot.path
unset boot.nfsroot.server


\ boot kernel
\
echo booting ...
boot
[..]

This is of course only an excerpt from the actual work.

I look forward to writing an article on the whole process, as
besides patching there&#039;s also the possibility to implement a dynamic
boot loader with a menu system from FreeBSDs loader.

Maybe you want to check back on this at a later time.</description>
		<content:encoded><![CDATA[<p>@swygue:</p>
<p>Actually I&#8217;m fetching it via tftp only, which means loader was recompiled<br />
with the LOADER_TFTP_SUPPORT=YES flag enabled.</p>
<p>But there is some code in loader which will still try on NFS and<br />
therefore cause some delays and sometimes unpredictable results.<br />
So if you want to do pure TFTP only, it&#8217;s better to patch out some<br />
sections in /usr/src/sys/boot/i386/libi386/pxe.c.</p>
<p>Then to have loader download the files properly via TFTP, some<br />
prerequisites must be fulfilled.</p>
<p>1. A root disk image (e.g. a floppy disk image) must exist on the TFTP server-<br />
    As loader runs in real mode, the size of the kernel, any pre-loaded kernel modules<br />
    and the disk image (aka mfs root) must no exceed 16 Mbytes.<br />
2. loader must be scripted to download kernel, modules and the mfs root image<br />
    to boot from.</p>
<p>So we may end up with a directory structure like this on the TFTP host:</p>
<p>/pxeboot.0<br />
/boot<br />
/boot/loader<br />
/boot/device.hinst<br />
/boot/boot0<br />
/boot/boot1<br />
/boot/boot2<br />
/boot/loader.rc<br />
/boot/i386/6.2-RELASE/* (kernel and modules)<br />
/boot/i386/6.2-RELASE/mfsroot.gz</p>
<p>The script loader.rc might be looking like this:</p>
<p>[..]<br />
\ load kernel and mfs root<br />
\<br />
set kernel=6.2-RELEASE<br />
set module_path=/boot;/boot/kernel;/boot/i386/6.2-RELEASE<br />
load kernel<br />
load -t mfs_root mfsroot</p>
<p>\ initialize kernel environment<br />
\<br />
include /boot/device.hints<br />
set vfs.root.mountfrom=ufs:/dev/md0c<br />
set console=vidconsole<br />
unset boot.nfsroot.path<br />
unset boot.nfsroot.server</p>
<p>\ boot kernel<br />
\<br />
echo booting &#8230;<br />
boot<br />
[..]</p>
<p>This is of course only an excerpt from the actual work.</p>
<p>I look forward to writing an article on the whole process, as<br />
besides patching there&#8217;s also the possibility to implement a dynamic<br />
boot loader with a menu system from FreeBSDs loader.</p>
<p>Maybe you want to check back on this at a later time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gianpaolo Del Matto</title>
		<link>http://phaq.phunsites.net/2007/09/20/chaining-freebsds-pxeboot-with-pxelinux/comment-page-1/#comment-163</link>
		<dc:creator>Gianpaolo Del Matto</dc:creator>
		<pubDate>Mon, 31 Dec 2007 09:16:13 +0000</pubDate>
		<guid isPermaLink="false">http://phaq.phunsites.net/2007/09/20/chaining-freebsds-pxeboot-with-pxelinux/#comment-163</guid>
		<description>@ chrisb:

If you&#039;re going to bootstrap FreeBSD via PXE with
it&#039;s root device located on an NFS server, you will
need to specify it&#039;s location via a statement like this
in dhcpd.conf:

option root-path &quot;serverip:/pxeroot&quot;

So you&#039;re virtually free to choose any directory on the
nfs host as long as it&#039;s nfs exported.</description>
		<content:encoded><![CDATA[<p>@ chrisb:</p>
<p>If you&#8217;re going to bootstrap FreeBSD via PXE with<br />
it&#8217;s root device located on an NFS server, you will<br />
need to specify it&#8217;s location via a statement like this<br />
in dhcpd.conf:</p>
<p>option root-path &#8220;serverip:/pxeroot&#8221;</p>
<p>So you&#8217;re virtually free to choose any directory on the<br />
nfs host as long as it&#8217;s nfs exported.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chrisb</title>
		<link>http://phaq.phunsites.net/2007/09/20/chaining-freebsds-pxeboot-with-pxelinux/comment-page-1/#comment-162</link>
		<dc:creator>chrisb</dc:creator>
		<pubDate>Sun, 30 Dec 2007 22:38:01 +0000</pubDate>
		<guid isPermaLink="false">http://phaq.phunsites.net/2007/09/20/chaining-freebsds-pxeboot-with-pxelinux/#comment-162</guid>
		<description>Here&#039;s some more work on this problem, in this case with OpenBSD.

https://www.zettaserve.com/default.asp?catid=21</description>
		<content:encoded><![CDATA[<p>Here&#8217;s some more work on this problem, in this case with OpenBSD.</p>
<p><a href="https://www.zettaserve.com/default.asp?catid=21" rel="nofollow">https://www.zettaserve.com/default.asp?catid=21</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chrisb</title>
		<link>http://phaq.phunsites.net/2007/09/20/chaining-freebsds-pxeboot-with-pxelinux/comment-page-1/#comment-161</link>
		<dc:creator>chrisb</dc:creator>
		<pubDate>Sun, 30 Dec 2007 22:07:33 +0000</pubDate>
		<guid isPermaLink="false">http://phaq.phunsites.net/2007/09/20/chaining-freebsds-pxeboot-with-pxelinux/#comment-161</guid>
		<description>This is very interesting.

After being very successful with debian + dhcp3 + tftpd-hpa + pxelinux I have been having a difficult time with FreeBSD pxeboot.  No success!

Thanks for working on this.

I and my tftpserver are confused about pxeboot&#039;s idea where root is, i think.  My boot stops after identifying server, root, and gateway.

Where does pxeboot want /pxeroot to be on the tftpserver?</description>
		<content:encoded><![CDATA[<p>This is very interesting.</p>
<p>After being very successful with debian + dhcp3 + tftpd-hpa + pxelinux I have been having a difficult time with FreeBSD pxeboot.  No success!</p>
<p>Thanks for working on this.</p>
<p>I and my tftpserver are confused about pxeboot&#8217;s idea where root is, i think.  My boot stops after identifying server, root, and gateway.</p>
<p>Where does pxeboot want /pxeroot to be on the tftpserver?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: swygue</title>
		<link>http://phaq.phunsites.net/2007/09/20/chaining-freebsds-pxeboot-with-pxelinux/comment-page-1/#comment-160</link>
		<dc:creator>swygue</dc:creator>
		<pubDate>Thu, 06 Dec 2007 14:33:24 +0000</pubDate>
		<guid isPermaLink="false">http://phaq.phunsites.net/2007/09/20/chaining-freebsds-pxeboot-with-pxelinux/#comment-160</guid>
		<description>Are you fetching the loader via NFS or TFTP ? I am unable to get it to install using tftp only its expecting a nfs root. I tried building TFTP with LOADER_TFTP_SUPPORT=YES and still no luck.</description>
		<content:encoded><![CDATA[<p>Are you fetching the loader via NFS or TFTP ? I am unable to get it to install using tftp only its expecting a nfs root. I tried building TFTP with LOADER_TFTP_SUPPORT=YES and still no luck.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

