Hi All
I have got the source of ntfs-progs from bitskeeper.
I compiled the source successfully.
I successfully compiled ntfsresize.c manually
I ran './ntfsresize -c 731649 /dev/sda2', I got the
following output (731649 is suggested by ntfsresize)
==================================================
debian:~/ntfs-progs/ntfstools# ./ntfsresize \
-c 731649 /dev/sda2
Beginning bootsector check...
Calculating bootsector checksum... OK
Checking OEMid... OK
Checking bytes per sector... OK
Checking sectors per cluster... OK
Checking cluster size... OK
Checking reserved fields are zero... OK
Checking clusters per mft record... OK
Checking clusters per index block... OK
Bootsector check completed successfully.
NTFS volume version: 3.0
Cluster size : 4096
Current volume size: 1419744 clusters (5545 MB)
New volume size : 731649 clusters (2858 MB)
Scanning volume ...
100.00 percent completed
Setting NTFS $Volume flag dirty ...
Resetting $LogFile ...
Updating $BadClust file ...
Updating $Bitmap file ...
Updating Boot record ...
==> NTFS had been successfully resized on device
/dev/sda2.
==> Now you can go on to resize/split the partition.
debian:~/ntfs-progs/ntfstools#
==================================================
I restarted the box and booted into 'Windows 2000
Professional', the drive is shrunk to 2687MB approx,
but the 'Windows Disk Administrator' is showing the
original size (5545MB)
What could be the problem?
Thanks
Best Regards
Bala
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
|