On Sun, Nov 24, 2002 at 04:53:17PM +0100, Szakacsits Szabolcs wrote:
> > Just thought I'd comment on the situation with Parted.
> > If you resize a file system that Parted supports directly, then
>
> You mean, if one resizes a partition that has a filesystem that Parted
> supports directly?
yep
> > (It's one of the arguments in favour of coupling a fs interface with
> > a partition one)
>
> Definitely. It's not by accident ntfsresize finishes like this,
> ---------------------------------------------------------------->
> NTFS had been successfully resized on device '/dev/hda1'.
> You can go on to resize the device e.g. with 'fdisk'.
> IMPORTANT: When recreating the partition, make sure you
> 1) create it with the same starting disk cylinder
> 2) create it with the same partition type (usually 7, HPFS/NTFS)
> 3) do not make it smaller than the new NTFS filesystem size
Doesn't it have to be exactly the same size for NTFS?
(It does for fat, btw!)
> 4) set the bootable flag for the partition if it existed before
> Otherwise you may lose your data or can't boot your computer from the disk!
> <---------------------------------------------------------------
>
> I guess Parted ensures all, right? [you already answered some, yes]
yes. Well, (1) no if parted has been misinformed of the CHS
geometry. (Motivation: in some cases, Parted will have to change
the start, and "keeping the same" isn't a good solution here)
Cheers,
Andrew
|