Migrating MX18 from one SSD to another

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

Migrating MX18 from one SSD to another

#1 Post by WarhawkCZ »

Hello everyone,
I would like to migrate my current installation of MX18 from one SSD to another (different brand and size).
What would be the best approach? Would MX Snapshot do the job? I would like to ideally keep everything as-is.

Thanks for any hints.

Best regards, Jiri

edit: We're talking about mSata SSDs so I can't (easily) make both of them running at the same time.
I use Google before asking dumb questions but I am new to Linux. Thank you for your patience :-)

User avatar
towwire
Posts: 648
Joined: Fri Oct 15, 2010 12:15 pm

Re: Migrating MX18 from one SSD to another

#2 Post by towwire »

WarhawkCZ wrote: Mon Aug 05, 2019 2:32 pm Hello everyone,
I would like to migrate my current installation of MX18 from one SSD to another (different brand and size).
What would be the best approach? Would MX Snapshot do the job? I would like to ideally keep everything as-is.

Thanks for any hints.

Best regards, Jiri

edit: We're talking about mSata SSDs so I can't (easily) make both of them running at the same time.
I don't know about mSata SSDs. My question is can you see them when booting from a live-usb? And how is your system formatted? UEFI? Root size? Home and other partitions etc?
It is easier to fight for one's principles then to live up to them.

NGIB
Posts: 129
Joined: Sat Apr 05, 2014 12:12 pm

Re: Migrating MX18 from one SSD to another

#3 Post by NGIB »

Snapshot works well for this...
Life's tough, it's tougher if you're stupid...

User avatar
towwire
Posts: 648
Joined: Fri Oct 15, 2010 12:15 pm

Re: Migrating MX18 from one SSD to another

#4 Post by towwire »

The reason I asked is I just did this going from a 120G to a 500G ssd. Mine was UEFI and I did this using Gpart to copy each partition from the 120G to the 500G. I did this one partition at a time since after each one except for the esp, I resized them to a larger size after each copy. This kept all UUID numbers the same so no changes on anything. Just remove the 120g drive and it rebooted just like it was still the 120G drive. Later I cleared the 120G.

Don't know if you can do this with your setup. Just a thought.
It is easier to fight for one's principles then to live up to them.

User avatar
Adrian
Developer
Posts: 8267
Joined: Wed Jul 12, 2006 1:42 am

Re: Migrating MX18 from one SSD to another

#5 Post by Adrian »

Snapshot would work, make sure you copy VirtualBox images if you have installed, snapshot excludes those by default.

Another way would be just to boot to Live USB copy all the stuff from one drive to another (create similar partitions and use rsync to sync all the files) then for a good measure reinstall GRUB and fix /etc/fstab to reflect the changes.

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

Re: Migrating MX18 from one SSD to another

#6 Post by JayM »

WarhawkCZ wrote: Mon Aug 05, 2019 2:32 pm Hello everyone,
I would like to migrate my current installation of MX18 from one SSD to another (different brand and size).
What would be the best approach? Would MX Snapshot do the job? I would like to ideally keep everything as-is.

Thanks for any hints.

Best regards, Jiri

edit: We're talking about mSata SSDs so I can't (easily) make both of them running at the same time.
Since you can't have both SSDs running at once you're either going to need to back up the contents of your home directory to an (internal or external) hard drive (using Lucky Backup or Grsync) and make a personal snapshot that excludes those directories, or if you have a large-capacity USB stick make a personal snapshot that includes the directories inside of home, but only if you don't have a lot of personal data files or big files. Either way, snapshot will do what you want: just burn the snapshot's ISO to your USB stick, change your SSDs, boot from the USB and install your own MX on the new SSD, then restore your personal data.
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
m_pav
Developer
Posts: 1409
Joined: Sun Aug 06, 2006 3:02 pm

Re: Migrating MX18 from one SSD to another

#7 Post by m_pav »

Or you could use clonezilla. Boot a Live MX and install clonezilla. If possible, connect new ssd via USB or other means, whatever is available, fire up clonezilla and do a disk to disk clone.

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. If you can not have both ssd disks available simultaneously, do an image clone to an ext4 formatted thumb drive (not preferred) or external hard disk (best option) first, then dump it back to the new SSD when installed.
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
m_pav
Developer
Posts: 1409
Joined: Sun Aug 06, 2006 3:02 pm

Re: Migrating MX18 from one SSD to another

#8 Post by m_pav »

Double up
Last edited by m_pav on Tue Aug 06, 2019 1:51 am, edited 1 time in total.
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
WarhawkCZ
Posts: 46
Joined: Fri Sep 21, 2018 2:35 pm

Re: Migrating MX18 from one SSD to another

#9 Post by WarhawkCZ »

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.
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

#10 Post by JayM »

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:
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.

Post Reply

Return to “General”