<div dir="ltr"><div>I've done it a few times. I do the same 'dd' method mentioned above, usually from a Live USB stick, so I don't have to worry about mounted filesystems. I do this for both Linux and Windows drives (I just did my Windows 10 machine last week from an SSD to a NVMe drive).</div><div><br></div><div>dd'ing the disk ensures your partition UUIDs don't change, which means you won't have to worry about re-registering UEFI bootloaders. Just don't boot with both disks connected, because you can't be sure which you'll be running from. Best is to remove the old disk after copying. Wipe the disk at a later date (I do it on a different machine, although there shouldn't be any issues with duplicate UUIDs once everything is mounted).<br></div><div><br></div><div>Next steps would vary depending on your filesystems. You can then resize your partitions. I use LVM, and I just carefully delete the current partition, and create one with the same starting to fill the rest of the disk using parted, then `pvresize` and I'm good to use that space as needed. There are tools that can automate that (I think parted itself can), but I prefer manually doing it.<br></div><div><br></div><div>I also manually run `fstrim -av` afterwards to give free space back to the SSD's garbage collector, since `dd` will have copied free space from the original disk. This is likely already a scheduled weekly task (at least it is on Fedora), but no issue in being proactive.<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Nov 4, 2018 at 8:29 AM Charles M <<a href="mailto:chaslinux@gmail.com">chaslinux@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The short version:<br>
<br>
I'm planning on upgrading the 120GB OS SSD in our KODI server to a<br>
500GB+ SSD. Can I simply using Clonezilla and Gparted to clone and<br>
resize the data or will I have to do some grub magic? (I assume I will<br>
because of the UUID system)<br>
<br>
The long version:<br>
<br>
I want to upgrade the 120GB SSD in our KODI server to a 500GB+ SSD.<br>
120GB was good when we were only scraping movie data, but now we've<br>
started using it for Steam and some of those Steam games take more<br>
than 60% of the current SSD. We don't want to move the /home folder to<br>
the spinning rust drive.<br>
<br>
One problem that prevents us from simply doing a fresh install of the<br>
latest Xubuntu and copying over is the fact that lirc is broken in<br>
18.04. When I did the upgrade from 16.04 to 18.04 on our current box I<br>
held back the lirc package so our remotes would continue to work. I<br>
could reinstall 16.04 and do the same upgrade-hold-back process for<br>
18.04.<br>
<br>
I don't really want to add the 500GB as a slave to the 120GB (keeping<br>
things simple).<br>
<br>
Has anyone cloned SSD to SSD or does everyone mostly backup and reinstall?<br>
<br>
Thanks,<br>
<br>
Charles<br>
-- <br>
Charles McColm<br>
Blog: <a href="http://www.charlesmccolm.com/" rel="noreferrer" target="_blank">http://www.charlesmccolm.com/</a><br>
Twitter/Identica/Google+: @chaslinux<br>
<br>
_______________________________________________<br>
kwlug-disc mailing list<br>
<a href="mailto:kwlug-disc@kwlug.org" target="_blank">kwlug-disc@kwlug.org</a><br>
<a href="http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org" rel="noreferrer" target="_blank">http://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Chris Irwin<br><<a href="mailto:chris@chrisirwin.ca" target="_blank">chris@chrisirwin.ca</a>></div></div>