Migrating Win 11 install from 1TB SSD to 256gb NVME - Using Linux


Silvio

Member
Member
Local time
3:34 AM
Posts
28
OS
Linux Fedora/Windows 11
Being a Linux dude, I attempted this by, booting Ubuntu USB, into "Try Linux Mode", and;
  • Using fdisk to identify last sector of last partition on Windows Disk, and sector size
  • Calculated total count of sectors to be copied,
  • Created GPT partition table on NVMe disk
  • Executed "dd" command using block size of 4096 (8x secors), and using count=(total num sectors/8)
Copy executed OK, but Windows failed to boot.

Luckily only 3x apps needed, so new install, was quicker than trying to figure it out.

Next time, may just create clonezilla usb, but any ideas what was missing from above?
Don't like the method of just dd'ing complete 1TB disk to 256gb disk, and letting dd exit out.
 
Windows Build/Version
Win 11 23H2

My Computer

System One

  • OS
    Linux Fedora/Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell 7090/Dell 5810
    CPU
    i5-10500/Intel Xeon 2680 v4
Being a Linux dude, I attempted this by, booting Ubuntu USB, into "Try Linux Mode", and;
  • Using fdisk to identify last sector of last partition on Windows Disk, and sector size
  • Calculated total count of sectors to be copied,
  • Created GPT partition table on NVMe disk
  • Executed "dd" command using block size of 4096 (8x secors), and using count=(total num sectors/8)
Copy executed OK, but Windows failed to boot.

Luckily only 3x apps needed, so new install, was quicker than trying to figure it out.

Next time, may just create clonezilla usb, but any ideas what was missing from above?
Don't like the method of just dd'ing complete 1TB disk to 256gb disk, and letting dd exit out.
@Silvio

Easiest way for Linux users (also works for "cloning" Linux systems too")

1) obtain download bootable copy of gparted
2) boot it with the Windows disks also connected --
3) on bootable gparted boot it (free download) select don't touch keymap, select the keyboard for your country and hit enter
4) hit enter again at the next prompt which then starts the GUI.

now the work :

5) create new partition table on the target device (gpt)
6) from the source device /(dev/sdx) select each partition in turn and select copy
7) select target device (dev/sdy) and apply
8) for the efi partition on the target device choose manage flags and set to boot, esp
9) remove source disk and reboot into windows.

Note on partition copy on the target device you can re-size / adjust partitions for the partition though the data on the source partition must fit on the target partition

i.e if source partition is 500GB but data is only 40GB then you can copy into a 40GB partition (i'd add 5% though or whatever if you need more space).

(Create bootable gparted via Rufus- windows or simply dd - linux)

gparted from here :




Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
The Linux LiveUSB Thumb drives usually include GPARTED and there's also a downloadable GPARTED LiveCD .iso file that can be used to burn a bootable CD-R disc.
 

My Computers

System One System Two

  • OS
    Win11 Pro RTM
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5 11th Gen. 2.40GHz
    Memory
    12GB
    Hard Drives
    256GB SSD NVMe
  • Operating System
    Windows 11 Pro RTM x64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5 10th Gen. 2.90GHz
    Memory
    16GB
    Graphics card(s)
    Onboard, no VGA, using a DisplayPort-to-VGA adapter
    Monitor(s) Displays
    24" Dell
    Hard Drives
    512GB SSD NVMe, 2TB WDC HDD
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security
Thanks for that, I may have tried your method in the past and forgot the setting EFI partition flags.

In the past, may even have tangled with also manually copying MBR on MBR setups (aaaargh)

Thank God for EFI.

Tempted to try copy from NVME to SSD, just for fun.
 

My Computer

System One

  • OS
    Linux Fedora/Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell 7090/Dell 5810
    CPU
    i5-10500/Intel Xeon 2680 v4
The Linux LiveUSB Thumb drives usually include GPARTED and there's also a downloadable GPARTED LiveCD .iso file that can be used to burn a bootable CD-R disc.
The problem with some of these "built in" gparted systems is that they don't always have all the stuff required for copying partitions correctly.
bootable gparted is regularly updated -- based on very stable debian type system and always without fail works. (It has so far for absolutely Donkeys years).

It's also got a terminal command mode both in superuser and basic user mode if you need it.

It's a good thing to have on a bootable thumb drive.

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Even I have a Gparted Live USB stick. :-)


Image1.png


My bootable Minitool Partition Wizard, only boots with Secure Boot disabled. Thanks Microsoft. :/
 

My Computers

System One System Two

  • OS
    Win 11 Home ♦♦♦22631.3880 ♦♦♦♦♦♦♦23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE (BIOS 4702)
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    Cooler Master ATCS 840 Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    300/300
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Internet Security
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® (not in use)
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Mouse
    Logitech Optical M-BT96a
    Keyboard
    Logitech Classic Keybooard 200
    Internet Speed
    300/300
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 13 years?
I don't use GPARTED [GNU Partition Editor] for copying partitions, only for creating, deleting, manipulating their sizes/locations, fully cleaning drives.
 

My Computers

System One System Two

  • OS
    Win11 Pro RTM
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5 11th Gen. 2.40GHz
    Memory
    12GB
    Hard Drives
    256GB SSD NVMe
  • Operating System
    Windows 11 Pro RTM x64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5 10th Gen. 2.90GHz
    Memory
    16GB
    Graphics card(s)
    Onboard, no VGA, using a DisplayPort-to-VGA adapter
    Monitor(s) Displays
    24" Dell
    Hard Drives
    512GB SSD NVMe, 2TB WDC HDD
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security
Just tried Gparted on (Ubuntu Live USB), to copy 256gb Win11 from nvme to SSD.

Win 11 boot failed, saying device missing.
Startup repair, also failed.

Time to try good old Clonezilla.
 
Last edited:

My Computer

System One

  • OS
    Linux Fedora/Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell 7090/Dell 5810
    CPU
    i5-10500/Intel Xeon 2680 v4
Just an update.

  • I was attempting to clone Nvme Windows 11 install, onto SSD
  • Will try cloning Nvme to Nvme, to see if result difffers,
  • The, fact that I had to manually adjust partition flags, after "copy", causes concern
  • Looks like partition comparison is in order (Yawn)
 

My Computer

System One

  • OS
    Linux Fedora/Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell 7090/Dell 5810
    CPU
    i5-10500/Intel Xeon 2680 v4
Just an update.

  • I was attempting to clone Nvme Windows 11 install, onto SSD
  • Will try cloning Nvme to Nvme, to see if result difffers,
  • The, fact that I had to manually adjust partition flags, after "copy", causes concern
  • Looks like partition comparison is in order (Yawn)
You need to set the EFI partition to "bootable, ESP".

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
You need to set the EFI partition to "bootable, ESP".

Cheers
jimbo
Yep tried that, did not work.

Will try full disk copy with dd, later.
 

My Computer

System One

  • OS
    Linux Fedora/Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell 7090/Dell 5810
    CPU
    i5-10500/Intel Xeon 2680 v4
Yep tried that, did not work.

Will try full disk copy with dd, later.
Note also that EFI partition needs to be formatted as FAT32 not NTFS.

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
So the initial post queried how to migrate Win 11 install from 1TB ssd to 256gb NVME..

Initial attempts failed, so I gave up and just did fresh install on nvme.
Not happy with leaving it there, I re-attempted the reverse, migration from 256gb NVME to 500gb SSD, here are the results.

Update,


  1. Created "latest" Linux Ubuntu usb,
  2. Booted off that, into "Try Ubuntu Mode",
  3. Open terminal, used "dd" command, to clone Win11/23H2 from 256gb nvme disk, to 500gb SSD,
  4. Checked SSD afterwards with gparted, and allowed it to correct GPT partition table, for larger disk,
  5. Verified cloned disk partitions flags, (No changes needed)
  6. Moved SSD from usb port, to SATA P0 in machine.
  7. Machine booted, no issues, first time..
Objective achieved.
 
Last edited:

My Computer

System One

  • OS
    Linux Fedora/Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell 7090/Dell 5810
    CPU
    i5-10500/Intel Xeon 2680 v4

Latest Support Threads

Back
Top Bottom