USB stick in a sorry state

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
exxonin
Level 1
Level 1
Posts: 17
Joined: Tue Aug 30, 2016 1:37 am

USB stick in a sorry state

Postby exxonin » Sun Nov 12, 2017 7:50 am

I do want to reformat a usb stick, but it is in a sorry state. How might it be rescued? I have no information on it. Please do see image, volume 3, disk F:
Image
Last edited by exxonin on Tue Nov 14, 2017 6:43 am, edited 2 times in total.

Pepi
Level 4
Level 4
Posts: 348
Joined: Wed Nov 18, 2009 7:47 pm

Re: USB stick in a sorry state

Postby Pepi » Sun Nov 12, 2017 10:21 am

Never had any luck with a USB stick after it gets confused. I usually do the DISKPART thing on them BUT that delete all

User avatar
austin.texas
Level 20
Level 20
Posts: 11696
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: USB stick in a sorry state

Postby austin.texas » Sun Nov 12, 2017 10:38 am

I have always used the dd command to clean up USB drives which have problems, and dd has never failed me.
First, run the command

Code: Select all

inxi -D
to identify the USB drive designation. My USB drive shows as /dev/sdc:
Then use dd to clean off whatever garbage might be causing the problem: (change sdX here)

Code: Select all

sudo dd if=/dev/zero of=/dev/sdX bs=1M count=10

Then you can use Gparted to create a new partition table and filesystem.
Last edited by austin.texas on Sun Nov 12, 2017 12:10 pm, edited 1 time in total.
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2017

exxonin
Level 1
Level 1
Posts: 17
Joined: Tue Aug 30, 2016 1:37 am

Re: USB stick in a sorry state

Postby exxonin » Sun Nov 12, 2017 11:38 am

Contrary to diskpart, for instance gparted on linux is not able to detect the erroneous usb stick. How am I to overcome this nondetection of the usb stick on linux?

Please do see image, erroneous usb stick is not detected:

Image
Last edited by Moem on Mon Nov 13, 2017 6:09 am, edited 1 time in total.
Reason: Once more: To directly post an image, paste the link to the image itself, enclosed in [rimg] tags. Like so.

User avatar
austin.texas
Level 20
Level 20
Posts: 11696
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: USB stick in a sorry state

Postby austin.texas » Sun Nov 12, 2017 12:14 pm

exxonin wrote:Please do see image, erroneous usb stick is not detected:

Your image shows a USB (/dev/sdb - 62GB). Is that a different USB drive?
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2017

exxonin
Level 1
Level 1
Posts: 17
Joined: Tue Aug 30, 2016 1:37 am

Re: USB stick in a sorry state

Postby exxonin » Sun Nov 12, 2017 12:27 pm

Indeed, that is the usb stick with my working linux mint on it. Like the windows stick on my diskpart image: Disk 'C', volume 2. The erroneous usb stick is 32 GB, but does not show up, like it does on diskpart as volume 3, 'F'.

exxonin
Level 1
Level 1
Posts: 17
Joined: Tue Aug 30, 2016 1:37 am

Re: USB stick in a sorry state

Postby exxonin » Mon Nov 13, 2017 5:35 am

With 'Hiren's Boot CD' the USB stick was detected: 'sr0'. I obtained this information, please do see images:
Image
Image
Image
Image
I also got the 'udevil.conf' file of the erroneous USB stick, I do not know if this information might be helpful.

Why is it that the erroneous USB stick is detected: 'sr0', but when the terminal operates a command on it, the terminal reports: "No medium found while trying to determine filesystem size."
Last edited by exxonin on Tue Nov 14, 2017 6:51 am, edited 8 times in total.

User avatar
Faust
Level 3
Level 3
Posts: 178
Joined: Thu Jul 14, 2016 3:40 am

Re: USB stick in a sorry state

Postby Faust » Mon Nov 13, 2017 5:54 am

I've had many of these , most often caused by writing Linux ISOs that went badly ( back in my "hopping" days :) )

In a Linux environment I go with what austin.texas recommended , 100% .... using the dd command ,
but please do make double certain that you have selected the correct target drive .
dd is " lean and mean " and will not warn you or give you second chances if you make a boo-boo .

There is another solution if you have a Windows box around ( and I hate to do this on a Linux forum , but it works ! )
Download " Partition Wizard Free " , if only because it seems to do some things that gparted can not .
eg. It will usually "see" a drive that Linux can't recognize , and it has repaired USB drives for me that I thought were doomed to the garbage bin .

.... just a few thoughts
Last edited by Faust on Mon Nov 13, 2017 6:19 am, edited 1 time in total.
" And so it goes " - Kurt Vonnegut
The modern reality and the satirical parody are rapidly converging .

User avatar
Moem
Level 11
Level 11
Posts: 3664
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: USB stick in a sorry state

Postby Moem » Mon Nov 13, 2017 6:11 am

exxonin wrote:please do see images

I've given you two examples of how to use the rimg tag to post images directly in the thread, without people needing to click on them. Please take a look; I'm sure you can learn this, too.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

exxonin
Level 1
Level 1
Posts: 17
Joined: Tue Aug 30, 2016 1:37 am

Re: USB stick in a sorry state

Postby exxonin » Mon Nov 13, 2017 9:57 am

I have done 'rimg':

"Image"
"Image"
"Image"
"Image"

But, I do not get your result.
Last edited by exxonin on Mon Nov 13, 2017 10:21 am, edited 1 time in total.

User avatar
Moem
Level 11
Level 11
Posts: 3664
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: USB stick in a sorry state

Postby Moem » Mon Nov 13, 2017 10:01 am

Try using the link to the actual image itself, not the complete page. The 'rimg' tag needs a URL that ends in an image format, such as .jpg or .png. You can get that link by rightclicking on the image and choosing 'Copy image' or similar (depending on browser).
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

exxonin
Level 1
Level 1
Posts: 17
Joined: Tue Aug 30, 2016 1:37 am

Re: USB stick in a sorry state

Postby exxonin » Tue Nov 14, 2017 6:39 am

I am almost there, so why is ' read/write' access denied?

Image
Last edited by exxonin on Tue Nov 14, 2017 12:23 pm, edited 1 time in total.

exxonin
Level 1
Level 1
Posts: 17
Joined: Tue Aug 30, 2016 1:37 am

Re: USB stick in a sorry state

Postby exxonin » Tue Nov 14, 2017 6:53 am

I did place ' .jpg' on it like you did, on image, but with me does not work.

User avatar
Moem
Level 11
Level 11
Posts: 3664
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: USB stick in a sorry state

Postby Moem » Tue Nov 14, 2017 6:57 am

I did not just add '.jpg'. I went to the page to view the image, rightclicked on the image, and copied the URL of the image itself (not the page). That is the URL that I used.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!


Return to “Newbie Questions”

Who is online

Users browsing this forum: No registered users and 1 guest