<?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: Convert FreeBSD ISO image for PXE bootstrap</title>
	<atom:link href="http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/feed/" rel="self" type="application/rss+xml" />
	<link>http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/</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: Dennis Dulay</title>
		<link>http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/comment-page-1/#comment-88</link>
		<dc:creator>Dennis Dulay</dc:creator>
		<pubDate>Wed, 13 Oct 2010 02:32:06 +0000</pubDate>
		<guid isPermaLink="false">http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/#comment-88</guid>
		<description>This is a great guide!!! I can now add freebsd on our linux pxe server yuhoooo!!!


thanks again!!!</description>
		<content:encoded><![CDATA[<p>This is a great guide!!! I can now add freebsd on our linux pxe server yuhoooo!!!</p>
<p>thanks again!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gianpaolo Del Matto</title>
		<link>http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/comment-page-1/#comment-87</link>
		<dc:creator>Gianpaolo Del Matto</dc:creator>
		<pubDate>Tue, 05 Oct 2010 11:25:19 +0000</pubDate>
		<guid isPermaLink="false">http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/#comment-87</guid>
		<description>well, didn&#039;t have time to check this on fbsd 8.1 until now, maybe I get some time eventually.</description>
		<content:encoded><![CDATA[<p>well, didn&#8217;t have time to check this on fbsd 8.1 until now, maybe I get some time eventually.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ilya Evseev</title>
		<link>http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/comment-page-1/#comment-86</link>
		<dc:creator>Ilya Evseev</dc:creator>
		<pubDate>Mon, 09 Aug 2010 10:13:42 +0000</pubDate>
		<guid isPermaLink="false">http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/#comment-86</guid>
		<description>FreeBSD 8.1.
Boot loader starts ok, but everything dies after selecting any item.
Only &quot;&#124;&quot; is displayed.
&quot;raw&quot; keyword does not help.</description>
		<content:encoded><![CDATA[<p>FreeBSD 8.1.<br />
Boot loader starts ok, but everything dies after selecting any item.<br />
Only &#8220;|&#8221; is displayed.<br />
&#8220;raw&#8221; keyword does not help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lop</title>
		<link>http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/comment-page-1/#comment-85</link>
		<dc:creator>lop</dc:creator>
		<pubDate>Fri, 05 Feb 2010 20:21:32 +0000</pubDate>
		<guid isPermaLink="false">http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/#comment-85</guid>
		<description>when creating the .hd image, after attaching the .hd image to /dev/md1, and trying to fdisk -B -I /dev/md1, i get:

*****Working on /dev/md1*****
fdisk: Class not found


this is on freebsd 8 release i386, using the freebsd 8 release i386 bootonly ISO.

what is wrong ?</description>
		<content:encoded><![CDATA[<p>when creating the .hd image, after attaching the .hd image to /dev/md1, and trying to fdisk -B -I /dev/md1, i get:</p>
<p>*****Working on /dev/md1*****<br />
fdisk: Class not found</p>
<p>this is on freebsd 8 release i386, using the freebsd 8 release i386 bootonly ISO.</p>
<p>what is wrong ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flupp</title>
		<link>http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/comment-page-1/#comment-84</link>
		<dc:creator>Flupp</dc:creator>
		<pubDate>Thu, 12 Feb 2009 08:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/#comment-84</guid>
		<description>The combination of the boot loader from FreeBSD 7.1 and memdisk out of Syslinux 3.63 crashes during the load of the ACPI module: &quot;loading required module pci &#039;apcpi&#039; autoload failed - no such file or directory&quot;.

The option &quot;raw&quot; to memdisk helped:

LABEL fbsd71
        KERNEL memdisk
        APPEND initrd=fbsd71.hd harddisk raw

HTH and thanks for this great Howto!

Beat</description>
		<content:encoded><![CDATA[<p>The combination of the boot loader from FreeBSD 7.1 and memdisk out of Syslinux 3.63 crashes during the load of the ACPI module: &#8220;loading required module pci &#8216;apcpi&#8217; autoload failed &#8211; no such file or directory&#8221;.</p>
<p>The option &#8220;raw&#8221; to memdisk helped:</p>
<p>LABEL fbsd71<br />
        KERNEL memdisk<br />
        APPEND initrd=fbsd71.hd harddisk raw</p>
<p>HTH and thanks for this great Howto!</p>
<p>Beat</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/comment-page-1/#comment-83</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Fri, 16 Jan 2009 20:10:57 +0000</pubDate>
		<guid isPermaLink="false">http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/#comment-83</guid>
		<description>Is there a way possible to automate this process?
I want to make an auto installer with custom install.cfg each time.</description>
		<content:encoded><![CDATA[<p>Is there a way possible to automate this process?<br />
I want to make an auto installer with custom install.cfg each time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: valiy</title>
		<link>http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/comment-page-1/#comment-82</link>
		<dc:creator>valiy</dc:creator>
		<pubDate>Fri, 03 Oct 2008 14:26:41 +0000</pubDate>
		<guid isPermaLink="false">http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/#comment-82</guid>
		<description>#!/bin/sh
mkdir build
mkdir build/iso.mnt
mkdir build/hd.mnt
mkdir build/mfs.mnt
MD_ISO=`mdconfig -a -t vnode -f $1`
mount_cd9660 /dev/${MD_ISO} build/iso.mnt
IMG_SIZE=`ls -l $1 &#124; awk &#039;{print $5}&#039;`
dd if=/dev/zero of=$2 bs=`expr ${IMG_SIZE} + 36354048`  count=1
#dd if=/dev/zero of=$2 bs=${IMG_SIZE}  count=1
MD_IMG=`mdconfig -a -t vnode -f $2`
fdisk -B  -b build/iso.mnt/boot/mbr -I /dev/${MD_IMG}
bsdlabel -B -b build/iso.mnt/boot/boot -w /dev/${MD_IMG}
newfs -O1 -m 0 /dev/${MD_IMG}a
mount /dev/${MD_IMG}a build/hd.mnt
cp -r build/iso.mnt/* build/hd.mnt/
cp -r build/iso.mnt/boot/kernel/* build/hd.mnt/boot/modules/
umount build/hd.mnt
mdconfig -d -u ${MD_IMG}
umount build/iso.mnt
mdconfig -d -u ${MD_ISO}
rm -rf build</description>
		<content:encoded><![CDATA[<p>#!/bin/sh<br />
mkdir build<br />
mkdir build/iso.mnt<br />
mkdir build/hd.mnt<br />
mkdir build/mfs.mnt<br />
MD_ISO=`mdconfig -a -t vnode -f $1`<br />
mount_cd9660 /dev/${MD_ISO} build/iso.mnt<br />
IMG_SIZE=`ls -l $1 | awk &#8216;{print $5}&#8217;`<br />
dd if=/dev/zero of=$2 bs=`expr ${IMG_SIZE} + 36354048`  count=1<br />
#dd if=/dev/zero of=$2 bs=${IMG_SIZE}  count=1<br />
MD_IMG=`mdconfig -a -t vnode -f $2`<br />
fdisk -B  -b build/iso.mnt/boot/mbr -I /dev/${MD_IMG}<br />
bsdlabel -B -b build/iso.mnt/boot/boot -w /dev/${MD_IMG}<br />
newfs -O1 -m 0 /dev/${MD_IMG}a<br />
mount /dev/${MD_IMG}a build/hd.mnt<br />
cp -r build/iso.mnt/* build/hd.mnt/<br />
cp -r build/iso.mnt/boot/kernel/* build/hd.mnt/boot/modules/<br />
umount build/hd.mnt<br />
mdconfig -d -u ${MD_IMG}<br />
umount build/iso.mnt<br />
mdconfig -d -u ${MD_ISO}<br />
rm -rf build</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chrisb</title>
		<link>http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/comment-page-1/#comment-81</link>
		<dc:creator>chrisb</dc:creator>
		<pubDate>Sun, 30 Dec 2007 22:20:28 +0000</pubDate>
		<guid isPermaLink="false">http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/#comment-81</guid>
		<description>Nice article.  I&#039;m learning a lot.</description>
		<content:encoded><![CDATA[<p>Nice article.  I&#8217;m learning a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: free image host</title>
		<link>http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/comment-page-1/#comment-80</link>
		<dc:creator>free image host</dc:creator>
		<pubDate>Fri, 19 Oct 2007 12:55:16 +0000</pubDate>
		<guid isPermaLink="false">http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/#comment-80</guid>
		<description>Thanks a lot for this article</description>
		<content:encoded><![CDATA[<p>Thanks a lot for this article</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gianpaolo Del Matto</title>
		<link>http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/comment-page-1/#comment-79</link>
		<dc:creator>Gianpaolo Del Matto</dc:creator>
		<pubDate>Wed, 30 May 2007 12:45:54 +0000</pubDate>
		<guid isPermaLink="false">http://phaq.phunsites.net/2007/02/14/convert-freebsd-iso-image-for-pxe-bootstrap/#comment-79</guid>
		<description>FreeBSD&#039;s stock setup disks are missing /etc (/etc/rc* in particular) because it&#039;s simply not required for the setup.
sysinstall assumes control in favor to init and does the appropriate tasks, nothing more, nothing less.

It can therefore not be compared with a full-fledged system because it basically lacks everything else.

This also means that if you want to do some scripted actions you will have to create your own boot disk with full-fledged /etc/ and /sbin/init or rely on sysinstall&#039;s builtin exec functions otherwise.

The latter one is not so sophisicated as sysinstall can only execute commands without arguments.
They also run completely detached from the terminal so they may be completely non-interactive only.

If you&#039;re going the sysinstall way, an appropriate command in &#039;install.cfg&#039; would be:

command=&#039;/path/to/scriptname.sh&#039;
system

All commands placed on a stock mfs-root should preferrably be statically linked to avoid issues with missing libraries. Some of them may still not work if they fail to allocate a virtual terminal.

As a sidenote: FreeBSD selects init from the kern.init_path sysctl, which defaults to &quot;/sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall&quot;.</description>
		<content:encoded><![CDATA[<p>FreeBSD&#8217;s stock setup disks are missing /etc (/etc/rc* in particular) because it&#8217;s simply not required for the setup.<br />
sysinstall assumes control in favor to init and does the appropriate tasks, nothing more, nothing less.</p>
<p>It can therefore not be compared with a full-fledged system because it basically lacks everything else.</p>
<p>This also means that if you want to do some scripted actions you will have to create your own boot disk with full-fledged /etc/ and /sbin/init or rely on sysinstall&#8217;s builtin exec functions otherwise.</p>
<p>The latter one is not so sophisicated as sysinstall can only execute commands without arguments.<br />
They also run completely detached from the terminal so they may be completely non-interactive only.</p>
<p>If you&#8217;re going the sysinstall way, an appropriate command in &#8216;install.cfg&#8217; would be:</p>
<p>command=&#8217;/path/to/scriptname.sh&#8217;<br />
system</p>
<p>All commands placed on a stock mfs-root should preferrably be statically linked to avoid issues with missing libraries. Some of them may still not work if they fail to allocate a virtual terminal.</p>
<p>As a sidenote: FreeBSD selects init from the kern.init_path sysctl, which defaults to &#8220;/sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall&#8221;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

