Migrate Linux/win10 dual boot from MBR nvme drive to a new GPT nvme drive
Hello. I am attempting to migrate my current dual boot (opensuse/win10) setup from one nvme(nvme1) drive to a bigger & faster drive (nvme0). I'd like to utilize ~100gb for the opensuse root (/) and ~400gb for windows on nvme0. I mount /home to a separate ssd and will move that to nvme1 after the migration. I'd also like to keep grub2 and other boot information on nvme1 since I heard windows10 updates might overwrite the boot record.
nvme1 uses MBR, and I am interested in using GPT on nvme0 due to faster bootup/shutdown times. fdisk -l for nvme1 Code:
Disk /dev/nvme1n1: 232.9 GiB, 250059350016 bytes, 488397168 sectors I also tried creating partitions using gparted on nvme0 and I'm not sure if I was successful, because I see the following via fdisk -l even though I created an ext4 file system on /dev/nvme0n1p1: Code:
Disk /dev/nvme0n1: 465.8 GiB, 500107862016 bytes, 976773168 sectors I just don't know where to really go to proceed, does anybody have any guidance on what steps I should take? I'd prefer not to reinstall either OS if I didn't have to. Thank you! |
I'm not sure if this will help, lsblk and blkid:
Code:
~ » sudo blkid |
Quote:
|
Indeed.
Not the only strange thing - why have you allocated the new nmvme partitions as type EFI ?. I don't see an EFI on the old SSDs, which (to me) implies a BIOS based system. If you go gpt, you'll need a BIOS_boot partition. And that's just for grub - I have no idea what Windows will do when the architecture of the disk changes like that. I always just re-install when I have to change a Win disk - path of least resistance. Stick with MBR (aka dos-mode) partitioning to save yourself the grief - there is likely no advantage to gpt with such small disks. I'm not a fan of imaging systems, but should work ok. |
If you want windows on a GPT disk, it must be EFI or it will fail. With Linux, you can create a BIOS boot partition as suggested above and then use GPT. It will be a lot easier to just stick with MBR partitioning as suggested if you do not want to reinstall.
|
Quote:
Quote:
Given the feedback here, I'm not going to mess with GPT for now as my drives are <2tb. What steps are recommended at this point? Clonezilla device-to-device from nvme1->nvme0? |
As I said, I gave up attempting to clone Win systems years ago. Unless the partition structure is the same (boot/system, physical order) it always seemed to bitch and moan - in one case I had to ring M$osft and get the system re-activated because I had "changed disk too often". And that took hours.
Idiotic arrangement. You state clonezilla wouldn't work partition-to-partition, but in theory that should be a good way to go. I also haven't bothered with it in years, so can't comment on current state of the tool. gparted apparently allows you to "copy-and-paste" partitions, so that might be quickest for the Linux partitions. Personally I just allocate partitions then rsync and cleanup things like bootloader and fstab later. |
I decided to reinstall windows after fudging around with trying to get it to boot on the new drive with no success. Definitely a lesson learned.
|
All times are GMT -5. The time now is 11:17 PM. |