Windows shows smaller size of hard drive after cloning partitions
I upgraded my Windows hard drive, and now have a space problem.
I inserted a new 240GB SSD, used CloneZilla to clone my old 120GB Windows C: drive SSD to this new one, switched the SATA cables, and turned on the computer.
Everything works great with the new SSD being the C drive, but it shows the old hard drive's space for some reason in Windows Explorer, while in Disk Management it shows the correct space. I restarted the computer and it was the same thing. Does anyone know what's going on?
Here is a screenshot of the issue:
(Click image to enlarge)
Solution 1:
No need for external tools. You can fix this issue by using the diskpart tool from command line. First open up the command prompt window. Then type diskpart to start the tool.
Within the tool use the following commands to extend the file system of the disk in question.
list volume
select volume #
extend filesystem
Replace the # with the volume number that you see after entering the list volume command.
Solution 2:
When you clone a partition, you clone EVERYTHING even the size.
Download a copy of GParted Live CD. Burn it, boot off of it and EXTEND the partition on your 240 GB SSD. This should take no more than 10 minutes, tops. Given that you have a backup of your data on your original drive, I think you have all your bases covered. Good luck!
Solution 3:
In Windows Disk Management
right-click the volume you want to extend. Select Shrink Volume...
and shrink by e.g. 1MB. After shrinking Disk Management
now sees the missing 120GB data volume. Right-click and select Extend Volume...
.
Solution provided by @akimsko as a comment. Elevating it to a proper answer.
Solution 4:
Just an add-on to what was said about using windows disk management. The easiest and quickest way is do a drive shrink, but only shrink a very small amount like 10MB. If you do a large amount, it could take for ever to do. So shrink 10MB, it should do that instantaneously, and then the remainder of the drive will appear and you can then do the extend.
Solution 5:
What is required is simply after cloning to drop into the command line, then run the command "sgdisk with the option -e" eg) sudo sgdisk -e /dev/sda, then a new partition can be created with "sudo cfdisk /dev/sda", move down to the free space at the end of the disk, then choose New, take defaults and normal 'dows partition software will see available space and a deleteable partition.
I hit this problem and finding the common Windows utility offerings too vague and unsure if Samsung's migration utility would allow me to clone via images on an intermediary USB drive, I chose using Clonezilla which worked a treat accepting the defaults having created a directory on the USB disk for the images.
There were text warning messages from various partition utilities, about the cloned GPT NOT being the correct size and needing fixing, but they scrolled by quickly.
Thanks to Arch Linux for documenting "How to Expand a GPT Table to Whole Disk", a far faster more elegant solution once Clonezilla has copied the disk or partitions. [ See https://wiki.archlinux.org/index.php/GPT_fdisk#Expand_a_GPT_disk ]
Clonezilla is excellent but focussed on those with Linux experience, there are Linux ditros with graphical interfaces which would have done the job. IF I could have simultaneously connected both old SATA SSD and the MSATA card mounted in an MSATA->SATA pass through adapter 2.5" caddy made by Sabrent, I wouldn't have needed Clonezilla's flexibility. It saved me fitting both disks into a desktop machine where I could clone and fix the GPT directly. I was getting about 3GB/min over USB, so the imaging & restoring were far quicker than similar restores under W10