Choose style:

Author Topic: USB-drive not seen in GParted and not able to format  (Read 8569 times)

0 Members and 1 Guest are viewing this topic.

Offline paulus

  • Member
  • ***
  • Posts: 194
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: USB-drive not seen in GParted and not able to format
« Reply #15 on: October 19, 2015, 06:21:15 pm »
This is the output - BTW it is dev/sdc right now, as before I booted from a cd, and in the meantime I made a bootable USB-drive, and so the not-recognized drive changed from sdb to sdc, so please, don't worry, it's alright!
Output:
[/code]
Code: [Select]
peppermint@peppermint ~ $ sudo fdisk /dev/sdc
fdisk: unable to open /dev/sdc: No medium found
peppermint@peppermint ~ $ w
 22:17:52 up 7 min,  8 users,  load average: 0.02, 0.27, 0.20
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
peppermi tty5                      22:11    6:54   0.06s  0.05s -bash
peppermi tty2                      22:11    6:54   0.04s  0.04s -bash
peppermi tty3                      22:11    6:54   0.05s  0.05s -bash
peppermi tty4                      22:11    6:54   0.04s  0.02s -bash
peppermi tty6                      22:11    6:54   0.02s  0.02s -bash
peppermi tty1                      22:11    6:54   0.02s  0.02s -bash
peppermi :0       :0               22:11   ?xdm?   1:34   0.90s /usr/bin/lxsess
peppermi pts/0    :0               22:17    1.00s  0.04s  0.00s w
peppermint@peppermint ~ $




Offline paulus

  • Member
  • ***
  • Posts: 194
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: USB-drive not seen in GParted and not able to format
« Reply #16 on: October 20, 2015, 10:56:17 am »
Quote
[  238.549545] sd 2:0:0:0: [sdb] Attached SCSI removable disk

suggests it's being given a device node /dev/sdb

First make 100% sure sdb isn't your hard drive or any other drive you don't want wiped

Then what happens if you run:
Code: [Select]
sudo fdisk /dev/sdb
then hit then
o
then
w
key to create a new empty DOS partition table, then write a new partition table.

then see if gparted /disks / USB formatter will see the drive



Or to COMPLETELY erase /dev/sdb
Code: [Select]
sudo dd if=/dev/zero of=/dev/sdb bs=1M
then see if gparted /disks / USB formatter will see the drive


To be sure I also tried both your commands again; this is the output:
Code: [Select]
paul@paul-ESPRIMO-P3521 ~ $ sudo fdisk /dev/sdb
[sudo] password for paul:
fdisk: kan /dev/sdb niet openen: Geen medium gevonden
paul@paul-ESPRIMO-P3521 ~ $ sudo dd if=/dev/zero of=/dev/sdb bs=1M
dd: openen van ‘/dev/sdb’ is mislukt: Geen medium gevonden
paul@paul-ESPRIMO-P3521 ~ $

So it is obvious that NO MEDIUM is found. Neither fdisk is able to reach the USB-drive, nor dd, so what is left to try?

Is nobody around who knows something about this matter?

If not in Linux, maybe in Windows? I already tried HP USB Disk Storage Format Tool, but also that Windows tool does not recognize the USB-drive!

Is there anything left that I could try? :(

Offline paulus

  • Member
  • ***
  • Posts: 194
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: USB-drive not seen in GParted and not able to format
« Reply #17 on: October 20, 2015, 11:05:50 am »
The only tool in which the USB-drive is seen, recognized, is in Drives or Disks:

So again: is there anybody around who is familiar with this??? :-\



Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: USB-drive not seen in GParted and not able to format
« Reply #18 on: October 20, 2015, 04:38:53 pm »
Hi paulus, this is just a thought.  Have you tried a different USB port?  With the USB stick inserted in the new port, run the command PCNetSpec gave you earlier:
Code: [Select]
dmesg | tail -n 40
Or just run:
Code: [Select]
sudo fdisk -l
Post back the outputs  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline paulus

  • Member
  • ***
  • Posts: 194
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: USB-drive not seen in GParted and not able to format
« Reply #19 on: October 20, 2015, 04:45:33 pm »
Hi AndyInMokum,

This is the output:
Code: [Select]
paul@paul-ESPRIMO-P3521 ~ $ dmesg | tail -n 40
[20311.643397] audit: type=1400 audit(1445355497.503:57): apparmor="DENIED" operation="open" profile="/usr/bin/evince" name="/etc/xdg/peppermint/applications/defaults.list" pid=11196 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[20336.630919] usblp0: removed
[20346.514101] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04E8 pid 0x3292
[20346.514544] usblp0: removed
[20346.624023] usb 2-1: reset full-speed USB device number 2 using uhci_hcd
[20346.779940] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04E8 pid 0x3292
[20347.837184] audit: type=1400 audit(1445355533.699:58): apparmor="DENIED" operation="open" profile="/usr/bin/evince" name="/etc/xdg/peppermint/applications/defaults.list" pid=11260 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[20363.343441] audit: type=1400 audit(1445355549.202:59): apparmor="DENIED" operation="open" profile="/usr/bin/evince" name="/etc/xdg/peppermint/applications/defaults.list" pid=11281 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[20378.014386] usblp0: removed
[20387.449693] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04E8 pid 0x3292
[20387.449780] usblp0: removed
[20387.560024] usb 2-1: reset full-speed USB device number 2 using uhci_hcd
[20387.715804] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04E8 pid 0x3292
[20617.867905] audit: type=1400 audit(1445355803.725:60): apparmor="DENIED" operation="open" profile="/usr/bin/evince" name="/etc/xdg/peppermint/applications/defaults.list" pid=11368 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[22153.633137] audit: type=1400 audit(1445357339.494:61): apparmor="DENIED" operation="open" profile="/usr/bin/evince" name="/etc/xdg/peppermint/applications/defaults.list" pid=11660 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[22738.338123] audit: type=1400 audit(1445357924.198:62): apparmor="DENIED" operation="open" profile="/usr/bin/evince" name="/etc/xdg/peppermint/applications/defaults.list" pid=11774 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[22798.993899] audit: type=1400 audit(1445357984.853:63): apparmor="DENIED" operation="connect" profile="/usr/bin/evince-previewer" name="/run/dbus/system_bus_socket" pid=11812 comm="pool" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=0
[22798.996782] audit: type=1400 audit(1445357984.857:64): apparmor="DENIED" operation="connect" profile="/usr/bin/evince-previewer" name="/run/dbus/system_bus_socket" pid=11812 comm="pool" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=0
[22799.032137] usblp0: removed
[22808.185801] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04E8 pid 0x3292
[22808.185890] usblp0: removed
[22808.296027] usb 2-1: reset full-speed USB device number 2 using uhci_hcd
[22808.452066] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04E8 pid 0x3292
[38398.493270] usb 1-5: USB disconnect, device number 7
[38418.477743] usb 1-2: USB disconnect, device number 3
[38423.340019] usb 1-2: new high-speed USB device number 8 using ehci-pci
[38423.473464] usb 1-2: New USB device found, idVendor=04a9, idProduct=1909
[38423.473469] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[38423.473472] usb 1-2: Product: CanoScan
[38423.473475] usb 1-2: Manufacturer: Canon
[38435.152024] usb 1-4: new high-speed USB device number 9 using ehci-pci
[38435.753624] usb 1-4: New USB device found, idVendor=058f, idProduct=1234
[38435.753630] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[38435.753634] usb 1-4: Product: Mass Storage Device
[38435.753637] usb 1-4: Manufacturer: Alcor Micro
[38435.753925] usb-storage 1-4:1.0: USB Mass Storage device detected
[38435.754024] scsi4 : usb-storage 1-4:1.0
[38436.752761] scsi 4:0:0:0: Direct-Access     Generic  USB Flash Disk   7.76 PQ: 0 ANSI: 4
[38436.753221] sd 4:0:0:0: Attached scsi generic sg2 type 0
[38436.756881] sd 4:0:0:0: [sdb] Attached SCSI removable disk
paul@paul-ESPRIMO-P3521 ~ $ sudo fdisk -l
[sudo] password for paul:


Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 koppen, 63 sectoren/spoor, 30401 cilinders, totaal 488397168 sectoren
Eenheid = sectoren van 1 * 512 = 512 bytes
Sectorgrootte (logischl/fysiek): 512 bytes / 512 bytes
in-/uitvoergrootte (minimaal/optimaal): 512 bytes / 512 bytes
Schijf-ID: 0x000a9663


 Apparaat Opstart   Begin       Einde     Blokken   ID  Systeem
/dev/sda1   *        2048    81344069    40671011   83  Linux
/dev/sda2        81344510   488396799   203526145    5  uitgebreid
/dev/sda5       471885824   488396799     8255488   82  Linux wisselgeheugen
/dev/sda6        81344512   471885823   195270656   83  Linux


Partitietabel-items liggen niet in schijfvolgorde.
paul@paul-ESPRIMO-P3521 ~ $

I changed the USB-stick from a front port to a back port, and executed both commands.

I also checked Drives, with exactly the same content.

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: USB-drive not seen in GParted and not able to format
« Reply #20 on: October 20, 2015, 05:43:15 pm »
Hi paulus, it's still indicating it's: sdb but not showing up in fdisk.  I'm getting the horrible feeling the USB stick is fried.  Let's first try and nuke it again with dd.  First, remove any other attached USB devices and run:
Code: [Select]
dmesg | tail -n 40
Check the drive is still sdbIf it isn't, sdb change it in the command below.  Now run:
Code: [Select]
sudo dd if=/dev/zero of=/dev/sdb bs=1M 
If this works, it will take a long time to complete.  If it looks like nothing is happening, just leave it to complete.  If it goes straight back to the prompt or if there is an error message.  This means it hasn't worked.  Post back the output - good luck  ;)!
« Last Edit: October 21, 2015, 07:01:27 am by AndyInMokum, Reason: command corrected »
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline paulus

  • Member
  • ***
  • Posts: 194
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: USB-drive not seen in GParted and not able to format
« Reply #21 on: October 21, 2015, 06:22:20 am »
Hi AndyInMokum,

Thank you!

The output of both commands:
Code: [Select]
paul@paul-ESPRIMO-P3521 ~ $ dmesg | tail -n 40
[   13.784160] sd 3:0:0:0: [sdc] Mode Sense: 43 00 00 00
[   13.785163] sd 3:0:0:0: [sdc] No Caching mode page found
[   13.785193] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[   13.789580] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[   13.790058]  sdc: sdc1 sdc2
[   13.792538] sd 3:0:0:0: [sdc] Attached SCSI removable disk
[   14.261296] r8169 0000:03:00.0 eth0: link down
[   14.261308] r8169 0000:03:00.0 eth0: link down
[   14.261328] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   15.269855] init: nvidia-prime main process (1030) terminated with status 127
[   15.888885] r8169 0000:03:00.0 eth0: link up
[   15.888894] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   15.971722] vboxdrv: module verification failed: signature and/or  required key missing - tainting kernel
[   15.974374] vboxdrv: Found 2 processor cores
[   15.976015] vboxdrv: fAsync=0 offMin=0x1ce offMax=0x11a9
[   16.076132] vboxdrv: TSC mode is Synchronous, tentative frequency 2933309177 Hz
[   16.076135] vboxdrv: Successfully loaded version 5.0.6 (interface 0x00240000)
[   16.279680] VBoxNetFlt: Successfully started.
[   16.286863] VBoxNetAdp: Successfully started.
[   16.288583] VBoxPciLinuxInit
[   16.290867] vboxpci: IOMMU not found (not registered)
[   17.050075] init: plymouth-upstart-bridge main process ended, respawning
[  165.119474] usb 1-5: USB disconnect, device number 5
[  204.656026] usb 1-5: new high-speed USB device number 6 using ehci-pci
[  205.267492] usb 1-5: New USB device found, idVendor=0000, idProduct=0000
[  205.267498] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  205.267501] usb 1-5: Product: Removable Drive
[  205.267504] usb 1-5: SerialNumber: 22355808090842020041
[  205.268605] usb-storage 1-5:1.0: USB Mass Storage device detected
[  205.268697] scsi4 : usb-storage 1-5:1.0
[  206.269377] scsi 4:0:0:0: Direct-Access                               0    PQ: 0 ANSI: 0 CCS
[  206.269721] sd 4:0:0:0: Attached scsi generic sg3 type 0
[  206.271744] sd 4:0:0:0: [sdc] 7831552 512-byte logical blocks: (4.00 GB/3.73 GiB)
[  206.273259] sd 4:0:0:0: [sdc] Write Protect is off
[  206.273267] sd 4:0:0:0: [sdc] Mode Sense: 43 00 00 00
[  206.274372] sd 4:0:0:0: [sdc] No Caching mode page found
[  206.274378] sd 4:0:0:0: [sdc] Assuming drive cache: write through
[  206.280156]  sdc: sdc1 sdc2
[  206.282866] sd 4:0:0:0: [sdc] Attached SCSI removable disk
[  236.121291] usb 1-5: USB disconnect, device number 6
paul@paul-ESPRIMO-P3521 ~ $ sudo dd if=/dev/zero /dev/sdb bs=1M
[sudo] password for paul:
dd: niet-herkend argument: ‘/dev/sdb’
Typ 'dd --help' voor meer informatie.
paul@paul-ESPRIMO-P3521 ~ $

So still no recognition. Is the only conclusion now that the disk is dead?
:o

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: USB-drive not seen in GParted and not able to format
« Reply #22 on: October 21, 2015, 07:00:32 am »
Hi paulus, for what it's worth, I made a mistake in the dd command with the output file - sorry about that  :-[.  The command should have read:
Code: [Select]
sudo dd if=/dev/zero of=/dev/sdb bs=1M
Try it again, I don't think it'll make any difference.  We need to verify it before we can call it a dead stick  ;).

Very Important: You also didn't notice that the drive location had changed from sdb to sdc.  Please be extremely careful that you get this correct.  Getting it wrong can cause catastrophic damage to your data.  The command in this case should have read:
Code: [Select]
sudo dd if=/dev/zero of=/dev/sdc bs=1M

Note:  Incorrect command in previous post has been corrected.
« Last Edit: October 21, 2015, 07:17:59 am by AndyInMokum »
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline paulus

  • Member
  • ***
  • Posts: 194
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: USB-drive not seen in GParted and not able to format
« Reply #23 on: October 21, 2015, 07:15:41 am »
Hi AndyInMokum,

I didn't see any difference in the command, but re-executed it anyway, but with the same result.

So now I have to give up on that USB-stick? :-\

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: USB-drive not seen in GParted and not able to format
« Reply #24 on: October 21, 2015, 07:52:39 am »
Yeah, I think that exhausts all possibilities.  Unless someone knows of another technique, I think your right in calling this a dead USB stick  :(
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline paulus

  • Member
  • ***
  • Posts: 194
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: USB-drive not seen in GParted and not able to format
« Reply #25 on: October 21, 2015, 08:06:46 am »
Yeah, I think that exhausts all possibilities.  Unless someone knows of another technique, I think your right in calling this a dead USB stick  :( .

Hi AndyInMokum,
Thank you for thinking along and trying to find a solution; much appreciated! :)
So I will leave this thread "open" and hereby invite anyone who has any idea to reflect on this subject and share his or her expertise! 8)

Kind regards,

paulus

Offline darknet

  • Jr. Member
  • **
  • Posts: 74
  • Karma: 20
  • /home/darknet
    • View Profile
  • Peppermint version(s): Peppermint 9 64-bit
Re: USB-drive not seen in GParted and not able to format
« Reply #26 on: October 21, 2015, 09:14:38 am »
Paulus, maybe have a look at this tutorial: http://www.unixmen.com/how-to-format-usb-drive-in-the-terminal/

Offline paulus

  • Member
  • ***
  • Posts: 194
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: USB-drive not seen in GParted and not able to format
« Reply #27 on: October 21, 2015, 02:36:21 pm »
Paulus, maybe have a look at this tutorial: http://www.unixmen.com/how-to-format-usb-drive-in-the-terminal/

Hi drum,

Thanks for helping!

I looked at the tutorial, but it didn't work. The problem is, that the USB-stick isn't recognized. Only in Disks it is seen, and there it is just the same as an empty cd-rom drive: an empty vessel without any contents. So it says: No Media, exactly the same output as for the cd-rom drive!

One could say: analogue to the cd-drive, that CAN be filled with media, also the - now empty - USB-stick could be filled with media. It should be no big deal, so it seems at least.
I am afraid the drive is gone, but I keep hope! :'(
One the other hand: since PCNetSpec does not interfere anymore - and he IS the specialist, I am convinced of that - I fear the worse. >:(

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: USB-drive not seen in GParted and not able to format
« Reply #28 on: October 21, 2015, 04:34:58 pm »
Hi paulus, I forgot to mention this great deal that I found.  The other week, I picked up a PNY-64GB USB-3 thumb drive for €20 at Dixons.  They always have some kind of deal going on.  It' s worth keeping an eye on them.  There's a Dixons on Kruisweg in Hoofddorp  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline paulus

  • Member
  • ***
  • Posts: 194
  • Karma: 4
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10
Re: USB-drive not seen in GParted and not able to format
« Reply #29 on: October 21, 2015, 05:07:22 pm »
Hi paulus, I forgot to mention this great deal that I found.  The other week, I picked up a PNY-64GB USB-3 thumb drive for €20 at Dixons.  They always have some kind of deal going on.  It' s worth keeping an eye on them.  There's a Dixons on Kruisweg in Hoofddorp  ;) .

AndyInMokum,

Great that you let me know of this deal! 8)

Unfortunately the shop in Hoofddorp at the Kruisweg has ended. But I could go to Amstelveen, according to their site.

Again: thanks, but hopefully there is someone to make the stick revive again?! :-\