<div dir="auto">Grub will still point to the old one. <div dir="auto">The way I prefer to do it is to install a fresh os onto the new drive and copy /home and possibly /usr/local. But everyone has an individual setup. There is a grub utility, Grub Customizer. I use this when I set up triple boot. <br><br><div data-smartmail="gmail_signature" dir="auto"><br>Sent from Galaxy S9+<br><br>Jerry Feldman <<a href="mailto:gaf.linux@gmail.com" target="_blank" rel="noreferrer">gaf.linux@gmail.com</a>><br>Boston Linux and Unix<br><a href="http://www.blu.org" target="_blank" rel="noreferrer">http://www.blu.org</a><br>PGP key id: 6F6BB6E7<br>PGP Key fingerprint: 0EDC 2FF5 53A6 8EED 84D1 3050 5715 B88D 6F6B B6E7<br> </div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Dec 2, 2018, 11:44 AM Bruce Labitt <<a href="mailto:bruce.labitt@myfairpoint.net" target="_blank" rel="noreferrer">bruce.labitt@myfairpoint.net</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix">So after changing the boot order to
boot from the new drive first, BIOS had to fall back to booting
from the smaller (original) drive. I had no warning or display,
BIOS switched over "silently".</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"><br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix">What is the best way of diagnosing this
and proceeding? I presume something needs to be done to grub on
the new disk. <br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"><br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix">Since I had done a dd copy, wouldn't
grub already be there? <br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"><br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"><br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix">On 12/2/18 10:47 AM, Bruce Labitt
wrote:<br>
</div>
<blockquote type="cite">
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix">Thanks Dan! That did the trick.
Doing it the way you suggested worked, vs. the way in the video
(which did not work).</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix">Your way was simple and with no
error.</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"><br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix">Thanks everyone for your help.</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix">Hopefully it will boot, and then I'll
replace the disk in the laptop with this one.</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"><br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix">Bruce</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"><br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix">On 12/2/18 9:40 AM, Dan Jenkins
wrote:<br>
</div>
<blockquote type="cite">
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="m_6014694466571421208m_1235577276297564536moz-cite-prefix">On 12/2/2018 9:32 AM, Bruce.Labitt
wrote:<br>
</div>
<blockquote type="cite">
<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">Sent from
<a href="http://www.bluemail.me/r?b=14063" rel="noreferrer noreferrer" target="_blank">Blue</a>
</div>
<div class="gmail_quote">On Dec 2, 2018, at 8:42 AM, Dan
Jenkins <<a href="mailto:dan@rastech.com" rel="noreferrer noreferrer" target="_blank">dan@rastech.com</a>> 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 & 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 & 7. <br>
<br>
On 12/1/2018 9:05 PM, Bruce Labitt wrote: <br>
<blockquote type="cite">
<div class="m_6014694466571421208m_1235577276297564536moz-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="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> <br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> OK, dd'd the disk. Took a
long time, 94 minutes, but everything is transferred,
except for this email. </div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> <br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> Next is to resize in
gparted - which didn't complete. <br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> I followed a youtube video
at <a class="m_6014694466571421208m_1235577276297564536moz-txt-link-freetext" href="https://www.youtube.com/watch?v=cDgUwWkvuIY" rel="noreferrer noreferrer" target="_blank">https://www.youtube.com/watch?v=cDgUwWkvuIY</a>
<br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> <br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> Just to note, <b> sdc has
never been mounted. </b> <br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> <br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-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="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> <br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-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="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> /dev/sdc1 is ext4 and what
I want extended 208.48 GiB <br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> /dev/sdc2 is the extended
partition 29.99 GiB <br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-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="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> unallocated
was
693.04 GiB <br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> <br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> Partitions were dragged
and moved per the basic instructions. </div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> <br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-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="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> <br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-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="m_6014694466571421208m_1235577276297564536moz-txt-link-freetext" href="http://gparted-forum.surf4.info/viewtopic.php?id=17646" rel="noreferrer noreferrer" target="_blank">http://gparted-forum.surf4.info/viewtopic.php?id=17646</a>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> <br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> And: <a class="m_6014694466571421208m_1235577276297564536moz-txt-link-freetext" href="https://bugzilla.gnome.org/show_bug.cgi?id=738144" rel="noreferrer noreferrer" target="_blank">https://bugzilla.gnome.org/show_bug.cgi?id=738144</a>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> <br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> Is there a practical work
around to my reported error? </div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> <br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> Thanks, </div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> Bruce </div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> <br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> <br>
</div>
<div class="m_6014694466571421208m_1235577276297564536moz-cite-prefix"> On 12/1/18 4:39 PM, Dan
Jenkins wrote: <br>
</div>
<blockquote type="cite">
<pre class="m_6014694466571421208m_1235577276297564536moz-quote-pre">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="m_6014694466571421208m_1235577276297564536moz-txt-link-abbreviated" href="mailto:gnhlug-discuss@mail.gnhlug.org" rel="noreferrer noreferrer" target="_blank">gnhlug-discuss@mail.gnhlug.org</a>
<a class="m_6014694466571421208m_1235577276297564536moz-txt-link-freetext" href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/" rel="noreferrer noreferrer" target="_blank">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/</a>
</pre>
</blockquote>
<p><br>
</p>
<br>
<fieldset class="m_6014694466571421208m_1235577276297564536mimeAttachmentHeader"></fieldset>
<pre class="m_6014694466571421208m_1235577276297564536moz-quote-pre">_______________________________________________
gnhlug-discuss mailing list
<a class="m_6014694466571421208m_1235577276297564536moz-txt-link-abbreviated" href="mailto:gnhlug-discuss@mail.gnhlug.org" rel="noreferrer noreferrer" target="_blank">gnhlug-discuss@mail.gnhlug.org</a>
<a class="m_6014694466571421208m_1235577276297564536moz-txt-link-freetext" href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/" rel="noreferrer noreferrer" target="_blank">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/</a>
</pre>
</blockquote>
<br>
<pre class="m_6014694466571421208m_1235577276297564536blue"> <hr>
gnhlug-discuss mailing list
<a class="m_6014694466571421208m_1235577276297564536moz-txt-link-abbreviated" href="mailto:gnhlug-discuss@mail.gnhlug.org" rel="noreferrer noreferrer" target="_blank">gnhlug-discuss@mail.gnhlug.org</a>
<a href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss" rel="noreferrer noreferrer" target="_blank">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss</a>/
</pre>
</blockquote>
</div>
</blockquote>
<br>
</blockquote>
<p><br>
</p>
<br>
<fieldset class="m_6014694466571421208m_1235577276297564536mimeAttachmentHeader"></fieldset>
<pre class="m_6014694466571421208m_1235577276297564536moz-quote-pre">_______________________________________________
gnhlug-discuss mailing list
<a class="m_6014694466571421208m_1235577276297564536moz-txt-link-abbreviated" href="mailto:gnhlug-discuss@mail.gnhlug.org" rel="noreferrer noreferrer" target="_blank">gnhlug-discuss@mail.gnhlug.org</a>
<a class="m_6014694466571421208m_1235577276297564536moz-txt-link-freetext" href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/" rel="noreferrer noreferrer" target="_blank">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/</a>
</pre>
</blockquote>
<p><br>
</p>
</div>
_______________________________________________<br>
gnhlug-discuss mailing list<br>
<a href="mailto:gnhlug-discuss@mail.gnhlug.org" rel="noreferrer noreferrer" target="_blank">gnhlug-discuss@mail.gnhlug.org</a><br>
<a href="http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/" rel="noreferrer noreferrer noreferrer" target="_blank">http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/</a><br>
</blockquote></div>