[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#511679: installation-guide-i386: Provide information on how to restore USB stick to its previous state



Otavio Salvador a écrit :
> Hello,
> 

Hello Debian :-)

It took me some time to answer because I wanted to do some more tests
prior to answering.


> On Fri, Nov 6, 2009 at 4:13 AM, Frans Pop <elendil@planet.nl> wrote:
>> Did you ever find a procedure that restored the stick to its full capacity?
> 

No I did not find any procedure that could restore the stick to its
full original capacity.

I did some more research and tests (see below) with no success
and I lost hope, sticking with my now 1Gb USB stick.

So I think the installation guide should at least state:

- there are some risks to lose original capacity
- do a full image backup to restore the USB-stick afterward

... and that could make this ticket closed since we haven't
anything better to propose so far. Of course I'm still interested
to read there if someone can provide a solution.


Tests done
==========

1. dd
-----

I have used dd again => still 1.0Gb capacity :-(

$ sudo LC_ALL=C dd if=/dev/zero of=/dev/sdb
dd: writing to `/dev/sdb': No space left on device
2031617+0 records in
2031616+0 records out
1040187392 bytes (1.0 GB) copied, 326.42 s, 3.2 MB/s

SDFormatter
-----------

The "SD Association" was mentionned many times on help forums, etc.
along with their http://www.sdcard.org/consumers/formatter/
It could only run on Windows systems. So I had to get a VM with
Windows on it to be able to test it.

I did all the possible format operations (quick, full, erase on | off,
format size adjustment on | off) with no success.


I suspect the solution to be in the MBR somehow ... and I don't know
what to modify *inside* the MBR.


> "parted mklabel  msdos" ought to clear it up (and you'll lose your
> data) but after creating new partition it ought to continue to work.
> 
> Does it work for you?
> 

parted behaves very strangely on my Debian "Lenny" stable. It accepts
only to work on mounted partitions. Is that how it should be?


Cheers,

-- 
Marc-Aurèle DARCHE
AFUL http://www.aful.org/
Association Francophone des Utilisateurs de Logiciels Libres
French speaking Libre Software Users' Association




Reply to: