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?
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.
Have you ever checked this FAQ:
https://drbl.org/fine-print.php?path=./faq/2_System/119_larger_to_smaller_disk_restore_clone.faq#119_larger_to_smaller_disk_restore_clone.faq
Use method 2, you do not have to edit any file. Just check some of the options in the TUI.
Steven
Thanks, I'll review this info closely. Appreciate your replies.
--
Mike