Peterborough Linux User Group (Canada) Forum

Linux & Android => General Linux/Android Discussions => Topic started by: Jason on June 30, 2019, 12:35:38 AM

Title: Upgraded my SSD drive
Post by: Jason on June 30, 2019, 12:35:38 AM
So I finally upgraded my 64 SSD which was getting a bit cramped with both Windows 10 and Kubuntu on it. I bought this Kingston drive (https://www.amazon.ca/Kingston-Digital-480GB-SA400S37-480G/dp/B01N0TQPQB) with 480 GB for $76 from Amazon (free shipping). Still blows my mind how cheap SSD drives have gotten. I bought it last month but hadn't gotten around to installing it because I knew I'd have to transfer files and was considering ditching my RAID 10 setup so I knew there would be a fair bit of work. Decided to worry about the RAID stuff later and just upgrade the SSD.

I didn't want to reinstall everything so I was going to go straight to Clonezilla and then though, hmm, I wonder if there is any nicer graphical tools for Linux (or at least support Linux partitions). Couldn't find anything specific to Linux but Macrium Reflect supported cloning Linux partitions, too and has a free version. It's a Windows program.

Problem was that Windows couldn't see the drive. Realized it probably wasn't formatted, I used WIndows Repair from a Win10 install flash drive and formatted it as suggested by Kingston. Booted up and it still didn't see it. Didn't even show in Device Manager. Weird. So I though, okay, going to see if Linux sees it. And sure enough after booting up Kubuntu and running KParted, it saw it. So figured, screw Windows, going to do it with Clonezilla.

Cloned drive to drive and it worked easily and fast, not that there was a lot of data to transfer. Of course, Clonezilla didn't size up the partitions so I booted with LM and used gparted to resize the partitions. Changed the boot order and it started up with no errors. Didn't even have the issue with UUIDs that Mike has mentioned before.  Used Kubuntu and Kparted again to re-format the 64 GB drive and then later pulled it out as I promised Dougal could have it.

Funny how much easier things are with Linux. I guess WIndows doesn't have such great hardware compatibility.  ;D
Title: Re: Upgraded my SSD drive
Post by: fox on June 30, 2019, 07:36:09 AM
Glad to hear, Jason. When you say you didn't have the UUID problem, mine was specific to booting up the new drive when the old one was still connected. At least in Ubuntu, the Grub setup specifies the UUID and if two partitions have the same UUID, that's how it gets mixed up. Were both drives connected, do they both still have same UUID, and does your version of Grub specify location by UUID?
Title: Re: Upgraded my SSD drive
Post by: Jason on June 30, 2019, 06:54:41 PM
Yes, they were both connected when I booted up with the new drive. That's how I booted up in the new drive and re-formatted the old one. And both grub.cfg and fstab files refer to UUIDs. I never checked to see if they had the same UUID but I doubt it. The old drive is no longer connected so I can't check. I'm guessing that it was remapped although maybe that's something that Clonezilla changes now or grub reconfigures on the fly.