Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Unhappy Messed up usb key

    Hi all,

    it seems I screwed up my usb key while trying to make it bootable. I think i copied a .img file to /dev/sdb instead of /dev/sdb1 and now I cannot access or format the key.
    When I plug it in I get

    [  129.088311] usb 2-3: new high speed USB device using ehci_hcd and address 3
    [  129.221235] usb 2-3: configuration #1 chosen from 1 choice
    [  129.324495] Initializing USB Mass Storage driver...
    [  129.325056] scsi6 : SCSI emulation for USB Mass Storage devices
    [  129.325448] usbcore: registered new interface driver usb-storage
    [  129.325452] USB Mass Storage support registered.
    [  129.325454] usb-storage: device found at 3
    [  129.325456] usb-storage: waiting for device to settle before scanning
    [  134.325717] usb-storage: device scan complete
    [  134.326425] scsi 6:0:0:0: Direct-Access     USBest   USB2FlashStorage 0.00 PQ: 0 ANSI: 2
    [  134.327266] sd 6:0:0:0: Attached scsi generic sg2 type 0
    [  134.328820] sd 6:0:0:0: [sdb] Attached SCSI removable disk
    The disk used to be recognized as "Ut165 USB2FlashStorage" and now it's "USBest USB2FlashStorage"

    Here's also what i get :

    [root]$ fdisk /dev/sdb
    Unable to open /dev/sdb
    [root]$ sfdisk /dev/sdb
    /dev/sdb: No medium found
    sfdisk: cannot open /dev/sdb read-write
    Please help!

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    The Netherlands
    umm, I am not 100% sure so use this as a last recoil... NULL your device.. everything will be done..

    dd if=/dev/null of=/dev/sdb

    Hope you find a better solution.. and otherwise that I have been usefull
    New Users, please read this..
    Google first, then ask..

Posting Permissions

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