[Parted-maintainers] Bug#380226: NTFS (partition) not recreated correctly after resize: incorrect start sector

Kurt Roeckx kurt at roeckx.be
Sat Dec 16 16:20:02 UTC 2006


Bas Zoetekouw <bas at debian.org> writes:
>> The problem here is how to decide if we should or not align it.
>> That's
>> the most difficult question...
>
> If the partition is merely being resized, the begin sector should
> _never_ be changed, I think.

I guess it wouldn't be a bad thing to only change the end sector if
that's the only thing you tried to do.

I just wonder what constraints the end sector should have in that case,
looking at the bug report, the end cylinder also seem to be a multiple
of 2048 - 1, so it seem to me that Microsoft is using 2048 sectors/track
instead of 63.  Vista might not like it that we let the partition stop
on a sector that's a multiple of 63 - 1, and might be unable to use the
last "track".

I think the best thing we can do is make it think parted think that
there are 2048 sectors/track.


Kurt





More information about the Parted-maintainers mailing list