i figured it out .
also refer to :http://www.linuxquestions.org/questions … page2.html
$ sudo fsck.vfat -y /dev/sdX X
dosfsck 3.0.9, 31 Jan 2010, FAT32, LFN
There are differences between boot sector and its backup.
Differences: (offsetriginal/backup)
71:44/20, 72:52/20, 73:7e/20, 74:44/20, 75:45/20, 76:41/20, 77:54/20
, 78:48/20, 79:5f/20, 80:35/20, 81:30/20
Not automatically fixing this.
Unable to create unique name
$ sudo fsck.vfat -r /dev/sdX X
dosfsck 3.0.9, 31 Jan 2010, FAT32, LFN
There are differences between boot sector and its backup.
Differences: (offsetriginal/backup)
71:44/20, 72:52/20, 73:7e/20, 74:44/20, 75:45/20, 76:41/20, 77:54/20
, 78:48/20, 79:5f/20, 80:35/20, 81:30/20
1) Copy original to backup
2) Copy backup to original
3) No action
? 1
Reclaimed 876713 unused clusters (14364065792 bytes).
Free cluster summary wrong (246020 vs. really 1122733)
1) Correct
2) Don't correct
? 1
Perform changes ? (y/n) y
/dev/sdb1: 3840 files, 29386369/30509102 clusters
this woked for me .htm output is
GParted 0.8.0
Libparted 2.3
Move /dev/sda5 to the left and grow it from 26.83 GiB to 38.00 GiB 00:47:39 ( SUCCESS )
calibrate /dev/sda5 00:00:00 ( SUCCESS )
path: /dev/sda5
start: 62508978
end: 118768544
size: 56259567 (26.83 GiB)
check file system on /dev/sda5 for errors and (if possible) fix them 00:00:25 ( SUCCESS )
dosfsck -a -w -v /dev/sda5
dosfsck 3.0.9 (31 Jan 2010)
dosfsck 3.0.9, 31 Jan 2010, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "MSDOS5.0"
Media byte 0xf8 (hard disk)
512 bytes per logical sector
16384 bytes per cluster
38 reserved sectors
First FAT starts at byte 19456 (sector 38)
2 FATs, 32 bit entries
7029248 bytes per FAT (= 13729 sectors)
Root directory start at cluster 2 (arbitrary size)
Data area starts at byte 14077952 (sector 27496)
1757252 data clusters (28790816768 bytes)
63 sectors/track, 255 heads
63 hidden sectors
56259567 sectors total
Reclaiming unconnected clusters.
Checking free cluster summary.
/dev/sda5: 181357 files, 1712723/1757252 clusters
grow partition from 26.83 GiB to 38.00 GiB 00:00:00 ( SUCCESS )
old start: 62508978
old end: 118768544
old size: 56259567 (26.83 GiB)
new start: 39073792
new end: 118768544
new size: 79694753 (38.00 GiB)
move file system to the left 00:29:52 ( SUCCESS )
using libparted
shrink partition from 38.00 GiB to 26.83 GiB 00:00:01 ( SUCCESS )
old start: 39073792
old end: 118768544
old size: 79694753 (38.00 GiB)
new start: 39073792
new end: 95333358
new size: 56259567 (26.83 GiB)
check file system on /dev/sda5 for errors and (if possible) fix them 00:00:24 ( SUCCESS )
dosfsck -a -w -v /dev/sda5
dosfsck 3.0.9 (31 Jan 2010)
dosfsck 3.0.9, 31 Jan 2010, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "MSWIN4.1"
Media byte 0xf8 (hard disk)
512 bytes per logical sector
16384 bytes per cluster
50 reserved sectors
First FAT starts at byte 25600 (sector 50)
2 FATs, 32 bit entries
7030784 bytes per FAT (= 13732 sectors)
Root directory start at cluster 2 (arbitrary size)
Data area starts at byte 14087168 (sector 27514)
1757251 data clusters (28790800384 bytes)
63 sectors/track, 255 heads
39073792 hidden sectors
56259567 sectors total
Reclaiming unconnected clusters.
Checking free cluster summary.
/dev/sda5: 181357 files, 1712723/1757251 clusters
grow file system to fill the partition 00:08:12 ( SUCCESS )
using libparted
check file system on /dev/sda5 for errors and (if possible) fix them 00:00:16 ( SUCCESS )
dosfsck -a -w -v /dev/sda5
dosfsck 3.0.9 (31 Jan 2010)
dosfsck 3.0.9, 31 Jan 2010, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "MSWIN4.1"
Media byte 0xf8 (hard disk)
512 bytes per logical sector
16384 bytes per cluster
50 reserved sectors
First FAT starts at byte 25600 (sector 50)
2 FATs, 32 bit entries
7030784 bytes per FAT (= 13732 sectors)
Root directory start at cluster 732351 (arbitrary size)
Data area starts at byte 14087168 (sector 27514)
1757251 data clusters (28790800384 bytes)
63 sectors/track, 255 heads
39073792 hidden sectors
56259567 sectors total
Reclaiming unconnected clusters.
Checking free cluster summary.
/dev/sda5: 181357 files, 1712723/1757251 clusters
grow partition from 26.83 GiB to 38.00 GiB 00:00:01 ( SUCCESS )
old start: 39073792
old end: 95333358
old size: 56259567 (26.83 GiB)
new start: 39073792
new end: 118767615
new size: 79693824 (38.00 GiB)
check file system on /dev/sda5 for errors and (if possible) fix them 00:00:17 ( SUCCESS )
dosfsck -a -w -v /dev/sda5
dosfsck 3.0.9 (31 Jan 2010)
dosfsck 3.0.9, 31 Jan 2010, FAT32, LFN
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "MSWIN4.1"
Media byte 0xf8 (hard disk)
512 bytes per logical sector
16384 bytes per cluster
50 reserved sectors
First FAT starts at byte 25600 (sector 50)
2 FATs, 32 bit entries
7030784 bytes per FAT (= 13732 sectors)
Root directory start at cluster 732351 (arbitrary size)
Data area starts at byte 14087168 (sector 27514)
1757251 data clusters (28790800384 bytes)
63 sectors/track, 255 heads
39073792 hidden sectors
56259567 sectors total
Reclaiming unconnected clusters.
Checking free cluster summary.
/dev/sda5: 181357 files, 1712723/1757251 clusters
grow file system to fill the partition 00:08:11 ( SUCCESS )
using libparted