Wednesday, December 24, 2014

Unable to resize system partition using GParted


I have Windows 10 systems installed on 60GB SSD. There is Reboot Restore installed. I'm unable to update Windows. Too small disc. I tried with an external disc, but it looks like Windows don't know about external disc space while rebooting (weird). I tried to save disc image using Clonezilla and then copy it on 120 GB disc. There I have the Boot partition and C partition and some free space (50 GB~). Now I want to resize system partition using free space. I'm unable to do this by Windows 10 disc management (happy blue screen).


I used GParted to resize C. In GParted I see resized C partition. In Disc Management View I also see resized C partition. My Computer partition is still not changed.


GParted shows resized partition, same Windows 10 Disc Management, but this partition remains unchanged. What can I do in that case to extend my system partition?


Right now Reboot Restore is disabled. I just mention if it makes some mess on the system partition.


I have administrative rights.


Here is the Disc Management view


Whole disc is just a fresh, new copy of disc image (not affected by any other software). After I try resize C partition I get blue screen: UNEXPECTED STORE EXCEPTION or blue screen: CRITICAL PROCESS DIED. Defragmentation is done.


Answer



Windows has the bad habit of placing essential Windows files at the end and
the middle of the system disk.
These files are unmovable, probably because Windows addresses
them directly by sector-number. The Windows Disk Management knows not to
move them, but Linux applications will move them in order to resize the disk,
in effect breaking Windows.


If that has already happened to your Windows partition, then no amount of
resizing and no application can restore Windows to a working order.
The only solution will be to reinstall Windows from a boot media.
The best case will be if the installation will detect the disk partition as
a Windows installation and just do an upgrade to itself.
In all cases, backup first all your files from the Windows partition when
booting in Linux.


If in the future you would like to shrink the Windows partition, you should first
disable the page-file and swap space, then defragment the disk to move all
sectors to its begining, and resize only using Disk Management.
Return the above after the resize.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...