How to move working installation to another partition

When you run into problems installing MX Linux XFCE
Post Reply
Message
Author
mjtux
Posts: 45
Joined: Thu May 24, 2018 2:03 am

How to move working installation to another partition

#1 Post by mjtux »

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 19/18.3 64 bit - Intel Core i5-8600K - ASRock H370M mobo - 8GB HyperX mem - Intel integrated graphics
Samsung 840 EVO 120GB; ADATA 240GB nvme; Western Digital Black 1TB

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

Re: How to move working installation to another partition

#2 Post by fehlix »

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
Posts: 45
Joined: Thu May 24, 2018 2:03 am

Re: How to move working installation to another partition

#3 Post by mjtux »

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 19/18.3 64 bit - Intel Core i5-8600K - ASRock H370M mobo - 8GB HyperX mem - Intel integrated graphics
Samsung 840 EVO 120GB; ADATA 240GB nvme; Western Digital Black 1TB

Post Reply

Return to “Installation”