Pagina 1 di 1

[Usb] problema formattazione chiavetta usb hp v120w

Inviato: giovedì 8 luglio 2010, 15:38
da mferrara00
Salve a tutti,
ho il seguente problema:

ho una chiavetta usb che ha dato dei problemi e dopo avermi salvato tutto sto tentanto di formattarla in modo da averla come nuova (forse ha preso un virus)

il problema principale che riscontro è che la chiavetta è protetta da scrittua, anche se non ci sono pulsanti hw che abilitano/disabilitano la scrittua.

Ho installato sulla mia distro UBUNTU 10.04 GParted,
e dopo aver selezionato la chiavetta clicco su umount.
Poi vado a formattarla in formato fat32
e mi restituisce i seguenti errori:

Unable to open /dev/sdb read-write (no medium found). /dev(sdb has been opened read-only.
Error fsyncing/closing /dev/sdb: input/output error
Input/output error during write on /dev/sdb

Che faccio la butto e ne compro una nuova??? >:( :( :o ::)

Re: [Usb] problema formattazione chiavetta usb hp v120w

Inviato: giovedì 8 luglio 2010, 15:46
da gnomo56
Vai col tasto destro del mouse sulla chiavetta e scegli
Formatta

Re: [Usb] problema formattazione chiavetta usb hp v120w

Inviato: giovedì 8 luglio 2010, 15:52
da mferrara00
grazie per la celere risposta,
ma era una cosa che già avevo provato.

cmq quando faccio come mi dici tu mi da quest'errore:
Error creating file system: helper exited with exit code 1: cannot open /dev/sdb1: No medium found

Re: [Usb] problema formattazione chiavetta usb hp v120w

Inviato: giovedì 8 luglio 2010, 16:15
da gnomo56
Se sempre con tasto destro vai su proprietà?

Re: [Usb] problema formattazione chiavetta usb hp v120w

Inviato: giovedì 8 luglio 2010, 16:19
da mferrara00
si ci vado.
ma nel tab permessi mi dice che non sono determinati

Re: [Usb] problema formattazione chiavetta usb hp v120w

Inviato: giovedì 8 luglio 2010, 16:39
da gnomo56
Con la pen dentro dai (copia incolla)
sudo fdisk -l

Re: [Usb] problema formattazione chiavetta usb hp v120w

Inviato: giovedì 8 luglio 2010, 16:40
da mferrara00
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x34fe34fd

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1        4462    35840983+  7  HPFS/NTFS
/dev/sda2            4463      27409  184321777+  7  HPFS/NTFS
/dev/sda3          27410      30401    24033240    5  Extended
/dev/sda5          27410      30271    22988983+  83  Linux
/dev/sda6          30272      30401    1044193+  82  Linux swap / Solaris

Disk /dev/sdb: 4043 MB, 4043308544 bytes
255 heads, 63 sectors/track, 491 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x91f72d24

  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1  *          1        492    3948512    b  W95 FAT32
Partition 1 has different physical/logical endings:
    phys=(490, 254, 63) logical=(491, 145, 37)

Re: [Usb] problema formattazione chiavetta usb hp v120w

Inviato: giovedì 8 luglio 2010, 16:54
da gnomo56
Dai
sudo umount /dev/sdb1
poi
sudo mount -t vfat /dev/sdb1

Re: [Usb] problema formattazione chiavetta usb hp v120w

Inviato: giovedì 8 luglio 2010, 17:17
da mferrara00
quando digito sudo mount -t vfat /dev/sdb1  mi restituisce questo:
Usage: mount -V                : print version
      mount -h                : print this help
      mount                    : list mounted filesystems
      mount -l                : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
      mount -a [-t|-O] ...    : mount all stuff from /etc/fstab
      mount device            : mount device at the known place
      mount directory          : mount known device here
      mount -t type dev dir    : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
      mount --bind olddir newdir
or move a subtree:
      mount --move olddir newdir
One can change the type of mount containing the directory dir:
      mount --make-shared dir
      mount --make-slave dir
      mount --make-private dir
      mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
      mount --make-rshared dir
      mount --make-rslave dir
      mount --make-rprivate dir
      mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using  -L label  or by uuid, using  -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say  man 8 mount .

Re: [Usb] problema formattazione chiavetta usb hp v120w

Inviato: giovedì 8 luglio 2010, 17:34
da Starless
Prova ad eliminare completamente la partizione con cfdisk:

Codice: Seleziona tutto

sudo cfdisk /dev/sdb
Poi magari ricrei la partizione tramite cfidk o gparted.

Infine crei il file system fat32.


Se non dovesse funzionare azzerala:

Codice: Seleziona tutto

sudo dd if=/dev/zero of=/dev/sdb
In questo secondo caso ci vuole molto tempo per azzerarla e dipende dalla grandezza della chiavetta.

Re: [Usb] problema formattazione chiavetta usb hp v120w

Inviato: giovedì 8 luglio 2010, 17:41
da mferrara00
con il comando:
sudo cfdisk /dev/sdb
mi da questo errore:
FATAL ERROR: Bad primary partition 0: Partition ends in the final partial cylind
                          Press any key to exit cfdisk


ora ho lanciato l'altro e incrociamo le dita...
è una chiavetta da 4gb

Re: [Usb] problema formattazione chiavetta usb hp v120w

Inviato: giovedì 8 luglio 2010, 17:48
da Starless
mferrara00 ha scritto: con il comando:
sudo cfdisk /dev/sdb
mi da questo errore:
FATAL ERROR: Bad primary partition 0: Partition ends in the final partial cylind
                          Press any key to exit cfdisk
Questo errore non fa presagire niente di nuovo!!!
mferrara00 ha scritto: ora ho lanciato l'altro e incrociamo le dita...
è una chiavetta da 4gb
Vediamo se così riusciamo a recuperarla.

Re: [Usb] problema formattazione chiavetta usb hp v120w

Inviato: giovedì 8 luglio 2010, 18:07
da mferrara00
ha finito e mi ha restituito questo:
dd: writing to `/dev/sdb': No space left on device
7897088+0 records in
7897087+0 records out
4043308544 bytes (4.0 GB) copied, 1463.8 s, 2.8 MB/s



ora che faccio provo a formattarla normalmente con il tasto destro o mi conviene utilizzare GParted?
Grazie mille

Re: [Usb] problema formattazione chiavetta usb hp v120w

Inviato: giovedì 8 luglio 2010, 18:09
da Starless
mferrara00 ha scritto: ha finito e mi ha restituito questo:
dd: writing to `/dev/sdb': No space left on device
7897088+0 records in
7897087+0 records out
4043308544 bytes (4.0 GB) copied, 1463.8 s, 2.8 MB/s



ora che faccio provo a formattarla normalmente con il tasto destro o mi conviene utilizzare GParted?
Grazie mille
Prova con GParted che è più semplice e soprattutto credo che devi creare una partizione.