Parted vs. Gparted

Topics about disk partitioning (fdisk, parted, gparted, partimage), Volumes Management (lvm, evms, dmraid), Storage, file systems, ...
Post Reply
n8bounds
Posts: 59
Joined: 24 Oct 2008, 13:39
Contact:

Parted vs. Gparted

Post by n8bounds » 22 Dec 2009, 20:49

Gparted allows the shrinking of NTFS filesystems, but parted does not. ntfsresize works, but parted is better. Is this normal?

admin
Site Admin
Posts: 2715
Joined: 17 Jul 2003, 09:44

Re: Parted vs. Gparted

Post by admin » 23 Dec 2009, 08:47

GParted is not just a GUI for Parted. In general Parted does not allow you to resize a filesystem that it does not support (ntfs, xfs, ...). GParted is able to do that. It uses the libparted API to resize the partition and it resizes the filesystem using the external filesystem tools.

n8bounds
Posts: 59
Joined: 24 Oct 2008, 13:39
Contact:

Re: Parted vs. Gparted

Post by n8bounds » 23 Dec 2009, 13:49

I see, and thank you. Too bad about that, though.

Other than doing the fdisk < commands.file trick, do you have any suggestions on shrinking a partition containing an NTFS filesystem previously shrank with ntfsresize?

admin
Site Admin
Posts: 2715
Joined: 17 Jul 2003, 09:44

Re: Parted vs. Gparted

Post by admin » 23 Dec 2009, 15:57

You can grow the filesystem to go back to the previous situation and use Gparted to shrink both. Or you will have to use fdisk (destroy + recreate it smaller) to shrink the partition to the right size...

n8bounds
Posts: 59
Joined: 24 Oct 2008, 13:39
Contact:

Re: Parted vs. Gparted

Post by n8bounds » 23 Dec 2009, 17:46

Yeah, that's what I'm doing. Trying to automate it/not use Gparted. Thanks for your time and the best PXE-able "recovery" distro!

Post Reply