PDA

View Full Version : 15.04 install CD: not able to expand ntfs partition w/gparted



grenness
August 9th, 2015, 10:22 PM
I'm def. no expert, as this possibly shows...
It's not too often I use gparted but the few times I have, I have accomplished the resizing etc. that I wanted to do.
But not now...

I booted from a 15.04 installation disc, and even ran
sudo gparted
just to make sure all the necessary root rights are present, but I'm not able to expand my ntfs windows partition even though I have shrunk my Ubuntu partition by 4gb.
I'm sure someone will just have a quick look at the attached screenshot and immediately see what's wrong or the reason why I'm not allowed to do this... :-)

263754
(click for larger image)

Is it because the ntfs partition is flagged as boot?

Thanks for any help and guidance, and yes, I soon will need a larger SSD!

coffeecat
August 9th, 2015, 10:36 PM
You can't expand your sda1 NTFS partition because the adjacent free space is within the sda2 extended partition. You need to shrink the extended partition first. And before you can do that you must unmount the swap partition by right-clicking on it and selecting swapoff.

By the way, "sudo gparted" is bad practice and is unnecessary. Although it is unlikely to cause problems in the live session, it could become a habit and you don't want to do this from a permanent installation. Simply open gparted from the dash in the live desktop.

grahammechanical
August 9th, 2015, 10:36 PM
Using a Linux tool (Gparted) to resize a Linux partition is not so risky. But I would not use a Linux tool to resize a Windows partition. Especially the partition with the OS in. Is Windows hibernated? If it is Windows 8 then it mostly is hibernated.

Mark Phelps
August 10th, 2015, 01:12 AM
Do NOT, repeat NOT, expand the NTFS boot partition if you're running anything newer than Windows XP. Doing so with any Linux tool is asking for filesystem corruption, which will then render Windows unbootable, making it REALLY hard to fix!

You can download an ISO of the Minitool Partition Wizard Boot CD, burn that to CD, boot from that -- and use that to work on the NTFS partition. You have to boot from that CD.

grenness
August 10th, 2015, 07:06 AM
Thank you all, and sorry for not clarifying that the Windows version is indeed XP - I love Ubuntu but sometimes it's convenient (unfortunately) to boot into Windows and that's what the XP partition is for. I know the security risks but it's almost nothing of any value there.

I'll try to shrink the entire sda2 partition first - thank you again for your help!