<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Using USB storage as rootfs (using pivot-overlay)]]></title><description><![CDATA[<p dir="auto">I followed the instructions on how to use USB storage as rootfs, using the pivot-overlay approach.<br />
(Here's the link to the instructions: [<a href="https://wiki.onion.io/Tutorials/Using-USB-Storage-as-Rootfs" rel="nofollow">https://wiki.onion.io/Tutorials/Using-USB-Storage-as-Rootfs</a>])</p>
<p dir="auto">I used an 8GB Verbatim USB stick.</p>
<p dir="auto">All the commands worked without errors.  The device rebooted just fine, and presumably, is using the USB storage as rootfs.</p>
<p dir="auto">But when I execute this command:  df -hT<br />
Here is what I get:<br />
<img src="/uploads/files/1449251918062-screenshot-from-2015-12-04-12-58-16.png" alt="Screenshot from 2015-12-04 12:58:16.png" class="img-responsive img-markdown" /></p>
<p dir="auto">Any idea why I'm not seeing the expected 8GB or so in that list?</p>
<p dir="auto">Thanks in advance for the help!</p>
]]></description><link>http://community.onion.io/topic/205/using-usb-storage-as-rootfs-using-pivot-overlay</link><generator>RSS for Node</generator><lastBuildDate>Sat, 10 Oct 2026 17:59:31 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/205.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 04 Dec 2015 18:04:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Using USB storage as rootfs (using pivot-overlay) on Fri, 04 Dec 2015 18:04:36 GMT]]></title><description><![CDATA[<p dir="auto">I followed the instructions on how to use USB storage as rootfs, using the pivot-overlay approach.<br />
(Here's the link to the instructions: [<a href="https://wiki.onion.io/Tutorials/Using-USB-Storage-as-Rootfs" rel="nofollow">https://wiki.onion.io/Tutorials/Using-USB-Storage-as-Rootfs</a>])</p>
<p dir="auto">I used an 8GB Verbatim USB stick.</p>
<p dir="auto">All the commands worked without errors.  The device rebooted just fine, and presumably, is using the USB storage as rootfs.</p>
<p dir="auto">But when I execute this command:  df -hT<br />
Here is what I get:<br />
<img src="/uploads/files/1449251918062-screenshot-from-2015-12-04-12-58-16.png" alt="Screenshot from 2015-12-04 12:58:16.png" class="img-responsive img-markdown" /></p>
<p dir="auto">Any idea why I'm not seeing the expected 8GB or so in that list?</p>
<p dir="auto">Thanks in advance for the help!</p>
]]></description><link>http://community.onion.io/post/1622</link><guid isPermaLink="true">http://community.onion.io/post/1622</guid><dc:creator><![CDATA[Enrico Bermudez]]></dc:creator><pubDate>Fri, 04 Dec 2015 18:04:36 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB storage as rootfs (using pivot-overlay) on Fri, 04 Dec 2015 18:09:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/639">@Enrico-Bermudez</a> Can you show us the content of <code>/etc/config/fstab</code>?</p>
]]></description><link>http://community.onion.io/post/1623</link><guid isPermaLink="true">http://community.onion.io/post/1623</guid><dc:creator><![CDATA[Boken Lin]]></dc:creator><pubDate>Fri, 04 Dec 2015 18:09:03 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB storage as rootfs (using pivot-overlay) on Fri, 04 Dec 2015 18:17:15 GMT]]></title><description><![CDATA[<p dir="auto">Here you go:</p>
<p dir="auto"><img src="/uploads/files/1449253014837-screenshot-from-2015-12-04-13-14-38.png" alt="Screenshot from 2015-12-04 13:14:38.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://community.onion.io/post/1629</link><guid isPermaLink="true">http://community.onion.io/post/1629</guid><dc:creator><![CDATA[Enrico Bermudez]]></dc:creator><pubDate>Fri, 04 Dec 2015 18:17:15 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB storage as rootfs (using pivot-overlay) on Fri, 04 Dec 2015 18:20:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/639">@Enrico-Bermudez</a> Hmmm, that's quite strange, I've never seen such a short disk uuid before. That might be why it's not mounting the disk.</p>
<p dir="auto">Can you copy and paste the output of <code>block detect</code>? Just want to make sure the uuid for your disk is correct.</p>
]]></description><link>http://community.onion.io/post/1632</link><guid isPermaLink="true">http://community.onion.io/post/1632</guid><dc:creator><![CDATA[Boken Lin]]></dc:creator><pubDate>Fri, 04 Dec 2015 18:20:02 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB storage as rootfs (using pivot-overlay) on Fri, 04 Dec 2015 18:23:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5">@Boken-Lin</a>, here's what 'block detect' gives me:</p>
<p dir="auto"><img src="/uploads/files/1449253403275-screenshot-from-2015-12-04-13-22-30.png" alt="Screenshot from 2015-12-04 13:22:30.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://community.onion.io/post/1635</link><guid isPermaLink="true">http://community.onion.io/post/1635</guid><dc:creator><![CDATA[Enrico Bermudez]]></dc:creator><pubDate>Fri, 04 Dec 2015 18:23:27 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB storage as rootfs (using pivot-overlay) on Fri, 04 Dec 2015 18:28:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/639">@Enrico-Bermudez</a> They are the same. Ok that's not the issue.</p>
<p dir="auto">can you mount the drive on <code>/mnt/sda1</code> and show the output of <code>df -h</code>?</p>
]]></description><link>http://community.onion.io/post/1637</link><guid isPermaLink="true">http://community.onion.io/post/1637</guid><dc:creator><![CDATA[Boken Lin]]></dc:creator><pubDate>Fri, 04 Dec 2015 18:28:03 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB storage as rootfs (using pivot-overlay) on Fri, 04 Dec 2015 18:43:44 GMT]]></title><description><![CDATA[<p dir="auto">It says device is busy:</p>
<p dir="auto"><img src="/uploads/files/1449254621347-screenshot-from-2015-12-04-13-43-06.png" alt="Screenshot from 2015-12-04 13:43:06.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://community.onion.io/post/1644</link><guid isPermaLink="true">http://community.onion.io/post/1644</guid><dc:creator><![CDATA[Enrico Bermudez]]></dc:creator><pubDate>Fri, 04 Dec 2015 18:43:44 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB storage as rootfs (using pivot-overlay) on Fri, 04 Dec 2015 18:53:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/639">@Enrico-Bermudez</a> Try restarting the Omega without the USB drive. Plug it in after the Omega has started and try again.</p>
]]></description><link>http://community.onion.io/post/1647</link><guid isPermaLink="true">http://community.onion.io/post/1647</guid><dc:creator><![CDATA[Boken Lin]]></dc:creator><pubDate>Fri, 04 Dec 2015 18:53:23 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB storage as rootfs (using pivot-overlay) on Fri, 04 Dec 2015 18:59:35 GMT]]></title><description><![CDATA[<ol>
<li>pulled out the USB stick.</li>
<li>power cycled the Omega.</li>
<li>logged back into the Omega.</li>
<li>inserted the USB stick.</li>
<li>then executed 'mount /dev/sda1 /mnt/sda1'  -- no errors</li>
</ol>
<p dir="auto">I changed into the /mnt/sda1 directory and saw old files I used to have there.</p>
]]></description><link>http://community.onion.io/post/1650</link><guid isPermaLink="true">http://community.onion.io/post/1650</guid><dc:creator><![CDATA[Enrico Bermudez]]></dc:creator><pubDate>Fri, 04 Dec 2015 18:59:35 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB storage as rootfs (using pivot-overlay) on Fri, 04 Dec 2015 19:05:49 GMT]]></title><description><![CDATA[<p dir="auto">And this is what 'df -hT' gives me:</p>
<p dir="auto"><img src="/uploads/files/1449255896062-screenshot-from-2015-12-04-14-04-18.png" alt="Screenshot from 2015-12-04 14:04:18.png" class="img-responsive img-markdown" /></p>
<p dir="auto">This confirms, at least, that the USB stick can be detected (and has 7.5GB).</p>
]]></description><link>http://community.onion.io/post/1656</link><guid isPermaLink="true">http://community.onion.io/post/1656</guid><dc:creator><![CDATA[Enrico Bermudez]]></dc:creator><pubDate>Fri, 04 Dec 2015 19:05:49 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB storage as rootfs (using pivot-overlay) on Fri, 04 Dec 2015 19:06:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/639">@Enrico-Bermudez</a> Hmm, it was saying resource busy perhaps because it was loaded as the overlay? Can you reboot with the USB key in the Omega again, and paste the output of <code>df</code>  again?</p>
]]></description><link>http://community.onion.io/post/1657</link><guid isPermaLink="true">http://community.onion.io/post/1657</guid><dc:creator><![CDATA[Boken Lin]]></dc:creator><pubDate>Fri, 04 Dec 2015 19:06:21 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB storage as rootfs (using pivot-overlay) on Fri, 04 Dec 2015 19:09:59 GMT]]></title><description><![CDATA[<ol>
<li>ran 'reboot' while the USB stick is inserted in the MiniDock.</li>
<li>ssh'd back in</li>
<li>ran 'df -hT'.   Here is the output:</li>
</ol>
<p dir="auto"><img src="/uploads/files/1449256173573-screenshot-from-2015-12-04-14-08-30.png" alt="Screenshot from 2015-12-04 14:08:30.png" class="img-responsive img-markdown" /></p>
<p dir="auto">Should I try to format the USB stick and start all over again?</p>
]]></description><link>http://community.onion.io/post/1659</link><guid isPermaLink="true">http://community.onion.io/post/1659</guid><dc:creator><![CDATA[Enrico Bermudez]]></dc:creator><pubDate>Fri, 04 Dec 2015 19:09:59 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB storage as rootfs (using pivot-overlay) on Fri, 04 Dec 2015 19:12:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/639">@Enrico-Bermudez</a> Yes. Try that please. Let me know how it goes.</p>
]]></description><link>http://community.onion.io/post/1660</link><guid isPermaLink="true">http://community.onion.io/post/1660</guid><dc:creator><![CDATA[Boken Lin]]></dc:creator><pubDate>Fri, 04 Dec 2015 19:12:21 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB storage as rootfs (using pivot-overlay) on Fri, 04 Dec 2015 19:37:54 GMT]]></title><description><![CDATA[<p dir="auto">Success!!!<br />
So the main problem was me:  I didn't make sure that the USB stick is in ext4 format.</p>
<p dir="auto">Here's what I did:</p>
<ol>
<li>
<p dir="auto">Formatted my USB stick with my Ubuntu 14.04 LTS machine (command: 'umount /dev/sdb1 ; sudo mkfs.ext4 /dev/sdb1' )</p>
</li>
<li>
<p dir="auto">Then followed the instructions on using pivot-overlay:  <a href="https://wiki.onion.io/Tutorials/Using-USB-Storage-as-Rootfs" rel="nofollow">https://wiki.onion.io/Tutorials/Using-USB-Storage-as-Rootfs</a></p>
</li>
<li>
<p dir="auto">After rebooting the Omega, the logging back into it, I ran 'df -hT'.<br />
The result clearly shows that rootfs is now near the size of the USB storage (7.3GB).</p>
</li>
</ol>
<p dir="auto"><img src="/uploads/files/1449257696768-screenshot-from-2015-12-04-14-33-12.png" alt="Screenshot from 2015-12-04 14:33:12.png" class="img-responsive img-markdown" /></p>
<p dir="auto">Thanks for your help, <a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5">@Boken-Lin</a> !</p>
]]></description><link>http://community.onion.io/post/1662</link><guid isPermaLink="true">http://community.onion.io/post/1662</guid><dc:creator><![CDATA[Enrico Bermudez]]></dc:creator><pubDate>Fri, 04 Dec 2015 19:37:54 GMT</pubDate></item><item><title><![CDATA[Reply to Using USB storage as rootfs (using pivot-overlay) on Fri, 04 Dec 2015 19:43:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/639">@Enrico-Bermudez</a> Nice!</p>
]]></description><link>http://community.onion.io/post/1664</link><guid isPermaLink="true">http://community.onion.io/post/1664</guid><dc:creator><![CDATA[Boken Lin]]></dc:creator><pubDate>Fri, 04 Dec 2015 19:43:23 GMT</pubDate></item></channel></rss>