<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>[Pogoplug Mobile] Change/Repartition Internal NAND</title>
        <description> Is it possible to change the partition layout of the internal NAND? By default the rootfs is on a 112 MB mtd4 partition. 

Quote&amp;lt;4&amp;gt;[    1.060000] Using static partition definition
&amp;lt;5&amp;gt;[    1.070000] Creating 5 MTD partitions on &amp;quot;nand_mtd&amp;quot;:
&amp;lt;5&amp;gt;[    1.070000] 0x000000000000-0x000000200000 : &amp;quot;u-boot&amp;quot;
&amp;lt;5&amp;gt;[    1.080000] 0x000000200000-0x000000500000 : &amp;quot;uImage&amp;quot;
&amp;lt;5&amp;gt;[    1.080000] 0x000000500000-0x000000800000 : &amp;quot;uImage2&amp;quot;
&amp;lt;5&amp;gt;[    1.090000] 0x000000800000-0x000001000000 : &amp;quot;failsafe&amp;quot;
&amp;lt;5&amp;gt;[    1.090000] 0x000001000000-0x000008000000 : &amp;quot;root&amp;quot;

Now I want to reduce the size of mtd4 or the root partition to say 30-40 MB and create a new partition with the remaining space all the while preserving the stock Pogoplug OS.
It says &amp;quot;Using static partition definition&amp;quot;, but where is this partition layout defined?

If it can be done, could someone please point me in the right direction?</description>
        <link>https://forum.doozan.com/read.php?2,11889,11889#msg-11889</link>
        <lastBuildDate>Sun, 08 Mar 2026 05:02:39 -0500</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://forum.doozan.com/read.php?2,11889,16863#msg-16863</guid>
            <title>Re: [Pogoplug Mobile] Change/Repartition Internal NAND</title>
            <link>https://forum.doozan.com/read.php?2,11889,16863#msg-16863</link>
            <description><![CDATA[ Hi @bohdi,<br />
<br />
Thanks for your response and advice. I almost forget about formatting before writing.<br />
<br />
Will experiment with one of my DockStar.<br />
<br />
Slick]]></description>
            <dc:creator>nnSlick</dc:creator>
            <category>Debian</category>
            <pubDate>Sun, 27 Jul 2014 20:53:38 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,11889,16861#msg-16861</guid>
            <title>Re: [Pogoplug Mobile] Change/Repartition Internal NAND</title>
            <link>https://forum.doozan.com/read.php?2,11889,16861#msg-16861</link>
            <description><![CDATA[ nnSlick,<br />
<br />
&gt; I guess after we installed your new 2014.7 uBoot,<br />
&gt; we can use the fw_setenv command to change the mtd<br />
&gt; partition layout, am I correct?<br />
<br />
Yes. You can repartition anyway you&#039;d like if you don&#039;t care to run stock FW. And after you&#039;ve installed new U-Boot, always keep the first partition (mtd0) untouched. The rest of NAND can be anyway you&#039;d like, and format them once before writing kernel/rootfs/data on it.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Sun, 27 Jul 2014 18:37:40 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,11889,16860#msg-16860</guid>
            <title>Re: [Pogoplug Mobile] Change/Repartition Internal NAND</title>
            <link>https://forum.doozan.com/read.php?2,11889,16860#msg-16860</link>
            <description><![CDATA[ Hi @bohdi,<br />
<br />
I was looking to change the partition layout of my PP devices (Dockstar, GoFlexHome, E02 etc...) and this information is great! <br />
I am trying to enlarge the root partition of these devices (set as 32MB) and could not find any information until ... today!<br />
<br />
I guess after we installed your new 2014.7 uBoot, we can use the fw_setenv command to change the mtd partition layout, am I correct?<br />
<br />
Thanks for sharing your vast knowledge about making our PP devices more interesting and useful.<br />
<br />
Slick]]></description>
            <dc:creator>nnSlick</dc:creator>
            <category>Debian</category>
            <pubDate>Sun, 27 Jul 2014 17:32:37 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,11889,16609#msg-16609</guid>
            <title>Re: [Pogoplug Mobile] Change/Repartition Internal NAND</title>
            <link>https://forum.doozan.com/read.php?2,11889,16609#msg-16609</link>
            <description><![CDATA[ Hi @varkey,<br />
<br />
Did you get anywhere with this? Are you using the stock uboot on your Pogoplug Mobile? Did you end up successfully booting another linux distro from NAND after re-partitioning mtd? Please share. Thanks<br />
<br />
gray]]></description>
            <dc:creator>grayman4hire</dc:creator>
            <category>Debian</category>
            <pubDate>Wed, 16 Jul 2014 21:47:26 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,11889,11897#msg-11897</guid>
            <title>Re: [Pogoplug Mobile] Change/Repartition Internal NAND</title>
            <link>https://forum.doozan.com/read.php?2,11889,11897#msg-11897</link>
            <description><![CDATA[ varkey Wrote:<br />
-------------------------------------------------------<br />
&gt; Ah ok, thanks! blparam, now I remember, its been a<br />
&gt; while since I used all that.<br />
<br />
I knew you&#039;ve done this before, just need to jog the memory a bit :)]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 15 Mar 2013 04:35:21 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,11889,11895#msg-11895</guid>
            <title>Re: [Pogoplug Mobile] Change/Repartition Internal NAND</title>
            <link>https://forum.doozan.com/read.php?2,11889,11895#msg-11895</link>
            <description><![CDATA[ Ah ok, thanks! blparam, now I remember, its been a while since I used all that.<br />
<br />
Will give it a try with a serial adapter handy along with a full nand dump! :P]]></description>
            <dc:creator>varkey</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 15 Mar 2013 04:18:19 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,11889,11894#msg-11894</guid>
            <title>Re: [Pogoplug Mobile] Change/Repartition Internal NAND</title>
            <link>https://forum.doozan.com/read.php?2,11889,11894#msg-11894</link>
            <description><![CDATA[ Varkey,<br />
<br />
To change envs on the stock uBoot, you would need blparam instead of fw_printenv/fw_setenv. As described in here:<br />
<a href="http://forum.doozan.com/read.php?3,11538"  rel="nofollow">[Pogoplug Series 4] Booting Debian with Arch Linux ARM uBoot</a><br />
<br />
I have not done this and reserve the existing rootfs, so I can&#039;t say. You could nanddump mtd4 in case you need to reflash it back to stock!<br />
<br />
-bodhi]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 15 Mar 2013 04:14:45 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,11889,11892#msg-11892</guid>
            <title>Re: [Pogoplug Mobile] Change/Repartition Internal NAND</title>
            <link>https://forum.doozan.com/read.php?2,11889,11892#msg-11892</link>
            <description><![CDATA[ Thanks bodhi, that is exactly what I want.<br />
<br />
The default Pogo rootfs uses less than 32 MB, so I was thinking of making the root partition 40 MB and the remaining 72 MB for the 5th data partition. <br />
<br />
Now my next question, how do I go about changing the env vars of the stock uBoot. Do we have to install the fw_printenv/fw_setenv binaries and modify the settings file to point to the stock uBoot env location? If yes what is the location of the stock uBoot vars?<br />
<br />
I suppose once the 5th partition is defined in the uboot vars, I can simply mount it from the stock Pogo OS. Correct? And modifying the partition layout won&#039;t harm the stock pogo OS right, as long as mtd4 has the rootfs files.]]></description>
            <dc:creator>varkey</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 15 Mar 2013 03:55:08 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,11889,11890#msg-11890</guid>
            <title>Re: [Pogoplug Mobile] Change/Repartition Internal NAND</title>
            <link>https://forum.doozan.com/read.php?2,11889,11890#msg-11890</link>
            <description><![CDATA[ Hi Varkey,<br />
<br />
The mtd partitions layout is defined in the original uBoot envs. And can be reset as:<br />
<br />
# fw_setenv mtdparts &#039;mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)&#039;<br />
# fw_printenv mtdparts<br />
mtdparts=mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),112M(root)<br />
<br />
If you <b>know</b> the actual size of the rootfs in mtd4 (for example, 72M) then you could define another partition mtd5 by <br />
<br />
#fw_setenv mtdparts &#039;mtdparts=orion_nand:2M(u-boot),3M(uImage),3M(uImage2),8M(failsafe),72M(root),40M(data)&#039; - does this looks right? :)<br />
<br />
Is that what you are thinking? I would think you will have to figure out the actual size of the Pogo rootfs before repartitioning.]]></description>
            <dc:creator>bodhi</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 15 Mar 2013 03:33:01 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,11889,11889#msg-11889</guid>
            <title>[Pogoplug Mobile] Change/Repartition Internal NAND</title>
            <link>https://forum.doozan.com/read.php?2,11889,11889#msg-11889</link>
            <description><![CDATA[ Is it possible to change the partition layout of the internal NAND? By default the rootfs is on a 112 MB mtd4 partition. <br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />&lt;4&gt;[    1.060000] Using static partition definition<br />
&lt;5&gt;[    1.070000] Creating 5 MTD partitions on &quot;nand_mtd&quot;:<br />
&lt;5&gt;[    1.070000] 0x000000000000-0x000000200000 : &quot;u-boot&quot;<br />
&lt;5&gt;[    1.080000] 0x000000200000-0x000000500000 : &quot;uImage&quot;<br />
&lt;5&gt;[    1.080000] 0x000000500000-0x000000800000 : &quot;uImage2&quot;<br />
&lt;5&gt;[    1.090000] 0x000000800000-0x000001000000 : &quot;failsafe&quot;<br />
&lt;5&gt;[    1.090000] 0x000001000000-0x000008000000 : &quot;root&quot;</div></blockquote>
<br />
Now I want to reduce the size of mtd4 or the root partition to say 30-40 MB and create a new partition with the remaining space all the while preserving the stock Pogoplug OS.<br />
It says &quot;Using static partition definition&quot;, but where is this partition layout defined?<br />
<br />
If it can be done, could someone please point me in the right direction?]]></description>
            <dc:creator>varkey</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 15 Mar 2013 03:15:33 -0500</pubDate>
        </item>
    </channel>
</rss>
