Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Migrating MX18 from one SSD to another

User avatar
WarhawkCZ
Forum Novice
Forum  Novice
Posts: 44
Joined: Fri Sep 21, 2018 2:35 pm

Re: Migrating MX18 from one SSD to another

#11

Post by WarhawkCZ » Tue Aug 06, 2019 4:38 pm

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: 2132
Joined: Tue Jan 08, 2019 4:47 am

Re: Migrating MX18 from one SSD to another

#12

Post by JayM » Tue Aug 06, 2019 9:02 pm

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 How To Ask For Help and How to Break Your System.
MX User Manual: hold down ALT and press F1. Further information may be found in the MX Wiki.

User avatar
jj1j1
Forum Regular
Forum Regular
Posts: 214
Joined: Tue May 28, 2019 3:49 pm

Re: Migrating MX18 from one SSD to another

#13

Post by jj1j1 » Tue Aug 06, 2019 9:36 pm

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
Forum Regular
Forum Regular
Posts: 379
Joined: Tue Dec 22, 2015 8:33 am

Re: Migrating MX18 from one SSD to another

#14

Post by nathan2423 » Tue Aug 13, 2019 8:08 am

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: 3105
Joined: Tue Jan 27, 2009 3:07 pm

Re: Migrating MX18 from one SSD to another

#15

Post by chrispop99 » Tue Aug 13, 2019 9:59 am

(Offered as a future reference point).

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

Chris
Test machines:
32-bit non-PAE - Thinkpad T41, 1.6GHz Pentium M, 1GB RAM.
32-bit PAE - DELL Latitude D610, 1.73GHz Pentium M, 2GB RAM.
64-bit - Lenovo T61, 2GHz Core 2 Duo, 2GB RAM
64-bit - Gigabyte Z77P-D3, Intel i3-3220, GeForce 8400 GS, 4GB PC3-12800.

Vincent17
Forum Novice
Forum  Novice
Posts: 73
Joined: Tue Feb 20, 2018 1:07 am

Re: Migrating MX18 from one SSD to another

#16

Post by Vincent17 » Tue Aug 13, 2019 1:53 pm

@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
Forum Regular
Forum Regular
Posts: 254
Joined: Sat Dec 05, 2009 4:37 pm

Re: Migrating MX18 from one SSD to another

#17

Post by baldyeti » Tue Aug 13, 2019 2:12 pm

@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: 2787
Joined: Sun Aug 06, 2006 3:02 pm

Re: Migrating MX18 from one SSD to another

#18

Post by m_pav » Tue Aug 13, 2019 3:42 pm

nathan2423 wrote:
Tue Aug 13, 2019 8:08 am
Are 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
(Mine)Lenovo T560, i7-6600U, 16GB, 2.0TB SSHD, MX17 64-bit
(Wifes) Asus M4A88TD-M, AMD Phenom II x4 955 CPU, nVidia GF610, 6Gb, 500GB+320GB, MX17 + KDE
(Kids) Intel NUC, J1900, 4GB, 64GB SSD, MX17

User avatar
jj1j1
Forum Regular
Forum Regular
Posts: 214
Joined: Tue May 28, 2019 3:49 pm

Re: Migrating MX18 from one SSD to another

#19

Post by jj1j1 » Tue Aug 13, 2019 5:33 pm

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
Forum Regular
Forum Regular
Posts: 379
Joined: Tue Dec 22, 2015 8:33 am

Re: Migrating MX18 from one SSD to another

#20

Post by nathan2423 » Tue Aug 13, 2019 9:15 pm

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”