<?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: A better pivotroot for OpenWRT</title>
	<atom:link href="http://www2.kaufmanfamily.net/blog/2009/08/a-better-pivotroot-for-openwrt/feed" rel="self" type="application/rss+xml" />
	<link>http://www2.kaufmanfamily.net:8080/blog/2009/08/a-better-pivotroot-for-openwrt</link>
	<description>The Road goes ever on and on</description>
	<lastBuildDate>Mon, 05 Jul 2010 17:17:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: quddus</title>
		<link>http://www2.kaufmanfamily.net:8080/blog/2009/08/a-better-pivotroot-for-openwrt/comment-page-1#comment-26</link>
		<dc:creator>quddus</dc:creator>
		<pubDate>Sun, 21 Feb 2010 23:17:20 +0000</pubDate>
		<guid isPermaLink="false">http://www2.kaufmanfamily.net:8080/blog/?p=65#comment-26</guid>
		<description>I have seen and checked your script and is waiting for your swap option in the script to test if it works.

I have been trying to use my own but failed each time.</description>
		<content:encoded><![CDATA[<p>I have seen and checked your script and is waiting for your swap option in the script to test if it works.</p>
<p>I have been trying to use my own but failed each time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ScApi</title>
		<link>http://www2.kaufmanfamily.net:8080/blog/2009/08/a-better-pivotroot-for-openwrt/comment-page-1#comment-24</link>
		<dc:creator>ScApi</dc:creator>
		<pubDate>Fri, 15 Jan 2010 14:52:06 +0000</pubDate>
		<guid isPermaLink="false">http://www2.kaufmanfamily.net:8080/blog/?p=65#comment-24</guid>
		<description>As I and You expected it didn&#039;t worked ;), this had something to do with firstboot script, but I didn&#039;t digg deeper.

Something about the web management pakages.

X-Wrt is working except installation of packages via WebGui.

Gargoyle is working except graphs (their missing, code is pointing to empty tmp dir)

OpenWrt web - not yet tested, will try tommorow,

And something that I&#039;v added to the script, include swap utils, and makeswap + swapon, it really speeds up my device.</description>
		<content:encoded><![CDATA[<p>As I and You expected it didn&#8217;t worked <img src='http://www2.kaufmanfamily.net:8080/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> , this had something to do with firstboot script, but I didn&#8217;t digg deeper.</p>
<p>Something about the web management pakages.</p>
<p>X-Wrt is working except installation of packages via WebGui.</p>
<p>Gargoyle is working except graphs (their missing, code is pointing to empty tmp dir)</p>
<p>OpenWrt web &#8211; not yet tested, will try tommorow,</p>
<p>And something that I&#8217;v added to the script, include swap utils, and makeswap + swapon, it really speeds up my device.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kaufman</title>
		<link>http://www2.kaufmanfamily.net:8080/blog/2009/08/a-better-pivotroot-for-openwrt/comment-page-1#comment-23</link>
		<dc:creator>kaufman</dc:creator>
		<pubDate>Thu, 14 Jan 2010 12:31:16 +0000</pubDate>
		<guid isPermaLink="false">http://www2.kaufmanfamily.net:8080/blog/?p=65#comment-23</guid>
		<description>@ScApi, you can build the USB image however you want, you just need to be prepared for it not to work :-). Since you can just pull the USB stick and power-cycle, it seems like the experiment is pretty low-risk. Let us know how it works out.

The space requirements (on flash) for ext3 are nearly the same as for ext2, but ext2 is a completely valid choice. The upside of ext3 is the journaling, which gives better recovery from an unclean shutdown. The downside is that the frequent journal-writing will kill your USB stick faster. I choose safety, and anticipate replacing USB sticks.</description>
		<content:encoded><![CDATA[<p>@ScApi, you can build the USB image however you want, you just need to be prepared for it not to work <img src='http://www2.kaufmanfamily.net:8080/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> . Since you can just pull the USB stick and power-cycle, it seems like the experiment is pretty low-risk. Let us know how it works out.</p>
<p>The space requirements (on flash) for ext3 are nearly the same as for ext2, but ext2 is a completely valid choice. The upside of ext3 is the journaling, which gives better recovery from an unclean shutdown. The downside is that the frequent journal-writing will kill your USB stick faster. I choose safety, and anticipate replacing USB sticks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ScApi</title>
		<link>http://www2.kaufmanfamily.net:8080/blog/2009/08/a-better-pivotroot-for-openwrt/comment-page-1#comment-22</link>
		<dc:creator>ScApi</dc:creator>
		<pubDate>Thu, 14 Jan 2010 08:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://www2.kaufmanfamily.net:8080/blog/?p=65#comment-22</guid>
		<description>I&#039;ve switched to ext2, formatted usb stick to ext2, and finaly boot works, I think it has be something in image creation, sine 520GC has only 2mb flash, I removed almost everything from flash to add required modules, I&#039;l try to change to ext3 in future but now another question, can i simply copy contents of image builder temp dir to usb stick (dir with I think all flash files) ? or it has to be copied from working flash ?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve switched to ext2, formatted usb stick to ext2, and finaly boot works, I think it has be something in image creation, sine 520GC has only 2mb flash, I removed almost everything from flash to add required modules, I&#8217;l try to change to ext3 in future but now another question, can i simply copy contents of image builder temp dir to usb stick (dir with I think all flash files) ? or it has to be copied from working flash ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kaufman</title>
		<link>http://www2.kaufmanfamily.net:8080/blog/2009/08/a-better-pivotroot-for-openwrt/comment-page-1#comment-21</link>
		<dc:creator>kaufman</dc:creator>
		<pubDate>Thu, 14 Jan 2010 00:33:05 +0000</pubDate>
		<guid isPermaLink="false">http://www2.kaufmanfamily.net:8080/blog/?p=65#comment-21</guid>
		<description>@ScApi, if the pivotroot script works after you booted then the usual reason is you&#039;re preloading the wrong kernel modules (foreach loop with insmod in it). The right kernel modules get loaded when the boot completes, and then when you try pivotroot again it magically works.

Another possibility is that your flash drive is an ext2 not an ext3 (since e2fsck works it out for itself, but the mount line is hardcoded to ext3).

Another possibility is that the /flash directory is missing. But these latter two possibilities don&#039;t explain why the pivotroot would work after booting. For that, kernel modules are the most likely explanation.</description>
		<content:encoded><![CDATA[<p>@ScApi, if the pivotroot script works after you booted then the usual reason is you&#8217;re preloading the wrong kernel modules (foreach loop with insmod in it). The right kernel modules get loaded when the boot completes, and then when you try pivotroot again it magically works.</p>
<p>Another possibility is that your flash drive is an ext2 not an ext3 (since e2fsck works it out for itself, but the mount line is hardcoded to ext3).</p>
<p>Another possibility is that the /flash directory is missing. But these latter two possibilities don&#8217;t explain why the pivotroot would work after booting. For that, kernel modules are the most likely explanation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ScApi</title>
		<link>http://www2.kaufmanfamily.net:8080/blog/2009/08/a-better-pivotroot-for-openwrt/comment-page-1#comment-20</link>
		<dc:creator>ScApi</dc:creator>
		<pubDate>Wed, 13 Jan 2010 16:50:18 +0000</pubDate>
		<guid isPermaLink="false">http://www2.kaufmanfamily.net:8080/blog/?p=65#comment-20</guid>
		<description>I forgot to mention something, pivotroot script is working fine after booting openwrt normally and then plunging usb stick and firing the script</description>
		<content:encoded><![CDATA[<p>I forgot to mention something, pivotroot script is working fine after booting openwrt normally and then plunging usb stick and firing the script</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ScApi</title>
		<link>http://www2.kaufmanfamily.net:8080/blog/2009/08/a-better-pivotroot-for-openwrt/comment-page-1#comment-19</link>
		<dc:creator>ScApi</dc:creator>
		<pubDate>Wed, 13 Jan 2010 16:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://www2.kaufmanfamily.net:8080/blog/?p=65#comment-19</guid>
		<description>I have a problem, openwrt simply isn&#039;t booting from flash, I think that something is wrong with usb flash drive but simply don&#039;t know what.

My pivotroot.log
pivotroot loading kernel modules: usbcore usb-ohci scsi_mod sd_mod usb-storage e
pivotroot checking /dev/scsi/host0/bus0/target0/lun0/part1
/dev/scsi/host0/bus0/target0/lun0/part1: clean, 414/115200 files, 17189/459852 b
fsck status is 0
Mounting /dev/scsi/host0/bus0/target0/lun0/part1
mount status is 255</description>
		<content:encoded><![CDATA[<p>I have a problem, openwrt simply isn&#8217;t booting from flash, I think that something is wrong with usb flash drive but simply don&#8217;t know what.</p>
<p>My pivotroot.log<br />
pivotroot loading kernel modules: usbcore usb-ohci scsi_mod sd_mod usb-storage e<br />
pivotroot checking /dev/scsi/host0/bus0/target0/lun0/part1<br />
/dev/scsi/host0/bus0/target0/lun0/part1: clean, 414/115200 files, 17189/459852 b<br />
fsck status is 0<br />
Mounting /dev/scsi/host0/bus0/target0/lun0/part1<br />
mount status is 255</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kaufman</title>
		<link>http://www2.kaufmanfamily.net:8080/blog/2009/08/a-better-pivotroot-for-openwrt/comment-page-1#comment-18</link>
		<dc:creator>kaufman</dc:creator>
		<pubDate>Sun, 10 Jan 2010 19:14:48 +0000</pubDate>
		<guid isPermaLink="false">http://www2.kaufmanfamily.net:8080/blog/?p=65#comment-18</guid>
		<description>@nathane, that&#039;s an interesting question, because I prefer that /etc on flash not be in sync with /etc on the USB drive. &lt;a href=&quot;/blog/2010/01/more-on-pivotroot&quot; rel=&quot;nofollow&quot;&gt;I wrote a blog post explaining why.&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>@nathane, that&#8217;s an interesting question, because I prefer that /etc on flash not be in sync with /etc on the USB drive. <a href="/blog/2010/01/more-on-pivotroot" rel="nofollow">I wrote a blog post explaining why.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nathane</title>
		<link>http://www2.kaufmanfamily.net:8080/blog/2009/08/a-better-pivotroot-for-openwrt/comment-page-1#comment-17</link>
		<dc:creator>nathane</dc:creator>
		<pubDate>Fri, 18 Dec 2009 04:07:42 +0000</pubDate>
		<guid isPermaLink="false">http://www2.kaufmanfamily.net:8080/blog/?p=65#comment-17</guid>
		<description>Awesome stuff. Though I was hoping you might have a solution to the problem of keeping /etc/config/system and /[flash&#124;mnt]/config/system in sync. For example, if I change the hostname using LUCI that is saved in /etc/config/system. But upon reboot, the internal system file is used and it stays with the old hostname.

There is one howto (http://oldwiki.openwrt.org/OpenWrtDocs(2f)KamikazeConfiguration(2f)BootFromExternalMediaHowTo.html) which mentions doing a &quot;bind mount&quot; of /etc to avoid this . Their method is totally different from yours and the traditional OpenWRT method it is based on.

How to you avoid this problem?

Thanks</description>
		<content:encoded><![CDATA[<p>Awesome stuff. Though I was hoping you might have a solution to the problem of keeping /etc/config/system and /[flash|mnt]/config/system in sync. For example, if I change the hostname using LUCI that is saved in /etc/config/system. But upon reboot, the internal system file is used and it stays with the old hostname.</p>
<p>There is one howto (<a href="http://oldwiki.openwrt.org/OpenWrtDocs(2f)KamikazeConfiguration(2f)BootFromExternalMediaHowTo.html" rel="nofollow">http://oldwiki.openwrt.org/OpenWrtDocs(2f)KamikazeConfiguration(2f)BootFromExternalMediaHowTo.html</a>) which mentions doing a &#8220;bind mount&#8221; of /etc to avoid this . Their method is totally different from yours and the traditional OpenWRT method it is based on.</p>
<p>How to you avoid this problem?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: happybit</title>
		<link>http://www2.kaufmanfamily.net:8080/blog/2009/08/a-better-pivotroot-for-openwrt/comment-page-1#comment-16</link>
		<dc:creator>happybit</dc:creator>
		<pubDate>Thu, 17 Dec 2009 01:53:35 +0000</pubDate>
		<guid isPermaLink="false">http://www2.kaufmanfamily.net:8080/blog/?p=65#comment-16</guid>
		<description>kaufman, it&#039;s actually done on the flash filesystem, not on the usb filesystem, but openvpn and miniupnpd can&#039;t start up either.  I don&#039;t why????

In my system, there is no /etc/init.d/syslog file, just /etc/init.d/boot file.</description>
		<content:encoded><![CDATA[<p>kaufman, it&#8217;s actually done on the flash filesystem, not on the usb filesystem, but openvpn and miniupnpd can&#8217;t start up either.  I don&#8217;t why????</p>
<p>In my system, there is no /etc/init.d/syslog file, just /etc/init.d/boot file.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
