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

Kurt Roeckx kurt at roeckx.be
Sat Dec 16 19:04:09 UTC 2006


On Sat, Dec 16, 2006 at 07:48:01PM +0100, Frans Pop wrote:
> On Saturday 16 December 2006 19:33, Kurt Roeckx wrote:
> > I think they have something in d-i now that detects vista based on some
> > files in the fs or something.  Frans probably knows more about this.
> 
> Yes, but that only works for the partition that has the Vista OS, not for 
> data partitions. Anyway, I don't agree that this is the right way to go. 
> See my previous mail.

Ah, didn't remember that part.  So I currently see no good way to deal
with this properly.

The best thing I can think of right now is that if it starts and stops
on a 2048 sector boundery (that's not also the normal (63) boundery?)
and the fs is ntfs 3.1, we use 2048, else the normal value.  Which looks
so ugly.

I wonder how vista does this itself.


Kurt





More information about the Parted-maintainers mailing list