how to reset an USB memory stick to factory state

Archived topics about LMDE 1
Forum rules
evanescente_ondine
Level 1
Level 1
Posts: 9
Joined: Mon Jul 21, 2014 8:02 am

how to reset an USB memory stick to factory state

Postby evanescente_ondine » Wed Jul 30, 2014 10:34 am

Hello.
I have a PNY memory stick whose capacity is 32 gb.
A friend formats it behind my eyes with on Windows whose I don't remember the edition, in FAT,
because that was the only file system that my home DVD reader understand.
My problem is that now, neither linux, nor windows recognizes it as a valid medium anymore. I need to fix it in one way or another. See the result of "dmesg" on my Cinnamon LMDE last version says about it :

Code: Select all

[23999.136055] usb 5-3: new high-speed USB device number 4 using ehci-pci
[23999.269898] usb 5-3: New USB device found, idVendor=058f, idProduct=1234
[23999.269906] usb 5-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[23999.269911] usb 5-3: Product: Mass Storage Device
[23999.269916] usb 5-3: Manufacturer: Alcor Micro
[23999.495079] usb-storage 5-3:1.0: USB Mass Storage device detected
[23999.495796] scsi4 : usb-storage 5-3:1.0
[23999.496538] usbcore: registered new interface driver usb-storage
[24000.496986] scsi 4:0:0:0: Direct-Access     Generic  USB Flash Disk   7.76 PQ: 0 ANSI: 4
[24000.497696] sd 4:0:0:0: Attached scsi generic sg2 type 0
[24000.500704] sd 4:0:0:0: [sdb] Attached SCSI removable disk

Right now it's unusable.
And assuming it was correctly formatted in vfat :
$ sudo mount -t vfat /dev/sdb /media/mehdi
mount: no medium found on /dev/sdb

niowluka
Level 5
Level 5
Posts: 735
Joined: Tue May 27, 2014 6:28 pm
Location: Krakow, Poland

Re: how to reset an USB memory stick to factory state

Postby niowluka » Wed Jul 30, 2014 11:34 am

You need to mount the partition on the device, i.e. /dev/sdb1.

What does below say?

Code: Select all

sudo fdisk -l /dev/sdb
Mint 17 Openbox (MATE) 64bit | Linux 4.1.6 (Vanilla)

Gigabyte GA-880GA-UD3H | AMD Phenom II X4 965 3.4Ghz | G.Skill 8GB DDR3-1600 RipjawsX, F3-12800CL8D-8GBXM | MSI R7 260X 2048 MB GDDR5 OC

evanescente_ondine
Level 1
Level 1
Posts: 9
Joined: Mon Jul 21, 2014 8:02 am

Re: how to reset an USB memory stick to factory state

Postby evanescente_ondine » Wed Jul 30, 2014 2:46 pm

it says nothing. fdisk /dev/sdb says that no medium is to be found at /dev/sdb.

User avatar
PatH57
Level 13
Level 13
Posts: 4595
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: how to reset an USB memory stick to factory state

Postby PatH57 » Wed Jul 30, 2014 2:58 pm

hi,

could you go to accessories then disks and see if the drive is there?
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.

User avatar
DrHu
Level 17
Level 17
Posts: 7560
Joined: Wed Jun 17, 2009 8:20 pm

Re: how to reset an USB memory stick to factory state

Postby DrHu » Wed Jul 30, 2014 3:19 pm

You will have to attack the disk directly (fdisk, dd, hdparm, gparted options..), and even then you may not get it working for you..
http://www.linuxquestions.org/questions ... 175482217/

https://bugs.launchpad.net/ubuntu/+sour ... bug/251781
--may not relate, but if you have another usb flash drive, you could mount that, pull the device and plug in your alcor, see if it detects it as a mount (you won't have written sany data to your other USB so it will be safe to yank..)

Two other questions, drive isn't an encrypted one, and isn't set into any special mode of operation, such as write-protect
--although that should still be mountable

Windows OS side, Alcor itself may have some options here..
http://www.winsite.com/alcor/alcor+micro+usb+drive/

evanescente_ondine
Level 1
Level 1
Posts: 9
Joined: Mon Jul 21, 2014 8:02 am

Re: how to reset an USB memory stick to factory state

Postby evanescente_ondine » Thu Jul 31, 2014 7:57 am

Nothing worked at all.
It kept saying whatever the command, "no medium found".
And windows did not recognize it the least no more.

User avatar
eanfrid
Level 7
Level 7
Posts: 1865
Joined: Mon Apr 30, 2012 2:49 am
Location: FR

Re: how to reset an USB memory stick to factory state

Postby eanfrid » Thu Jul 31, 2014 8:06 am

Unplug the usb key, wait for a few seconds and then plug it again and post the result of

Code: Select all

lsblk
Main desktop: Debian GNU/Linux Jessie 64bit - MATE
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
Safer than Dropbox

evanescente_ondine
Level 1
Level 1
Posts: 9
Joined: Mon Jul 21, 2014 8:02 am

Re: how to reset an USB memory stick to factory state

Postby evanescente_ondine » Thu Jul 31, 2014 8:34 am

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 149,1G 0 disk
├─sda2 8:2 0 49,4G 0 part /
└─sda3 8:3 0 75,3G 0 part
sr0 11:0 1 1024M 0 rom

I bet it means it's not seen...

User avatar
PatH57
Level 13
Level 13
Posts: 4595
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: how to reset an USB memory stick to factory state

Postby PatH57 » Thu Jul 31, 2014 8:43 am

well not detected for sure anyway

Code: Select all

lsusb
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.

niowluka
Level 5
Level 5
Posts: 735
Joined: Tue May 27, 2014 6:28 pm
Location: Krakow, Poland

Re: how to reset an USB memory stick to factory state

Postby niowluka » Thu Jul 31, 2014 9:31 am

So it detects a USB device but cannot create a block device... It would either be the driver, but that's unlikely considering it used to work, and now it doesn't both in Windows and Linux, or the USB itself has died...
Mint 17 Openbox (MATE) 64bit | Linux 4.1.6 (Vanilla)

Gigabyte GA-880GA-UD3H | AMD Phenom II X4 965 3.4Ghz | G.Skill 8GB DDR3-1600 RipjawsX, F3-12800CL8D-8GBXM | MSI R7 260X 2048 MB GDDR5 OC


Return to “Archive”

Who is online

Users browsing this forum: No registered users and 0 guests