Migrating MX18 from one SSD to another

Message
Author
User avatar
WarhawkCZ
Posts: 46
Joined: Fri Sep 21, 2018 2:35 pm

Re: Migrating MX18 from one SSD to another

#11 Post by WarhawkCZ »

JayM wrote: Tue Aug 06, 2019 4:58 am
WarhawkCZ wrote: Tue Aug 06, 2019 1:38 am Thank you everyone, I will try the snapshot feature first. It is for a collectible Thinkpad x301 (my portable typewriter) and the amount of home data is super small. I'll report back.
In that case, and if your USB stick is 8GB or larger, a simple personal snapshot with no directories in /home excluded will probably do everything that you need. Create the snapshot ISO (by default they get stored in /home/snapshot), right-click on the md5 and sha512 files and select "Check data integrity" and if that says "OK" burn it to your USB stick using MX Live USB Maker, boot from the USB just to check that it includes your personal setup, power off and swap out the SSDs, boot from the USB again, and install to the new bigger SSD. VIola! :grin:
Jesus, this was smooth as silk. Process has just finished, zero problems. Even notes on my desktop remained in the position.
Utterly boring distro, no problems to deal with... :number1:
I use Google before asking dumb questions but I am new to Linux. Thank you for your patience :-)

User avatar
JayM
Qualified MX Guide
Posts: 6793
Joined: Tue Jan 08, 2019 4:47 am

Re: Migrating MX18 from one SSD to another

#12 Post by JayM »

WarhawkCZ wrote: Tue Aug 06, 2019 4:38 pm Utterly boring distro, no problems to deal with... :number1:
Careful! That can lead to messing up your system out of sheer boredom because everything works so well, leaving you with nothing else to do. :)
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
jj1j1
Posts: 199
Joined: Tue May 28, 2019 3:49 pm

Re: Migrating MX18 from one SSD to another

#13 Post by jj1j1 »

Clonezilla easily and reliably takes care of all steps and will not allow cloning a larger disk to a smaller, so it is safe in this instance.
I used to use Clonezilla often. There's an option in advanced settings that allows use of smaller drives as long as the clone data will fit on the smaller drive as Clonezilla doesn't copy empty space of larger drive.
True freedom is never asking the question; Am I free?

nathan2423
Posts: 217
Joined: Tue Dec 22, 2015 8:33 am

Re: Migrating MX18 from one SSD to another

#14 Post by nathan2423 »

Since my question is very similar can I add this here?

I am about to migrate two of my computers this weekend from existing spinning hard drives to SSDs. Both of the old drives are in the 300gb size range with multiple partitions (root, home, data drive, swap), and the new SSDs are larger than the old drives.

I presume that booting from a live USB which has clonezilla is the best way to do that, while attaching the new SSD to an external enclosure temporarily. then use clonezilla disk to disk clone.

The reason I post this is that I ***always*** seem to have a devil of a time using Clonezilla. Rarely if ever do I seem to accomplish anything when I set out to use it, as the result almost uniformly ends up unbootable. And I then end up using the snapshot facility and then copying data separately and kick myself for trying Clonezilla in the first place.

Are there any "tricks" to using Clonezilla successfully that might help make this attempt more successful?

User avatar
chrispop99
Global Moderator
Posts: 3179
Joined: Tue Jan 27, 2009 3:07 pm

Re: Migrating MX18 from one SSD to another

#15 Post by chrispop99 »

(Offered as a future reference point).

mSATA to USB adaptors are available, so it would be possible to have both disks active simultaneously.

Chris
MX Facebook Group Administrator.
Home-built desktop - Core i5 9400, 970 EVO Plus, 8GB
DELL XPS 15
Lots of test machines

Vincent17
Posts: 75
Joined: Tue Feb 20, 2018 1:07 am

Re: Migrating MX18 from one SSD to another

#16 Post by Vincent17 »

@nathan2423 FWIW I recently migrated a HDD to SSD (same size). Tried direct copy using dd, cat, ddrescue and clonezilla, but all of them failed or hung. What worked was to make an image on a third drive with ddrescue and dd that to the SSD.
--Edit-- Clarification: I booted MX from live flash drive and tried to copy internal HDD to new SSD in usb external drive enclosure. Also tried clonezilla live flash drive.
Last edited by Vincent17 on Tue Aug 13, 2019 2:22 pm, edited 3 times in total.

User avatar
baldyeti
Posts: 678
Joined: Sat Dec 05, 2009 4:37 pm

Re: Migrating MX18 from one SSD to another

#17 Post by baldyeti »

@nathan: clonezilla has this nice ability to copy a drive to a bigger one, to scale. IOW, if you copy a 320GB HDD to a 512GB SSD, every partition gets its size multiplied by (512/320) and its content copied. Neat. I have not tried this in a long time and it was on a MBR-partitioned drive running windows XP. Clonezilla was then able to fix the NT bootloader. Not sure if this still works with GPT and Windows 10. If your source drive is linux only, i'd got for it. If needed you can always fix grub using "MX boot repair".

User avatar
m_pav
Developer
Posts: 1413
Joined: Sun Aug 06, 2006 3:02 pm

Re: Migrating MX18 from one SSD to another

#18 Post by m_pav »

nathan2423 wrote: Tue Aug 13, 2019 8:08 amAre there any "tricks" to using Clonezilla successfully that might help make this attempt more successful?
If you haven't already, just try using the defaults, or if you need to be ultra-careful for fear of trashing your data, clone the entire disk to an image and use the resultant image as your source when doing an image dump back to a new disk.

My data is something like 670GB in size on a 1.6 TB partition, so it's not beneficial to use clonezilla. I simply have a luckybackup profile that takes care of saving my data to a removable USB HDD and I do a fresh install and do not format /home. I would follow by dumping the data back when I upgrade my drive, but for tiny installations, say 10-30GB, I'd definitely use clonezilla.
Mike P

Regd Linux User #472293
(Daily) Lenovo T560, i7-6600U, 16GB, 2.0TB SSD, MX_ahs
(ManCave) AMD FX 6100 CPU, nVidia, 8Gb, 3.25TB mixed, MX_ahs
(Spare)2017 Macbook Air 7,2, 8GB, 256GB SSD, MX_ahs

User avatar
jj1j1
Posts: 199
Joined: Tue May 28, 2019 3:49 pm

Re: Migrating MX18 from one SSD to another

#19 Post by jj1j1 »

I use an older version of clonezilla, clonezilla-live-2.4.5-23-amd64. The interface is easier to work with, (for me anyway).
I helped a friend once trying to clone his laptop to a new ssd. It seemed to me that the bios wanted a specific number of partitions and for them to be a specific size. It wouldn't even let laptop boot into Clonezilla. It wouldn't boot into larger, fully partitioned, ssd. After getting exact size of each partition, cloning drive, re creating the exact partition structure on new ssd, and leaving unused space as unallocated, I could run Clonezilla, and it copied correctly, bios was happy, and it booted properly. After it booted I partitioned the unalocated space.
True freedom is never asking the question; Am I free?

nathan2423
Posts: 217
Joined: Tue Dec 22, 2015 8:33 am

Re: Migrating MX18 from one SSD to another

#20 Post by nathan2423 »

Thanks for the replies. Sounds like i am not the only one having problems with clonezilla.

It's kind of mysterious to me - I have read so much praise for it, but it seems much more finicky than it should be.

I would think if the new disk is going to be completely reformated by the cloning process, there would not be so much issue and it wouldn't be so difficult.

I am much more impressed with the interface of qt4fsarchiver, and i see that it has a clone hd option, but I wasn't able to get that working on last try either.

I will see if I can devote some time to playing with both options and report back.

Post Reply

Return to “General”