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

Migrating MX18 from one SSD to another

#1

Post by WarhawkCZ » 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 use Google before asking dumb questions but I am new to Linux. Thank you for your patience :-)

User avatar
towwire
Forum Regular
Forum Regular
Posts: 574
Joined: Fri Oct 15, 2010 12:15 pm

Re: Migrating MX18 from one SSD to another

#2

Post by towwire » Mon Aug 05, 2019 3:03 pm

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?
Normal people think "If it ain't broke, don't fix it".
Engineers think "If it ain't broke, it doesn't have enough features yet".

NGIB
Forum Regular
Forum Regular
Posts: 490
Joined: Sat Apr 05, 2014 12:12 pm

Re: Migrating MX18 from one SSD to another

#3

Post by NGIB » Mon Aug 05, 2019 3:07 pm

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

User avatar
towwire
Forum Regular
Forum Regular
Posts: 574
Joined: Fri Oct 15, 2010 12:15 pm

Re: Migrating MX18 from one SSD to another

#4

Post by towwire » Mon Aug 05, 2019 3:42 pm

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.
Normal people think "If it ain't broke, don't fix it".
Engineers think "If it ain't broke, it doesn't have enough features yet".

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

Re: Migrating MX18 from one SSD to another

#5

Post by Adrian » Mon Aug 05, 2019 5:56 pm

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

Re: Migrating MX18 from one SSD to another

#6

Post by JayM » Mon Aug 05, 2019 8:13 pm

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

Re: Migrating MX18 from one SSD to another

#7

Post by m_pav » Tue Aug 06, 2019 1:35 am

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
(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
m_pav
Developer
Posts: 2787
Joined: Sun Aug 06, 2006 3:02 pm

Re: Migrating MX18 from one SSD to another

#8

Post by m_pav » Tue Aug 06, 2019 1:36 am

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
(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
WarhawkCZ
Forum Novice
Forum  Novice
Posts: 44
Joined: Fri Sep 21, 2018 2:35 pm

Re: Migrating MX18 from one SSD to another

#9

Post by WarhawkCZ » 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.
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: 2147
Joined: Tue Jan 08, 2019 4:47 am

Re: Migrating MX18 from one SSD to another

#10

Post by JayM » 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:
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.

Post Reply

Return to “General”