<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Booting from sda should be fine. I just wanted to make sure you were
    not resizing from a live file system, which, while it can work
    sometimes, is problematic many times.<br>
    <br>
    The 1MiB at the end of the drive appears to be related to GPT. If
    you aren't using GPT, shouldn't be an issue. With a 1 TB drive, you
    don't need to use GPT, in any event, though you could choose to. I
    have also seen such fragments of unallocated space. which appear to
    have been created due to partition alignment issues. I have never
    needed to leave such space available. Your partitioning tool may
    leave such space available, again, due to alignment issues.<br>
    <br>
    <div class="moz-cite-prefix">On 12/2/2018 9:32 AM, Bruce.Labitt
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:a70ee961-a2e0-4d20-898a-8f6d2601d679@myfairpoint.net">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div dir="auto">I'm booting on to sda, not sdc.  sda is a 240GB
        SSD.  sdc is not active and hasn't been mounted.  sdc is a 1TB
        drive.  When sdc is finally sorted out, I will physically remove
        sda (240) from my laptop and install sdc (1T).  ( The bigger sdc
        drive probably will turn into sda! ). <br>
        <br>
      </div>
      <div dir="auto">Just to make this explicit, the sdc drive is
        connected to the laptop via a USB3/SATA adapter.  I haven't
        opened up the laptop yet.<br>
        <br>
      </div>
      <div dir="auto">If you think I should boot from a USB Ubuntu flash
        drive I can do that as well.<br>
        <br>
      </div>
      <div dir="auto">Thanks for the tips on gparted.  <br>
      </div>
      <div dir="auto">Do I need to allocate 1MiB at the end of the
        drive?  I'm reading conflicting requirements on this.<br>
        <br>
      </div>
      <div dir="auto">I will try your suggestions and will report back.<br>
        <br>
      </div>
      <div dir="auto"><!-- tmjah_g_1299s -->Sent from
        <!-- tmjah_g_1299e --><a href="http://www.bluemail.me/r?b=14063"
          moz-do-not-send="true"><!-- tmjah_g_1299s -->Blue<!-- tmjah_g_1299e --></a><!-- tmjah_g_1299s -->
        <!-- tmjah_g_1299e --></div>
      <div class="gmail_quote">On Dec 2, 2018, at 8:42 AM, Dan Jenkins
        &lt;<a href="mailto:dan@rastech.com" target="_blank"
          moz-do-not-send="true">dan@rastech.com</a>&gt; wrote:
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          First, you are running GParted from a bootable flash drive,
          not from booting off the new sdc, correct?
          <br>
          <br>
          I have had issues, in a few instances, with GParted, when
          taking multiple steps at once. <br>
          Rather than do all the steps at once, I would do one step at a
          time. <br>
          Apply it and let it complete. <br>
          Then do the next step.
          <br>
          GParted often works fine with multiple steps, except when it
          doesn't. :-)
          <br>
          <br>
          Further, you don't actually need to move the swap partition,
          just recreate it in its final position.
          <br>
          That would save time, but doesn't explain the error.
          <br>
          <br>
          These are the steps I would use, if I was doing it:
          <br>
          1. Delete the swap partition (sdc5)
          <br>
          2. Delete the extended partition (sdc2)
          <br>
          3. Apply steps 1 &amp; 2.
          <br>
          4. Resize the data partition (sdc1), leaving 30 GB unallocated
          at the end.
          <br>
          5. Apply step 4.
          <br>
          6. Create an extended partition in that 30 GB unallocated
          space.
          <br>
          7. Create a 30 GB swap partition in that new extended
          partition.
          <br>
          8. Apply steps 6 &amp; 7.
          <br>
          <br>
          On 12/1/2018 9:05 PM, Bruce Labitt wrote:
          <br>
          <blockquote type="cite"
            cite="mid:d6dcec92-d2dd-2d50-3de4-7b09c701f63b@myfairpoint.net">
            <div class="moz-cite-prefix"> Thanks for the instructions on
              the BIOS - umm, nothing was wrong.  Having the USB stick
              prior to entering the BIOS made the device show up. </div>
            <div class="moz-cite-prefix"> <br>
            </div>
            <div class="moz-cite-prefix"> OK, dd'd the disk.  Took a
              long time, 94 minutes, but everything is transferred,
              except for this email. </div>
            <div class="moz-cite-prefix"> <br>
            </div>
            <div class="moz-cite-prefix"> Next is to resize in gparted -
              which didn't complete.  <br>
            </div>
            <div class="moz-cite-prefix"> I followed a youtube video at
              <a class="moz-txt-link-freetext"
                href="https://www.youtube.com/watch?v=cDgUwWkvuIY"
                moz-do-not-send="true">https://www.youtube.com/watch?v=cDgUwWkvuIY</a>
              <br>
            </div>
            <div class="moz-cite-prefix"> <br>
            </div>
            <div class="moz-cite-prefix"> Just to note, <b> sdc has
                never been mounted.  </b> <br>
            </div>
            <div class="moz-cite-prefix"> <br>
            </div>
            <div class="moz-cite-prefix"> The video is done in a virtual
              machine, but I followed the part showing how to do the
              resizing.  The linux-swap was turned off.  The error is as
              follows: </div>
            <div class="moz-cite-prefix"> <br>
            </div>
            <div class="moz-cite-prefix">
              <p>GParted 0.30.0 --enable-libparted-dmraid
                --enable-online-resize</p>
              <p>Libparted 3.2</p>
              <table border="0">
                <tbody>
                  <tr>
                    <td colspan="2"> <b>Grow /dev/sdc2 from 29.99 GiB
                        to 723.03 GiB</b>  00:00:00    ( ERROR ) </td>
                  </tr>
                  <tr>
                    <td>    </td>
                    <td>
                      <table border="0">
                        <tbody>
                          <tr>
                            <td colspan="2"> calibrate
                              /dev/sdc2  00:00:00    ( SUCCESS ) </td>
                          </tr>
                          <tr>
                            <td>    </td>
                            <td>
                              <table border="0">
                                <tbody>
                                  <tr>
                                    <td colspan="2"> <i>path: /dev/sdc2
                                        (partition)<br>
                                        start: 437226563<br>
                                        end: 500118191<br>
                                        size: 62891629 (29.99 GiB)</i> </td>
                                  </tr>
                                </tbody>
                              </table>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                      <table border="0">
                        <tbody>
                          <tr>
                            <td colspan="2"> grow partition from 29.99
                              GiB to 723.03 GiB  00:00:00    ( ERROR ) <br>
                            </td>
                          </tr>
                          <tr>
                            <td>    </td>
                            <td>
                              <table border="0">
                                <tbody>
                                  <tr>
                                    <td colspan="2"> <i>old start:
                                        437226563<br>
                                        old end: 500118191<br>
                                        old size: 62891629 (29.99 GiB)</i>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>
                              <table border="0">
                                <tbody>
                                  <tr>
                                    <td colspan="2"> <i>requested
                                        start: 437226563<br>
                                        requested end: 1953523711<br>
                                        requested size: 1516297149
                                        (723.03 GiB)</i> </td>
                                  </tr>
                                </tbody>
                              </table>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                      <table border="0">
                        <tbody>
                          <tr>
                            <td colspan="2"> libparted messages    (
                              INFO ) </td>
                          </tr>
                          <tr>
                            <td>    </td>
                            <td>
                              <table border="0">
                                <tbody>
                                  <tr>
                                    <td colspan="2"> <i>Unable to
                                        satisfy all constraints on the
                                        partition.</i> </td>
                                  </tr>
                                </tbody>
                              </table>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                  </tr>
                </tbody>
              </table>
              <p>========================================</p>
              <table border="0">
                <tbody>
                  <tr>
                    <td colspan="2"> <b>Move /dev/sdc5 to the right and
                        grow it from 29.99 GiB to 29.99 GiB</b> </td>
                  </tr>
                </tbody>
              </table>
              <p>========================================</p>
              <table border="0">
                <tbody>
                  <tr>
                    <td colspan="2"> <b>Move /dev/sdc2 to the right and
                        shrink it from 723.03 GiB to 29.99 GiB</b> </td>
                  </tr>
                </tbody>
              </table>
              <p>========================================</p>
              <table border="0">
                <tbody>
                  <tr>
                    <td colspan="2"> <b>Grow /dev/sdc1 from 208.48 GiB
                        to 901.52 GiB</b> </td>
                  </tr>
                </tbody>
              </table>
              <p>========================================</p>
            </div>
            <div class="moz-cite-prefix"> /dev/sdc1 is ext4 and what I
              want extended      208.48 GiB <br>
            </div>
            <div class="moz-cite-prefix"> /dev/sdc2 is the extended
              partition                      29.99 GiB <br>
            </div>
            <div class="moz-cite-prefix"> /dev/sdc5 is the linux swap
              which was turned off 29.99 GiB and was inside the extended
              partition <br>
            </div>
            <div class="moz-cite-prefix"> unallocated
              was                                                 
              693.04 GiB <br>
            </div>
            <div class="moz-cite-prefix"> <br>
            </div>
            <div class="moz-cite-prefix"> Partitions were dragged and
              moved per the basic instructions. </div>
            <div class="moz-cite-prefix"> <br>
            </div>
            <div class="moz-cite-prefix"> Can you give me a hint what
              went wrong?  I'm kind of surprised that it failed,
              essentially in the first step, growing the extended
              partition after turning linux-swap off. <br>
            </div>
            <div class="moz-cite-prefix"> <br>
            </div>
            <div class="moz-cite-prefix"> The problem might be that
              gparted still has a problem with leaving 1MiB at the end
              for the duplicate boot information.  I found a comment in
              2017 for gparted:  <a class="moz-txt-link-freetext"
                href="http://gparted-forum.surf4.info/viewtopic.php?id=17646"
                moz-do-not-send="true">http://gparted-forum.surf4.info/viewtopic.php?id=17646</a>
            </div>
            <div class="moz-cite-prefix"> <br>
            </div>
            <div class="moz-cite-prefix"> And: <a
                class="moz-txt-link-freetext"
                href="https://bugzilla.gnome.org/show_bug.cgi?id=738144"
                moz-do-not-send="true">https://bugzilla.gnome.org/show_bug.cgi?id=738144</a>
            </div>
            <div class="moz-cite-prefix"> <br>
            </div>
            <div class="moz-cite-prefix"> Is there a practical work
              around to my reported error? </div>
            <div class="moz-cite-prefix"> <br>
            </div>
            <div class="moz-cite-prefix"> Thanks, </div>
            <div class="moz-cite-prefix"> Bruce </div>
            <div class="moz-cite-prefix"> <br>
            </div>
            <div class="moz-cite-prefix"> <br>
            </div>
            <div class="moz-cite-prefix"> On 12/1/18 4:39 PM, Dan
              Jenkins wrote: <br>
            </div>
            <blockquote type="cite"
              cite="mid:1600956f-69d0-e091-758d-b6131f4814d5@rastech.com">
              <pre class="moz-quote-pre" wrap="">On some of the BIOSes, unless you have the USB drive connected, before 
you go into the BIOS, it will not appear as a boot option.

Also, depending on the USB flash drive model, it may appear:
1) as a removable device (aka a floppy drive),
2) a hard drive (appearing as second choice under hard disk drives;
    you would need to change the 1st drive to USB and the 2nd drive to 
your current boot drive), or
3) as a CDROM drive.

Also, if you have a UEFI BIOS, you may need to switch it to Legacy, 
instead of UEFI.

Lastly, if you have a UEFI BIOS, you need a UEFI compatible boot device. 
In the case of Clonezilla, you need to download an AMD664 alternative 
version (Ubuntu-based), rather than the default Debian-based. (We have 
both the UEFI and Legacy versions of Clonezilla to try when we run into 
such issues.)

And, rarely, I encounter computers that simply cannot boot USB flash 
drives, but those tend to be much older ones.

_______________________________________________
gnhlug-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gnhlug-discuss@mail.gnhlug.org" moz-do-not-send="true">gnhlug-discuss@mail.gnhlug.org</a>
<a class="moz-txt-link-freetext" href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/" moz-do-not-send="true">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/</a>


</pre>
            </blockquote>
            <p><br>
            </p>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <pre class="moz-quote-pre" wrap="">_______________________________________________
gnhlug-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gnhlug-discuss@mail.gnhlug.org" moz-do-not-send="true">gnhlug-discuss@mail.gnhlug.org</a>
<a class="moz-txt-link-freetext" href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/" moz-do-not-send="true">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/</a>
</pre>
          </blockquote>
          <br>
          <pre class="blue"> <hr>
gnhlug-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gnhlug-discuss@mail.gnhlug.org">gnhlug-discuss@mail.gnhlug.org</a>
<a href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss" moz-do-not-send="true">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss</a>/
</pre>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>