<div dir="ltr">Hmm.  never mind about 1B, it turns out to be problems with UUIDS in /etc/fstab.  I didn't realize they would change in the cloning proces.  1A is still a puzzle though.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 20, 2017 at 9:35 PM, Kevin O'Gorman <span dir="ltr"><<a href="mailto:kogorman@gmail.com" target="_blank">kogorman@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"><div><div><div><div><div><div><div>I'm having problems...  and because I'm doing something a bit tricky, I'm probably confused.<br><br></div>I have to send my motherboard in for a warranty repair, and don't want my system out of service longer than an hour or so.  I have to send the HDD in with it because of the kind of problem I'm having ("stability").  So I've made a clone of all of the partitions on another drive and I'm trying to make it work.  It's not going well.<br><br></div>Several things are bothering me, but I'll just describe the first one.  It won't boot from the hard drive.<br><br></div>Now I'm guessing it's because the two drives are different sizes, so I used gdisk to put a GPT partition table on the new drive and set up partitions to match the old one, then used gparted to copy the ext4 partition contents over.  I used dd to copy the boot partition.<br><br></div>I figured I use grub itself to do this.  I have a Mushkin USB stick with Xubuntu 16.04.1 on it, both 32 and 64 bit.  So I boot from the Mushkin, run update-grub, and then grub-install to the HDD.<br><br></div>Problem 1A: this works from the 32-bit version.  Fails from the 64-bit version with the message<br><br><div style="margin-left:40px">grub-install: error: /usr/lib/grub/i386-pc/modinfo.<wbr>sh doesn't exist. Please specify --target or --directory.<br></div><br></div>Problem 1B: even after installing from 32-bit version, booting from HDD takes me to an emergency mode where I can look at a log.  There are messages in red, but they run off the right edge of my screen, and I don't fully understand them -- but they seem to be about mounting some of my partitions.  I'm not clear on how to copy that log so I can show it to you.  I can escape out of the rescue mode, and there's a twirling thing that usually means it's about to ask me to log in, but it never gets there.  If I boot into rescue mode, I can get to a command prompt, and it looks like my partitons are mounted, so I don't know what the problem really is.<br><br></div>Can anybody help me with this?<span class="HOEnZb"><font color="#888888"><br clear="all"><div><div><div><div><div><div><div><div><br>-- <br><div class="m_-990719732451774866gmail_signature"><div dir="ltr"><div>Kevin O'Gorman<br></div>#define QUESTION ((bb) || (!bb))   /* Shakespeare */<br><br><div><span style="line-height:normal;font-variant:normal;font-size:10pt;font-style:normal;font-weight:normal"><span style="line-height:normal;font-variant:normal;font-size:10pt;font-style:normal;font-weight:normal"></span></span><table cellspacing="0" cellpadding="0" border="0" width="448"><tbody><tr><td width="25"><img src="cid:XVHDKDFDBURW.IMAGE_60.gif" width="25" height="21"></td>
<td width="423"><span style="font-family:verdana,geneva,sans-serif;color:rgb(0,153,0);margin-left:5px;font-size:10px">Please consider the environment before printing this email.</span></td></tr></tbody></table><br></div></div></div>
</div></div></div></div></div></div></div></div></font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Kevin O'Gorman<br></div>#define QUESTION ((bb) || (!bb))   /* Shakespeare */<br><br><div><span style="line-height:normal;font-variant:normal;font-size:10pt;font-style:normal;font-weight:normal"><span style="line-height:normal;font-variant:normal;font-size:10pt;font-style:normal;font-weight:normal"></span></span><table border="0" cellpadding="0" cellspacing="0" width="448"><tbody><tr><td width="25"><img src="cid:XVHDKDFDBURW.IMAGE_60.gif" height="21" width="25"></td>
<td width="423"><span style="FONT-FAMILY:Verdana,Geneva,sans-serif;COLOR:rgb(0,153,0);MARGIN-LEFT:5px;FONT-SIZE:10px">Please consider the environment before printing this email.</span></td></tr></tbody></table><br></div></div></div>
</div>