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

How to move working installation to another partition

Post Reply
mjtux
Forum Novice
Forum  Novice
Posts: 6
Joined: Thu May 24, 2018 2:03 am

How to move working installation to another partition

#1

Post by mjtux » Thu May 16, 2019 7:51 pm

I have MX 18.2 installed on a 5+ year old Samsung 840 EVO ssd and would like to move the installation to a new M.2 NVME drive.
Both drives have prior installs of Mint.
All of my drives have GPT partitioning and the installs were done for UEFI.
The Mint GRUB installation on the NVME is the primary boot manager.
I tried a new install on the NVME from a flash drive using a snapshot, but the GRUB menu got really messed up.
I got disgusted, deleted the new partition and restored the previous GRUB menu.

Currently, all of the installations are working very well. :happy:
The "move" instructions I've found each have some issue, like being for legacy installation instead of UEFI/GPT.

What is the best method for making such a move?
Can you provide some instructions?

Thanks!

other notes:
I have Timeshift installed with each distro and configured for regular backups to an internal hard drive.
There is no Windows on this machine.
There are symlinks for /Documents, /Pictures, /Downloads and some Pale Moon config files on a NVME /data partiton.
If for some reason those symlinks don't transfer properly, I think I can fix that without much trouble.
MX 18.3 - Intel Core i5-8600K with Reeven Brontes cooler - 8GB HyperX mem - integrated graphics
Samsung 840 120GB; ADATA 240GB nvme; Western Digital Black 1TB

User avatar
fehlix
Developer
Posts: 4631
Joined: Wed Apr 11, 2018 5:09 pm

Re: How to move working installation to another partition

#2

Post by fehlix » Thu May 16, 2019 8:45 pm

mjtux wrote:
Thu May 16, 2019 7:51 pm
The Mint GRUB installation on the NVME is the primary boot manager.
I tried a new install on the NVME from a flash drive using a snapshot, but the GRUB menu got really messed up.
I got disgusted, deleted the new partition and restored the previous GRUB menu.
Not clear, what a messed up GRUB menu look's like, but if you want to keep Mint's as the primary GRUB boot loader,
you would just need to select the PBR (partition boot record) of the MX installtion as a GRUB target during the MX installation.
This would not change anything within Mint's grub. After rebooting into Mint and regenarting the GRUB menu within Mint,
you could select MX Linux from within Mint's menu.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

mjtux
Forum Novice
Forum  Novice
Posts: 6
Joined: Thu May 24, 2018 2:03 am

Re: How to move working installation to another partition

#3

Post by mjtux » Tue May 21, 2019 12:25 am

fehlix wrote:
Thu May 16, 2019 8:45 pm
Not clear, what a messed up GRUB menu look's like,
There were duplicate entries. Grub Customizer showed many unselected leftovers.
After one install, the MX selections were within a Mint 'Advanced Options' sub-menu.

fehlix wrote:
Thu May 16, 2019 8:45 pm
...but if you want to keep Mint's as the primary GRUB boot loader,
you would just need to select the PBR (partition boot record) of the MX installtion as a GRUB target during the MX installation.
Thanks.
I did not know what PBR was.
With the previous install, I did not install GRUB with MX and just let Mint update-grub handle it.
That worked out OK.

fehlix wrote:
Thu May 16, 2019 8:45 pm
This would not change anything within Mint's grub.
After rebooting into Mint and regenarting the GRUB menu within Mint,
you could select MX Linux from within Mint's menu.
:puppy:
That's how it has been.

The snapshot install had a couple of minor issues.
So, I deleted the partition, created a smaller /root and a separate /home partition.
After that, I formatted the /root and did a fresh install with the downloaded ISO, keeping the existing /home.
I installed GRUB on the PBR, but it is not being used.
I did lose the 'memtest' entry and there is no "Options" sub-menu for the SATA MX installation.

Otherwise, it is all working very well. :smile:
I now have the previous Mint and MX on the Samsung SATA, and new installs for both on the NVME.
Having the separate /home partition was a major advantage.
That made things much easier.
That was my first experience with how helpful that can be.
MX 18.3 - Intel Core i5-8600K with Reeven Brontes cooler - 8GB HyperX mem - integrated graphics
Samsung 840 120GB; ADATA 240GB nvme; Western Digital Black 1TB

Post Reply

Return to “Installation”