A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows 8 » Windows 8 Help Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Problema formattazione penna 16 GB. URGENTE!



 
 
Thread Tools Rate Thread Display Modes
  #1  
Old June 17th 16, 05:33 AM posted to alt.comp.os.windows-8
No_Name
external usenet poster
 
Posts: 11
Default Problema formattazione penna 16 GB. URGENTE!

Ciao, ho una penna Patriot da 20GB che ho comperato neanche un anno fa
ed utilizzata poco.
Oggi ho provato a fortmattarla sia in NTFS che in FAT ma dopo, quando
provo ad inserire un file di 300 MB, mi dice che non c'entra.
Incredibile.
Allora ho verificato perchè ed ho notato che la penna ha solo 200 MB
disponibili. Forse è stata creata automaticamente una partizione
piccola che non riesco ad eliminare. L'avrò formattata una decina di
volte sia con Win 7 che con Win 8, ma alla fine della formattazione
leggo sempre che ha 200 MB liberi.
Che posso fare?
Vi ringrazio.
Ads
  #2  
Old June 17th 16, 08:40 AM posted to alt.comp.os.windows-8
Paul
external usenet poster
 
Posts: 18,275
Default Problema formattazione penna 16 GB. URGENTE!

wrote:
Ciao, ho una penna Patriot da 20GB che ho comperato neanche un anno fa
ed utilizzata poco.
Oggi ho provato a fortmattarla sia in NTFS che in FAT ma dopo, quando
provo ad inserire un file di 300 MB, mi dice che non c'entra.
Incredibile.
Allora ho verificato perchè ed ho notato che la penna ha solo 200 MB
disponibili. Forse è stata creata automaticamente una partizione
piccola che non riesco ad eliminare. L'avrò formattata una decina di
volte sia con Win 7 che con Win 8, ma alla fine della formattazione
leggo sempre che ha 200 MB liberi.
Che posso fare?
Vi ringrazio.


It is pretty difficult to "clean" a USB stick in Windows.

One problem is, the Windows utility known as "diskpart"
does not recognize a USB drive as a "hard drive". And
because of that, you cannot use the "clean" or "clean all"
commands on the USB stick.

And this recipe is just plain wrong. It assumes the partition
structure on the USB drive makes sense. If the partition
structure is not logical (such as happens when you
image copy a hybrid Linux ISO9660 file onto the
USB flash drive), this recipe will simply not work
to alleviate the symptoms. What is needed, is a
"bulk erase command".

http://kb.sandisk.com/app/answers/de...ndows-8-system

*******

To do bulk erase in Linux, you would use the "dd" disk dump
command. In Windows, there is "dd.exe" available from
a third party.

http://www.chrysocome.net/dd # description of software

http://www.chrysocome.net/downloads/dd-0.6beta3.zip # the program

dd.exe --list

dd.exe --list 2 output.txt
notepad output.txt

My USB flash drive is an OCZ Rally2 8GB flash.
It has one main partition on it. The output of the
above command, looks like this. Partition0 is
a way of referring to the entire drive, starting
at sector 0 of storage space. Partition1 is the
beginning of the formatted partition (in your case,
the too-small partition). When the size information
shows a number, it means the partition is also
"writable".

\\?\Device\Harddisk3\Partition0
link to \\?\Device\Harddisk3\DR12
Removable media other than floppy. Block size = 512
size is 8019509248 bytes
\\?\Device\Harddisk3\Partition1
link to \\?\Device\Harddisk3\DP(1)0-0+d
Removable media other than floppy. Block size = 512
size is 8018460672 bytes

We need to erase Partition0. And we can do it like this.
From an Administrator Command Prompt window...

dd if=/dev/zero of=\\?\Device\Harddisk3\Partition0 bs=1048576 count=130

That will erase 130MB of space, sufficient to remove a UEFI
table at the beginning of the drive. An even larger erasure
may be needed at times, and this would be a first attempt
to prepare the USB flash drive for regular usage.

To erase the *entire* USB flash, we take the number

8019509248 / 1048576 = 7548

Now, knowing how many megabytes the stick is, this erases
every last byte of the USB stick.

dd if=/dev/zero of=\\?\Device\Harddisk3\Partition0 bs=1048576 count=7548

That will take about 12 minutes to execute with my Rally2 USB stick.

So that is one of the few ways I have, of dealing with
USB flash devices having bad setups on them.

*******

While this method looks promising, diskpart does not
always list the USB flash as a hard drive, as in the
illustration. For example, right now, diskpart
is not listing my OCZ Rally2 8GB USB flash stick.
So I cannot follow this recipe and use the "clean"
command. Whether diskpart lists the USB flash drive,
will depend on whether the RMB (Removable Media Bit)
is a zero or a one.

http://www.hecticgeek.com/2013/01/re...-dd-windows-8/

And that's why that article refers to "dd", and "dd" is
the method I described above. To use "dd", the user account
must belong to the Administrator group, as only the
Administrator can do block access to the USB storage
via the "dd" command. You can use an Administrator
Command Prompt window to use "dd.exe".

Maybe someone else can suggest a program with a nice
GUI for this purpose. I could locate such a program,
but I couldn't be sure the program was safe to use.

And any program that supports disk erasure, is dangerous.
If you make a typing mistake with "dd.exe", an entire
hard drive can be erased. So be very very careful...
Make sure you have positively identified the correct
drive, before issuing the command.

Using the Windows "format" command, will achieve nothing.
It is the partition information that needs to be erased,
and Disk Management or DiskPart cannot always do what
is required. Thus a third-party tool approach is needed.

Paul
  #3  
Old June 17th 16, 10:49 AM posted to alt.comp.os.windows-8
No_Name
external usenet poster
 
Posts: 11
Default Problema formattazione penna 16 GB. URGENTE!

100000000000000000 THANKS, now I solved my problem.
  #4  
Old June 17th 16, 01:06 PM posted to alt.comp.os.windows-8
Paul
external usenet poster
 
Posts: 18,275
Default Problema formattazione penna 16 GB. URGENTE!

wrote:
100000000000000000 THANKS, now I solved my problem.


What did you end up doing, to fix it ?

Paul
  #5  
Old June 17th 16, 07:39 PM posted to alt.comp.os.windows-8
No_Name
external usenet poster
 
Posts: 11
Default Problema formattazione penna 16 GB. URGENTE!

What did you end up doing, to fix it ?

This link was very useful:
http://www.hecticgeek.com/2013/01/re...-dd-windows-8/
 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 08:40 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.