Thanks for this! Just a note for future viewers: it may be necessary to change the size of the recovery partition on the new drive if the size of the recovery image on the old drive is larger than 500MB. You can change that in the script by editing line #25 "shrink minimum=500". Simply change "500" to the size of the recovery partition on the old drive. In my case, 980. In case you have already created the partitions on your new drive, you *cannot* change the size of a recovery partition. If you try to copy the recovery image to the partition, and your old drive has a larger image than the partition can hold, you will get a "Not enough disk space" error. If you try to extend the recovery partition, you will get a "You cannot extend recovery partitions" error. However, you can still complete the steps. You have to delete the recovery partition, shrink the windows partition, and then create a new recovery partition. The commands to do that would look like this: diskpart list disk rem (select the new disk with the recovery partition you need to delete) sel disk 1 list part rem (select the partition to delete [recovery]) sel part 4 delete part override rem (select the windows partition to shrink it) sel part 3 rem (change the value to the difference between the original size of the recover partition on the new drive [500] and the size you need [in my case, 980]. [980 - 500 = 480]) shrink minimum=480 create part primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac format quick fs=ntfs label="Recovery" gpt attributes=0x8000000000000001 assign letter=r list vol exit Then, follow the steps from where you left off, and everything should work.
You're using Oracle VM that is a third-party software. I was under the impression that this would be a video where you didn't have to download or install anything.
that moment when Linux is easier: set up new drive with a boot partition, copy - paste files to the new HDD, mount -o bind /proc /sys /dev to /mount/point/new-hdd/proc sys dev, chroot to /mount/point/new-hdd, update grub, fix the entries in fstab, unmount everything, done. PS: right now I'm looking after HowTo's for replacing a hdd with a ssd on windows. bloody complicated. and I'm even a (linux) sys-admin!!!
Nice tutorial but ... if you fallow it with no ctiticism and udnerstanding - it will run you very likly to format your orginal drive - way? Becouse autor do not make any warring notice of such situtations like partionons enumerating may change when you switch form normal widnows to recovery mode but you got areledy edited script - if you dont notice that - your orginal SYSTEM will be formated . Thera are some more changes to be done in script dependly form your HW configuration . Like sizes of partitions not mentioned by author . And on the very end - that scripts are not avaiable any more - but you may rewrite it from video ;-) Than be carefull when using !
Thanks for this!
Just a note for future viewers: it may be necessary to change the size of the recovery partition on the new drive if the size of the recovery image on the old drive is larger than 500MB. You can change that in the script by editing line #25 "shrink minimum=500". Simply change "500" to the size of the recovery partition on the old drive. In my case, 980.
In case you have already created the partitions on your new drive, you *cannot* change the size of a recovery partition. If you try to copy the recovery image to the partition, and your old drive has a larger image than the partition can hold, you will get a "Not enough disk space" error. If you try to extend the recovery partition, you will get a "You cannot extend recovery partitions" error. However, you can still complete the steps. You have to delete the recovery partition, shrink the windows partition, and then create a new recovery partition. The commands to do that would look like this:
diskpart
list disk
rem (select the new disk with the recovery partition you need to delete)
sel disk 1
list part
rem (select the partition to delete [recovery])
sel part 4
delete part override
rem (select the windows partition to shrink it)
sel part 3
rem (change the value to the difference between the original size of the recover partition on the new drive [500] and the size you need [in my case, 980]. [980 - 500 = 480])
shrink minimum=480
create part primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
format quick fs=ntfs label="Recovery"
gpt attributes=0x8000000000000001
assign letter=r
list vol
exit
Then, follow the steps from where you left off, and everything should work.
thanks for your feedback.
You're using Oracle VM that is a third-party software. I was under the impression that this would be a video where you didn't have to download or install anything.
Simple and clear. Thank you!
I will try to do this.
You are a life saver....
Will this copy softwares and other apps from hdd?
😍😍
😉
that moment when Linux is easier: set up new drive with a boot partition, copy - paste files to the new HDD, mount -o bind /proc /sys /dev to /mount/point/new-hdd/proc sys dev, chroot to /mount/point/new-hdd, update grub, fix the entries in fstab, unmount everything, done.
PS: right now I'm looking after HowTo's for replacing a hdd with a ssd on windows. bloody complicated. and I'm even a (linux) sys-admin!!!
Nice tutorial but ... if you fallow it with no ctiticism and udnerstanding - it will run you very likly to format your orginal drive - way? Becouse autor do not make any warring notice of such situtations like partionons enumerating may change when you switch form normal widnows to recovery mode but you got areledy edited script - if you dont notice that - your orginal SYSTEM will be formated .
Thera are some more changes to be done in script dependly form your HW configuration . Like sizes of partitions not mentioned by author .
And on the very end - that scripts are not avaiable any more - but you may rewrite it from video ;-) Than be carefull when using !