You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



[SOLVED] Trouble with new USB

Author (Read 8792 times)

0 Members and 2 Guests are viewing this topic.

Re: Trouble with new USB
« Reply #24 on: December 22, 2014, 01:06:26 AM »
 

N4RPS

  • Donator
  • Platinum Level Poster
  • **********
  • 1149
    Posts
  • Reputation: 155
  • Knows JUST ENOUGH Linux to be DANGEROUS
    • View Profile
    • Orphans for Christ, Self Advocates of Mecklenburg

  • CPU: Several Different 32-bit & 64-bit CPUs, 2-8 GB RAM

  • MEMORY: 8Gb

  • VIDEO CARD: Several Different AMD and Intel GPUs
Hello!

The article is 9 1/2 years old, and, given today's larger drives, may or may not still be relevant...

73 DE N4RPS
Rob


A gun in your hand is worth more than a whole police force on the phone.
 

Re: Trouble with new USB
« Reply #23 on: December 08, 2014, 03:00:34 PM »
 

Alex

  • Forum Regular
  • ***
  • 143
    Posts
  • Reputation: 9
  • Linux Lite Member
    • View Profile
Quote
EDIT:  Can you plug in the USB, open Thunar file manager and look to see if it shows up under "/mnt"?  If yes, see if you can save something to it.
Yes it shows up under /mnt:



But when I try to save something e'g' a tex document it does not let me:




[/color]
Quote
Can you open GParted and do Device -> Create Partition Table -> "msdos"; then make a new FAT32 partition that covers whole disk?


Yes:



But it still does not work.  :(

I have researched the problem online a bit and it seems that problems between Lexar USBs and Linux are not uncommon, but i do not think that is the problem here as the USB worked untill I fiddled with it - I feel that I somehow removed the part of it that tells any (it now wont even work with Windows - I tried it on my daughter's computer - it does not even 'see' it!) computer how to store data on the USB (is that the USB 'booting' software?).

I think that I should be doing something like is described in this article:

http://www.linuxjournal.com/article/8366

But I can hardly understand 1/2 of what he is talking about! LOL

:)
 

Re: Trouble with new USB
« Reply #22 on: December 08, 2014, 07:54:14 AM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Reputation: 325
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
Sorry to say -- I'm stumped!

EDIT:  Can you plug in the USB, open Thunar file manager and look to see if it shows up under "/mnt"?  If yes, see if you can save something to it.

Aside from not knowing how/why your prior pic was showing that the USB was mounted at "/mnt" instead of "/media/alex", steps you just listed look fine and it should be working.

Can you open GParted and do Device -> Create Partition Table -> "msdos"; then make a new FAT32 partition that covers whole disk?

If not, maybe try one last time to zero it out with dd.

If still no luck, maybe you just got unlucky and ended up with a dud USB.
« Last Edit: December 08, 2014, 07:57:09 AM by gold_finger »
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Trouble with new USB
« Reply #21 on: December 08, 2014, 07:35:44 AM »
 

Alex

  • Forum Regular
  • ***
  • 143
    Posts
  • Reputation: 9
  • Linux Lite Member
    • View Profile
Quote
Just to be sure I know exactly what has happened, are you saying that you re-ran dd command (with fixed "bs=4K") and it only took 16 minutes?

Yes I re-ran the corrected dd command and it was finished in 16 minutes

Quote
The GParted pic you posted -- is that what it looked like after zeroing out?  Or did you add that FAT32 partition to it yourself?

I followed your instructions. These were: to repartition the drive using Gparted after zeroing. I used fat32 to make it compatible with Win.

Quote
As far as your error message goes, can you tell us exactly how you are trying to mount the drive?  What are the exact steps you're trying?

I plug in the drive

It shows up on the desk top



I right click on it

I left click on the "mount volume"



Immediately I get the error message shown a few times above

I also get the same error message if I left click on the "open"

:)






« Last Edit: December 08, 2014, 07:48:01 AM by Alex »
 

Re: Trouble with new USB
« Reply #20 on: December 08, 2014, 06:40:23 AM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Reputation: 325
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
Alex,

Just to be sure I know exactly what has happened, are you saying that you re-ran dd command (with fixed "bs=4K") and it only took 16 minutes?

Your fdisk -l output is not showing anything unusual/(wrong) -- just that there is one FAT32 partition on USB.

The GParted pic you posted -- is that what it looked like after zeroing out?  Or did you add that FAT32 partition to it yourself?

If the FAT32 partition was on there after running dd command, something is not right.  There should be nothing at all on the USB after dd completes -- not even a partition table.  If dd ran correctly, you'd need to create a new partition table on USB first, then create new partition(s) on it.

(As an aside, I have no idea whether "Disks" program works and/or if it truly zeros out a drive.  I've never used it for anything myself.)

As far as your error message goes, can you tell us exactly how you are trying to mount the drive?  What are the exact steps you're trying?

Reason I ask is because GParted pic shows that it is currently mounted at "/mnt".  So I'm wondering two things:
  • Are you trying to mount something that is already mounted? -- thus getting an error message.
  • Why is it mounted there?  Normally, when a USB gets plugged into computer it gets mounted by system at "/media/username".
P.s.  I've confirmed that my previously dead 2GB USB is back to working now.  I burned live ISO to it, booted and did an installation from it.
« Last Edit: December 08, 2014, 06:43:07 AM by gold_finger »
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Trouble with new USB
« Reply #19 on: December 08, 2014, 03:28:11 AM »
 

bobw

  • Occasional Poster
  • **
  • 85
    Posts
  • Reputation: 19
  • Linux Lite Member
    • View Profile
This doesn't help with your problem, Alex, but it may be of interest to other people who want to "zero out" a storage device.  Apparently, the process can also be achieved using Gnome-disk-utiliity (aka Disks), with the advantage that you are using a GUI rather than a terminal and it tells you what it is doing and reports % progress.  You select ""Overwrite existing data with zeros (slow)" in the Erase box when formatting the device.


On my quite low-end system it took 21 seconds to do a 1G test partition on the hard drive (compared to about 1 second for a standard reformat).
 

Re: Trouble with new USB
« Reply #18 on: December 08, 2014, 02:51:21 AM »
 

Alex

  • Forum Regular
  • ***
  • 143
    Posts
  • Reputation: 9
  • Linux Lite Member
    • View Profile
I also tried "sudo fdisk -l /dev/sdb" and this is what I get, it means nothing to me lol



Thought it might help...
 

Re: Trouble with new USB
« Reply #17 on: December 08, 2014, 02:11:05 AM »
 

Alex

  • Forum Regular
  • ***
  • 143
    Posts
  • Reputation: 9
  • Linux Lite Member
    • View Profile
Used Gparted:



I'm not sure what to do with the unlocated part...

Tried to mount it, and...got the same message (as above)  again:



:(
 

Re: Trouble with new USB
« Reply #16 on: December 08, 2014, 01:59:19 AM »
 

Alex

  • Forum Regular
  • ***
  • 143
    Posts
  • Reputation: 9
  • Linux Lite Member
    • View Profile
Well that looked much better - the USB flashed its weak LED at me, for the first time since I broke it. It too 16 minutes, I feel positive about it. Now to Gparted...

:)
 

Re: Trouble with new USB
« Reply #15 on: December 08, 2014, 01:35:44 AM »
 

Alex

  • Forum Regular
  • ***
  • 143
    Posts
  • Reputation: 9
  • Linux Lite Member
    • View Profile
As Jerry mentioned it would be a pity to waste all the good advice I have received up to now so I will repeat the process and see what happens...will report back. Meanwhile a sincere thank you to all of you who are so willing to offer help - it's one of the main things that makes this distro one of the best...soon to be the best :)
 

Re: Trouble with new USB
« Reply #14 on: December 07, 2014, 05:47:43 PM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Reputation: 325
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
Sorry for delay -- had to run test twice.  After first run, got some errors and had to force stop of dd process.  Realized that I had mistakenly used lowercase "k" in "bs-k".  It should have been uppercase "K".  Corrected my prior post with that and just ran a second test without errors this time.

My 2GB USB took a little over 8 minutes to zero out.  Just from that test, I'd say your 16GB USB will take a little over an hour.  Your computer CPU will make a difference too -- it may be slower or faster than mine, so these numbers are just a rough estimate.  Just so you have something to go by, the computer I ran this on is running an AMD Phenom II Quad-Core 3.2GHz processor.

My dead USB stick was then able to be reformatted in GParted.  (It threw out error messages and couldn't be mounted before.)  So, it appears to be working again ... for now at least.  So, I'd say give it another shot on yours and just wait until it completes knowing that it will take quite a bit longer than we both initially thought it would.
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Trouble with new USB
« Reply #13 on: December 07, 2014, 05:05:28 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8775
    Posts
  • Reputation: 801
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Pulling out any storage media is a no-no when it is zeroing out. Typically a zero out will take anywhere from an hour to several hours. Best to start this before you go to bed, then check it in the morning. But chances are that the drive is now kaput due to pulling it out mid-job. This will be also why your system froze. As gold_finger said, don't throw it out just yet, it would be a terrible waste of the support people have offered up to this point.
 

Re: Trouble with new USB
« Reply #12 on: December 07, 2014, 05:01:22 PM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Reputation: 325
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
Alex,

Sorry -- forgot the "sudo".  Duh!  (I'll go back and edit last post to correct it.)

Also forgot to warn you that "dd" will not display any kind of feedback until it's done.  I haven't used it to wipe a USB in a while, so was just guessing at amount of time it would take.

Am running a test for myself on an old, crappy, dead 2GB USB stick to see how long it takes.  Will report back with results.

P.s.  You may want to hold off throwing it away until I post back -- good chance it just had not completed yet.  Not sure why it froze the computer though.
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Trouble with new USB
« Reply #11 on: December 07, 2014, 04:41:52 PM »
 

Alex

  • Forum Regular
  • ***
  • 143
    Posts
  • Reputation: 9
  • Linux Lite Member
    • View Profile
Have seen posts like this before and only thing that ended up working was to zero out USB with dd first, then reformat.  Might as well give it a shot.

Plug USB in and make sure you know which device name is assigned to it.  If sudo blkid doesn't show it, open GParted and find out the name from there.  (Then close GParted.)  For this example I'll use "/dev/sdb" for name of USB.  If that's not correct for you, change it in command below.

To write zeros to whole USB, open a terminal and enter this command:
Code: [Select]
dd if=/dev/zero of=/dev/sdb bs=4k conv=notrunc
Wait until it completes (could take many minutes), then unplug drive.

Plug drive back in, open GParted -- create new "msdos" partition table, then make partition(s) you want on it.

Hopefully that works.

As this was the only suggestion yet untried, I followed it to the letter (almost, it did not let me unless I used sudo first) ...then nothing happened except for as the screenshot shows for almost 1/2 hour (just about the longest i can manage to stare at a screen without anything happening lol) Here is a screen shot:



And Yes I did enter the password and pressed 'enter' ...

The fun started when I replugged in the USB stick - everything froze solid and drastic re-start was necessary. Now i hesitate to re-plug in the evil USB stick (it must be cursed!) and lament the loss of $16 and move forward...with my life. A formal burning at the stake of the bewitched USB is scheduled for early afternoon. RIP

:)
« Last Edit: December 07, 2014, 04:44:41 PM by Alex »
 

Re: Trouble with new USB
« Reply #10 on: December 06, 2014, 02:57:56 PM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Reputation: 325
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
Have seen posts like this before and only thing that ended up working was to zero out USB with dd first, then reformat.  Might as well give it a shot.

Plug USB in and make sure you know which device name is assigned to it.  If sudo blkid doesn't show it, open GParted and find out the name from there.  (Then close GParted.)  For this example I'll use "/dev/sdb" for name of USB.  If that's not correct for you, change it in command below.

To write zeros to whole USB, open a terminal and enter this command:
Code: [Select]
sudo dd if=/dev/zero of=/dev/sdb bs=4K conv=notrunc
Wait until it completes (could take many minutes), then unplug drive.

Plug drive back in, open GParted -- create new "msdos" partition table, then make partition(s) you want on it.

Hopefully that works.
« Last Edit: December 07, 2014, 05:22:23 PM by gold_finger »
Try Linux Beginner Search Engine for answers to Linux questions.
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section