Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Detect USB Stick?

  1. #1
    Join Date
    Apr 2007
    Beans
    49

    Detect USB Stick?

    I'm running Ubuntu 8.10 with all recent updates. I just bought a new USB stick, plugged it in and it worked perfectly, I even copied some files on it.
    Than I plugged it in under Windows, it didnt seem to recognize it. Now when I want to use it under Ubuntu, it does not recognize it any more???

    Here is my lsusb:
    Bus 005 Device 004: ID 058f:1234 Alcor Micro Corp.
    Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 002: ID 057c:3d00 AVM GmbH Fritz!Box
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 004: ID 046d:c025 Logitech, Inc. MX500 Optical Mouse
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


    And dmesg:
    [ 219.624064] usb 5-1: new high speed USB device using ehci_hcd and address 4
    [ 219.870726] usb 5-1: configuration #1 chosen from 1 choice
    [ 220.582836] usbcore: registered new interface driver libusual
    [ 220.653130] Initializing USB Mass Storage driver...
    [ 220.656766] scsi2 : SCSI emulation for USB Mass Storage devices
    [ 220.657570] usbcore: registered new interface driver usb-storage
    [ 220.657578] USB Mass Storage support registered.
    [ 220.660104] usb-storage: device found at 4
    [ 220.660115] usb-storage: waiting for device to settle before scanning
    [ 225.656428] usb-storage: device scan complete
    [ 225.657177] scsi 2:0:0:0: Direct-Access Generic USB Flash Disk 7.76 PQ: 0 ANSI: 2
    [ 225.661492] sd 2:0:0:0: [sdb] Attached SCSI removable disk
    [ 225.662175] sd 2:0:0:0: Attached scsi generic sg2 type 0

  2. #2
    Join Date
    Oct 2008
    Beans
    475

    Re: Detect USB Stick?

    Hi there, I ran into this same problem when I used Ubuntu. Plug in your flash drive. Type sudo /sbin/fdisk -l in a terminal and post the output. That way, I can help you access your flash drive.

    Good Luck!

    PS: That's a lowercase "l", not a one (1)...

  3. #3
    Join Date
    Apr 2007
    Beans
    49

    Re: Detect USB Stick?

    Hi,
    My system language isnt english, but I hope you can get the necessary information nevertheless:

    Platte /dev/sda: 80.0 GByte, 80026361856 Byte
    255 Köpfe, 63 Sektoren/Spuren, 9729 Zylinder
    Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
    Disk identifier: 0xba7ea4f6

    Gerät boot. Anfang Ende Blöcke Id System
    /dev/sda1 1 152 1220908+ 82 Linux Swap / Solaris
    /dev/sda2 * 510 5087 36772785 7 HPFS/NTFS
    /dev/sda3 5088 6607 12209400 83 Linux
    /dev/sda4 6608 9729 25077465 83 Linux


    My Ubuntu is split into a Boot and a Home Partition + Swap. I also have a Windows system on another partition.

  4. #4
    Join Date
    Nov 2006
    Location
    Buckeye country
    Beans
    1,079
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Detect USB Stick?

    did you unplug it without unmounting it first? if so, that causes corruption of the filesystem and you might want to re-format it as fat16 or fat32.

  5. #5
    Join Date
    Oct 2008
    Beans
    475

    Re: Detect USB Stick?

    I'm guessing that your usb drive is /dev/sdb1. Try this:

    1. Open up a terminal.

    2. Type sudo mkdir /media/flash

    3. Type mount /dev/sdb1 /media/flash
    4. Browse to /media/flash and you should see the contents of you flash drive in that directory. Good Luck!

  6. #6
    Join Date
    Apr 2007
    Beans
    49

    Re: Detect USB Stick?

    I opened gparted and realized, that none of sda1,2,3,4 can be my USB stick.

    What now? It is possible that I removed it in Windows without unmounting it. But how can I reformat it, if it doesnt get recognized?

  7. #7
    Join Date
    May 2008
    Location
    Irvine, CA
    Beans
    189
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Detect USB Stick?

    plug in the flash drive then run sudo fdisk -l

    within there you should see something like /dev/sdb1 and if so then you take note of the name.. then using fdisk you can format the drive.

    after which, you can then mount the flash drive.

  8. #8
    Join Date
    Apr 2007
    Beans
    49

    Re: Detect USB Stick?

    sudo fdisk -l only gives me:
    /dev/sda1 1 152 1220908+ 82 Linux Swap / Solaris
    /dev/sda2 * 510 5087 36772785 7 HPFS/NTFS
    /dev/sda3 5088 6607 12209400 83 Linux
    /dev/sda4 6608 9729 25077465 83 Linux

    None of which is my flash drive.
    Does this mean it doesnt work anymore?

  9. #9
    Join Date
    May 2008
    Location
    Irvine, CA
    Beans
    189
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Detect USB Stick?

    restart and see if your computer auto detects it .. also repost your /var/log/messages and then fdisk -l after the reboot.

  10. #10
    Join Date
    Oct 2008
    Beans
    475

    Re: Detect USB Stick?

    Okay. If you remove the Flash Drive without unmounting it in Windows, it won't work in Ubuntu. Plug in the flash drive in Windows, unmount it cleanly, and then try to mount it in Ubuntu. It's happened to me before.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •