probleme usb stick

9 posts / 0 new
Last post
cipyk
cipyk's picture
probleme usb stick

salut. am un stick usb Adata care face niste probleme foarte horror.
Adica nu reusesc sa-l formatez deloc.
Daca incerc cu fdisk nu vrea sa-mi stearga o partitie care exista pe el dar care e nefunctionala:

daca dau comanda:

[root@localhost alex]# fdisk /dev/sda

Command (m for help): p

Disk /dev/sda: 4127 MB, 4127194624 bytes
127 heads, 62 sectors/track, 1023 cylinders
Units = cylinders of 7874 * 512 = 4031488 bytes
Disk identifier: 0x465dfd0e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        1023     4027520   83  Linux

Dupa care aleg comanda de stergere:

Command (m for help): d
Selected partition 1

Command (m for help):   

Daca ma uit apoi pe disk e gol:

Command (m for help): p

Disk /dev/sda: 4127 MB, 4127194624 bytes
127 heads, 62 sectors/track, 1023 cylinders
Units = cylinders of 7874 * 512 = 4031488 bytes
Disk identifier: 0x465dfd0e

   Device Boot      Start         End      Blocks   Id  System

Command (m for help):         

Apoi dau sa scrie partition table:

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

Problema e ca daca intru din nou in fdisk, partitia e tot acolo!

[root@localhost alex]# fdisk /dev/sda

Command (m for help): p

Disk /dev/sda: 4127 MB, 4127194624 bytes
127 heads, 62 sectors/track, 1023 cylinders
Units = cylinders of 7874 * 512 = 4031488 bytes
Disk identifier: 0x465dfd0e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        1023     4027520   83  Linux

Command (m for help):    

Vreo idee ce as putea incerca?

N3o
N3o's picture
Re: probleme usb stick

Ceva mai brutal de genul shred sau dd nu ar fi eficient oare?

# shred -vfz -n 100 /dev/sda

# dd if=/dev/urandom of=/dev/sda bs=1024k

MaTricks
Re: probleme usb stick

incearca din mcc.
sau dupa ce stergi partitia, fa o alta partitie. si alege tipul pe care vrei sa il aiba partitia.

La inceput a fost . . . kernelul!
Close Windows...Open Source.

cipyk
cipyk's picture
Re: probleme usb stick

Am dat shred, e in mers pe celalalt comp.
La inceput mi-a dat niste erori, dar totusi a mers mai departe

Rezultatul a fost ceva de genul:

shred: /dev/sda: pass 1/11 (random)...
shred: /dev/sda: pass 1/11 (random)...11MiB/3.9GiB 0%
shred: /dev/sda: fdatasync failed: Input/Output error
shred: /dev/sda: pass 1/11 (random)...22MiB/3.9GiB 0%
shred: /dev/sda: fdatasync failed: Input/Output error
shred: /dev/sda: pass 1/11 (random)...35MiB/3.9GiB 0%
shred: /dev/sda: fdatasync failed: Input/Output error
shred: /dev/sda: pass 1/11 (random)...48MiB/3.9GiB 1%
shred: /dev/sda: fdatasync failed: Input/Output error
shred: /dev/sda: pass 1/11 (random)...61MiB/3.9GiB 1%
shred: /dev/sda: fdatasync failed: Input/Output error
shred: /dev/sda: pass 1/11 (random)...73MiB/3.9GiB 1%
shred: /dev/sda: fdatasync failed: Input/Output error
shred: /dev/sda: pass 1/11 (random)...86MiB/3.9GiB 2%
shred: /dev/sda: fdatasync failed: Input/Output error

Tot asa continua pana la 249MiB (6%) - dupa aia nu mai da eroarea.
Sa vedem cand termina ce rezultat obtinem :)

<a href="http://zisinoapte.blogspot.com">Ganduri de zi si noapte</a><br>
You'll never get to heaven if you're scared of getting high!

cipyk
cipyk's picture
Re: probleme usb stick

@MaTricks:
Am incercat in MCC si dupa ce sterg partitia, fac alta (de ce tip vreau eu) cand intru inapoi mi-o arata tot pe aia necunoscuta. Am incercat sa-i dau si direct format din MCC dar nu merge - zice ca nu poate.
Am incercat si Gparted pe un comp cu gnome si ala cand i-am dat commit zice ca nu poate sterge partitia - error, bla bla bla...

<a href="http://zisinoapte.blogspot.com">Ganduri de zi si noapte</a><br>
You'll never get to heaven if you're scared of getting high!

N3o
N3o's picture
Re: probleme usb stick

Sa ne tii la curent cu rezultatele!  :)

ing. Patkos Csaba
ing. Patkos Csaba's picture
Re: probleme usb stick

O fi bushit stick-ul :P

Csabi's BLOG

Linux registered user # 457717

cipyk
cipyk's picture
Re: probleme usb stick

shred-ul a terminat in final, dar stickul arata la fel - una bcata partitie care nu vrea sa dispara.
de fapt shredul scrie 0 pe toate sectoarele, dar problema mea este cred eroare in sistemul de fisiere...

<a href="http://zisinoapte.blogspot.com">Ganduri de zi si noapte</a><br>
You'll never get to heaven if you're scared of getting high!

N3o
N3o's picture
Re: probleme usb stick

Ok, e cumva un SanDisk? Daca da, cica unele modele au o partitie (U3) pentru nu stiu ce porcarie dedicata utilizatorilor Wingoze . Se poate sterge utilizand aplicatia downloadabila de aici.

Daca nu, incerci cu dd?

L.E.: Mda, sunt orb, ai mentionat prima data ca e un Adata. My bad!  :)