Menu

Migrating a 2TB Win11 environment to 512GB SSD.

Mike Bott
2024-03-25
2024-04-03
  • Mike Bott

    Mike Bott - 2024-03-25

    I want to migrate my Win11 environment from a 2TB SSD to a 512GB SSD. I have no need to migrate the /sda7 or /sda8 partitions. They can actually be deleted prior to any other steps necessary to accomplish this. What would be the easiest & safest way to approach this to get all the other partitions migrated to the new drive?

    Appreciate any assistance.

     
  • dreael

    dreael - 2024-03-26

    I often has this case. First, you should use the GParted tool to shrink the partitions to the target drive size. I always do this in such a way that the last partition would be much smaller. For example when you have a 10 GB drive, then a 300 GB drive and a third partition filling the remaining 1690 GB, I would not shrink 190 GB only, I would shrink it to 100 GB temporarily.

    After that, do a savedisk in Clonezilla as usual. Note: CHKDKS /F on NTFS volumes required now (use the installation medium's emergency CMD.EXE prompt for that).

    Before applying restoredisk, I used a small trick to get rid with the "target disk is too small" error: Edit (vi or nano) the following files: sda-pt.parted.compact (maipulate the value on the "Disk /dev/sda: XXGB" line) and sda.parted (line "Disk /dev/sda: XXXXXs" to a smaller sector count) On UEFI systems, sd_gpt.sf must be edited as well (line "Last_lba", reduce value).

    After these manual editings, you will be able to do the "restoredisk" to your smaller SSD drive. The run GParted again. Important note to Windows: First do a boot with the installation medium's emergency CMD.EXE system and apply CHKDSK /F to every partition.

    To the project maintainer: You should put this to the feature request list: Always differ between 2 values: Origin-Disksize (=phsical drive size) and Required-Disksize (=the minimum required disk size according to the highest used LBA sector), so the editing workaround should not longer be necessary.

     
    👍
    1
  • Mike Bott

    Mike Bott - 2024-04-03

    Thanks, I'll review this info closely. Appreciate your replies.

    --
    Mike

     
    👍
    1

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.