LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem formatting usb flash drive (https://www.linuxquestions.org/questions/linux-newbie-8/problem-formatting-usb-flash-drive-727456/)

shojaru 05-21-2009 12:41 AM

problem formatting usb flash drive
 
my 4gb pendrive was giving me some error while copying files into it,like-"cannot find the specified folder" or something like that. I formatted it in windows a number of times, but the problem wasnt solved. then I tried to format it with Gparted in ubuntu. then I got the following message:

GParted 0.3.5

Libparted 1.7.1

Format /dev/sdb1 as ext3 01:27 ( ERROR )

calibrate /dev/sdb1 00:00 ( SUCCES )

path: /dev/sdb1
start: 1096
end: 7856127
size: 7855032 (3.75 GiB)
set partitiontype on /dev/sdb1 00:00 ( SUCCES )

new partitiontype: ext3
create new ext3 filesystem 01:26 ( ERROR )

mkfs.ext3 /dev/sdb1

Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
245760 inodes, 981879 blocks
49093 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1006632960
30 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736

Writing inode tables: 0/30 1/30 2/30 3/30 4/30 5/30 6/30 7/30 8/30 9/3010/3011/3012/3013/3014/3015/3016/3017/3018/3019/3020/3021/3022/3023/3024/3025/3026/3027/3028/3029/30done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 33 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
mke2fs 1.40.8 (13-Mar-2008)

Warning, had trouble writing out superblocks.



thank you for the attention.

linuxlover.chaitanya 05-21-2009 12:44 AM

Are you sure the hardware is not faulty?

shojaru 05-21-2009 11:36 PM

Quote:

Originally Posted by linuxlover.chaitanya (Post 3547744)
Are you sure the hardware is not faulty?


how can I be sure about the hardware-fault?

linuxlover.chaitanya 05-21-2009 11:58 PM

Try and use it on other hardware and use other hardware to format it the same way you tried this.

divyashree 05-22-2009 12:07 AM

1st check wheather ur h/w is ok or not,
try to format in fat partition with this
#mkfs.vfat /dev/sdb1
before formatting make sure pendrive is not mounted,if mounted 1st umount then format.

linuxlover.chaitanya 05-22-2009 12:18 AM

Quote:

Originally Posted by divyashree (Post 3548923)
before formatting make sure pendrive is not mounted,if mounted 1st umount then format.

Yeah it is a very good point. You need to unmount the volume before you can format it.

shojaru 05-22-2009 12:27 AM

ok. thanks to all.


All times are GMT -5. The time now is 01:13 PM.