<div dir="ltr">On Thu, Dec 24, 2015 at 8:22 AM, Hika van den Hoven <span dir="ltr"><<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hoi Mike,<br>
<span class=""><br>
Thursday, December 24, 2015, 1:59:23 PM, you wrote:<br>
<br>
> On 12/23/2015 07:23 PM, Mike's JdJ wrote:<br>
>><br>
>> Goal: replace existing BackEnd 976 GB system drive with<br>
>> 240 GB SSD.<br>
>><br>
<br>
> Wow, thank you Jerry, Hika, Tom, and Simon.<br>
<br>
> Excellent solutions. I will think about which is safest for my<br>
> skill level.<br>
<br>
> Mike<br>
<br>
</span>It is in essence how you install Gentoo! But I forgot one important<br>
part on chrooting. You also have to remount proc, dev and sys into the<br>
new system. This is the script I use for chrooting:<br>
<br>
#!/bin/bash<br>
declare mntPath=$1<br>
echo $mntPath<br>
<br>
if [ "$mntPath" == "" ]; then<br>
exit<br>
fi<br>
<br>
mount -t proc none $mntPath/proc<br>
mount --rbind /sys $mntPath/sys<br>
mount --rbind /dev $mntPath/dev<br>
<br>
chroot $mntPath/ /bin/bash<br>
<br>
You call the script with the mount path as parameter and of cause with<br>
root rights.<br></blockquote><div><br></div><div>Yes, the chroot part is very brief on the guide I linked to. I did that part nearly the same way as Hika did. I also did (after the chroot)<br><br></div><div>grub2-mkconfig -o /boot/grub2/grub.cfg<br><br></div><div>It will update the grub config with the new UUIDs from the new partitions on the SSD disk you have installed. I am not sure if that is necessary, but it doesn't hurt, either.<br></div><div><br></div><div>I am running Fedora. I believe the command is slightly different in other flavors of Linux.<br><br></div><div>Upgrading disks is a regular thing. When you decide on a solution, document it / take notes for yourself so the next time is easier.</div></div></div></div>