Article 5SJ97 Migrate from SSD to M2 - dual boot

Migrate from SSD to M2 - dual boot

by
mackowiakp
from LinuxQuestions.org on (#5SJ97)
I have installed a new motherboard to the PC. It is equipped with a 1TB M2 PCIe NVMe disk.
In the same PC I have a 500 GB SSD SATA disk and a "regular" HDD 2TB.
I have the dual-boot WIN10 and Linux Mageia 8 systems installed on the SSD and the data for both systems on the HDD.
Boot is legacy mode, SSD and HDD partitions are "DOS" type. The M2 disk is not used yet.
I would like to migrate SSD to M2.
Of course I can boot my PC from Knoppix and do "dd" from SSD to M2 for example.
The problem, however, is that the device names are different. SSDs and HDDs are /dev/sda or /dev/sdb and the M2 disk is /dev/nvme0n1.
Of course I can change fstab entries but that is not enough for a correct dual boot.
How can I - and is it even feasible - without reinstalling both systems from scratch?
Another issue is the transition from legacy to UEFI, which is necessary for WIN to WIN11 migration.
Has anyone performed such activities and what is the easiest way to do it?latest?d=yIl2AUoC8zA latest?i=BvGC4UVIckE:bAebXiGaDOY:F7zBnMy latest?i=BvGC4UVIckE:bAebXiGaDOY:V_sGLiP latest?d=qj6IDK7rITs latest?i=BvGC4UVIckE:bAebXiGaDOY:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments