sidux.com
Menu

News

Give back
Last 3 Contributions
16-11-2008 10.00
02-11-2008 20.00
31-10-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
greggish
Post subject: May have damaged USB stick trying to install sidux to it  PostPosted: Nov 02, 2007 - 03:35 AM



Joined: Oct 31, 2007
Posts: 11
Location: Brooklyn, NY, USA
Status: Offline
I used the sidux installer running off the live Eros preview cd to try to install to my USB stick. It's a Kingston 4GB DataTraveler. The installer quickly returned an error about not being able to format the drive right. Now the stick won't mount when I plug it in. It does show up in Gnome / System / Preferences / Hardware Information though. Does anybody know what to do to fix it? Thanks.
 
 View user's profile Send private message  
Reply with quote Back to top
greggish
Post subject: RE: May have damaged USB stick trying to install sidux to it  PostPosted: Nov 02, 2007 - 05:32 AM



Joined: Oct 31, 2007
Posts: 11
Location: Brooklyn, NY, USA
Status: Offline
I tried googling for help. I did a dmesg and got this...

[ 335.673440] scsi 3:0:0:0: Direct-Access Kingston DataTraveler 2.0 PMAP PQ: 0 ANSI: 0 CCS
[ 335.943940] SCSI device sdc: 7823360 512-byte hdwr sectors (4006 MB)
[ 335.944563] sdc: Write Protect is off
[ 335.944567] sdc: Mode Sense: 23 00 00 00
[ 335.944569] sdc: assuming drive cache: write through
[ 335.946934] SCSI device sdc: 7823360 512-byte hdwr sectors (4006 MB)
[ 335.947558] sdc: Write Protect is off
[ 335.947562] sdc: Mode Sense: 23 00 00 00
[ 335.947564] sdc: assuming drive cache: write through
[ 335.947567] sdc: sdc1
[ 335.948326] sd 3:0:0:0: Attached scsi removable disk sdc
[ 335.948369] sd 3:0:0:0: Attached scsi generic sg2 type 0
[ 937.695790] cramfs: wrong magic
[ 937.697961] VFS: Can't find ext3 filesystem on dev sdc1.
[ 993.004173] FAT: bogus number of reserved sectors
[ 993.004181] VFS: Can't find a valid FAT filesystem on dev sdc1.

So it does seem to be messed up. Now I just have to figure out how to fix it.
 
 View user's profile Send private message  
Reply with quote Back to top
x-un-i
Post subject: RE: May have damaged USB stick trying to install sidux to it  PostPosted: Nov 02, 2007 - 05:56 AM



Joined: Nov 25, 2006
Posts: 530

if it has failed in the middle then "something" gone wrong .

Sometimes the automatically formatting fails and the script cannot recover.
Please try to partition (reformat) with gparted for instance.

_________________
Why do strong arms fatigue themselves with frivolous dumbbells?
To dig a vineyard is worthier exercise for men.
 
 View user's profile Send private message  
Reply with quote Back to top
DeepDayze
Post subject: RE: May have damaged USB stick trying to install sidux to it  PostPosted: Nov 09, 2007 - 04:42 PM



Joined: Dec 02, 2006
Posts: 1905

Status: Offline
Or perhaps the flash mem on the stick going bad? That happens as flash has limited read/write cycles before it starts to fail.
 
 View user's profile Send private message  
Reply with quote Back to top
mountainMan
Post subject:   PostPosted: Jan 27, 2008 - 10:47 PM



Joined: Jan 27, 2008
Posts: 1

Status: Offline
Something I have found that often helps with flaky flash drives is to zero them. First try zeroing just the first megabyte of the drive.

To do this use the "dd" command:

dd if=/dev/zero of=/dev/sd? bs=1M count=1.

Substitute the correct letter for your drive for the "?" If this doesn't work, zero the whole drive (leave off the "count=1" ).

Then you wil need to repartition the drive, using gparted, cfdisk, or whatever utility you prefer, then format (mkfs) it.

If you get errors when zeroing the drive, or if it still won't format after zeroing, it's probably dead.

Even if the format goes without errors, I have found that flash drives will often have problems after a format if you don't zero at liest the first few kilobytes, especially if you are changing filesystems (FAT to ext2/3, for example. The automount will often pick up the remnants of the old filesystem and mount it as the old filesystem instead of the new. For some reason, this seems to happen more often with flash drives than with hard drives.

You don't want to zero the drive too often, as flash drives will fail after too many writes, but zeroing does often seem to revive a drive that doesn't want to format.

Note that zeroing the drive will destroy all data on it. This is not a data recovery technique, it is a hardware salvage technique.
 
 View user's profile Send private message  
Reply with quote Back to top
holgerw
Post subject:   PostPosted: Jan 28, 2008 - 02:22 PM



Joined: Dec 28, 2007
Posts: 153

Status: Offline
Hi,

is the stick an original Kingston? Or is it a fake?
http://www.heise.de/newsticker/meldung/100975/

With best regards,
Holger
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio