<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    If you have a Linux desktop, try something like gparted.  I have
    used this since I started with Fedora-arm 18.  It makes it easy to
    resize all your partitions.<br>
    <br>
    Since I use Cubieboards, I can build a small mSD card with only the
    uboot on it and put all the partitions on a sata drive.  I believe
    that other Allwinner uboots (for boards with sata) work this way.<br>
    <br>
    So I can drop the image on a sata drive, enlarge and move all the
    partitions and I am ready to go.<br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 07/31/2018 09:20 PM, Chris Smith
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKNAty-cdPzzuPUoLmicO59wTHULN=M0JScNW4fcs2f4ZDQ2pg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div dir="ltr">And just to follow up, you can omit the "e2fsck"
        command. Simply a growpart and then a resize2fs should be
        sufficient, as I have just tested it.
        <div><br>
        </div>
        <div>Thanks,</div>
        <div><br>
          Chris</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Jul 31, 2018 at 8:29 PM, Chris
          Smith <span dir="ltr"><<a
              href="mailto:smittyinthesky@gmail.com" target="_blank"
              moz-do-not-send="true">smittyinthesky@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Vamsi,
              <div><br>
              </div>
              <div>I have run into this same issue and have a brief (and
                rough) guide if you wish to try it out.</div>
              <div><br>
              </div>
              <div>First, run "df -h" and see what your current "/"
                partition size is. I think with the default image, it's
                somewhere around 1.8GB.</div>
              <div><br>
              </div>
              <div>Next, you should be able to run "growpart
                /dev/mmcblkx n" where x likely refers to mmcblk0 and n
                is the partition number, it should be 3. This will grow
                your 3rd partition to the maximum available size, but I
                believe you should be able to specify your 6GB size.</div>
              <div><br>
              </div>
              <div>Once that is complete, run "e2fsck /dev/mmcblk0p3" to
                verify filesystem integrity and then "resize2fs
                /dev/mmcblk0p3" to expand the ext4 partition. </div>
              <div><br>
              </div>
              <div>If you run "df -h" after this, you should be able to
                see your now larger "/" partition.</div>
              <div><br>
              </div>
              <div>Let me know if you have any issues with this. I've
                been looking for a reason to organize my thoughts on
                this.</div>
              <div><br>
              </div>
              <div>Thanks!</div>
              <span class="HOEnZb"><font color="#888888">
                  <div><br>
                  </div>
                  <div>Chris</div>
                </font></span></div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">On Tue, Jul 31, 2018 at 10:10
                    AM, Pablo Sebastián Greco <span dir="ltr"><<a
                        href="mailto:pablo@fliagreco.com.ar"
                        target="_blank" moz-do-not-send="true">pablo@fliagreco.com.ar</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div text="#000000" bgcolor="#FFFFFF">
                        <p><font size="-1"><font face="Courier New,
                              Courier, monospace">There is a script
                              called rootfs-expand which should do
                              exactly that.<br>
                              Please let us know who it went.<br>
                              <br>
                              Pablo.<br>
                            </font></font><br>
                        </p>
                        <div
                          class="m_-3541221040365910867m_6599610164970319072moz-cite-prefix">El
                          31/7/18 a las 10:55, vamsi krishna escribió:<br>
                        </div>
                        <blockquote type="cite">
                          <div>
                            <div class="m_-3541221040365910867h5">
                              <div dir="ltr">Hi Team,
                                <div><br>
                                </div>
                                <div>Being new to the Linux world, I
                                  have installed Centos for R Pi3 on a
                                  16gb microSD card, and partitions are
                                  done by default, leaving less space
                                  for root file system. Here is what I
                                  get.</div>
                                <div><br>
                                </div>
                                <div>This is the second time I am
                                  running into this issue.</div>
                                <div><br>
                                </div>
                                <div>Can anyone help me with the steps
                                  to increase the size for /dev/root to
                                  6G please.</div>
                                <div><br>
                                </div>
                                <div><br>
                                </div>
                                <div>
                                  <div>Operating System: CentOS Linux 7
                                    (Core)</div>
                                  <div>       CPE OS Name:
                                    cpe:/o:centos:centos:7</div>
                                  <div>            Kernel: Linux
                                    4.14.27-v7.1.el7</div>
                                  <div>      Architecture: arm</div>
                                </div>
                                <div><br>
                                </div>
                                <div>[root@rpi ~]# df -h<br>
                                </div>
                                <div>
                                  <div>Filesystem      Size  Used Avail
                                    Use% Mounted on</div>
                                  <div>/dev/root       1.4G  999M  347M 
                                    75% /</div>
                                  <div>devtmpfs        460M     0  460M 
                                     0% /dev</div>
                                  <div>tmpfs           464M     0  464M 
                                     0% /dev/shm</div>
                                  <div>tmpfs           464M   12M  452M 
                                     3% /run</div>
                                  <div>tmpfs           464M     0  464M 
                                     0% /sys/fs/cgroup</div>
                                  <div>/dev/mmcblk0p1  667M   43M  625M 
                                     7% /boot</div>
                                  <div>tmpfs            93M     0   93M 
                                     0% /run/user/0</div>
                                </div>
                                <div><br>
                                </div>
                                <div>
                                  <div>Any help is highly appreciated.</div>
                                  -- <br>
                                  <div
                                    class="m_-3541221040365910867m_6599610164970319072gmail_signature">
                                    <div><font face="verdana,sans-serif">Have
                                        a nice day.<br>
                                        <br>
                                        Thanks and regards,<br>
                                      </font><font size="4" face="comic
                                        sans ms,sans-serif">Vamsi,</font></div>
                                    <div><font face="verdana,sans-serif">Skype
                                        @ kvamsi.k143<br>
                                        +91-9704433304.</font></div>
                                  </div>
                                </div>
                              </div>
                              <br>
                              <fieldset
                                class="m_-3541221040365910867m_6599610164970319072mimeAttachmentHeader"></fieldset>
                            </div>
                          </div>
                          <pre class="m_-3541221040365910867m_6599610164970319072moz-quote-pre">______________________________<wbr>_________________
Arm-dev mailing list
<a class="m_-3541221040365910867m_6599610164970319072moz-txt-link-abbreviated" href="mailto:Arm-dev@centos.org" target="_blank" moz-do-not-send="true">Arm-dev@centos.org</a>
<a class="m_-3541221040365910867m_6599610164970319072moz-txt-link-freetext" href="https://lists.centos.org/mailman/listinfo/arm-dev" target="_blank" moz-do-not-send="true">https://lists.centos.org/mailm<wbr>an/listinfo/arm-dev</a>
</pre>
                        </blockquote>
                      </div>
                      <br>
                      ______________________________<wbr>_________________<br>
                      Arm-dev mailing list<br>
                      <a href="mailto:Arm-dev@centos.org"
                        target="_blank" moz-do-not-send="true">Arm-dev@centos.org</a><br>
                      <a
                        href="https://lists.centos.org/mailman/listinfo/arm-dev"
                        rel="noreferrer" target="_blank"
                        moz-do-not-send="true">https://lists.centos.org/mailm<wbr>an/listinfo/arm-dev</a><br>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Arm-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Arm-dev@centos.org">Arm-dev@centos.org</a>
<a class="moz-txt-link-freetext" href="https://lists.centos.org/mailman/listinfo/arm-dev">https://lists.centos.org/mailman/listinfo/arm-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>