Results 1 to 5 of 5

Thread: Force format Micro SD?

  1. #1
    Join Date
    2014-Oct
    Posts
    24

    Force format Micro SD?

    Somehow I corrupted my 16gb Is there a way to force the format? Gparted just keeps scanning..... It wont mount. In windows DISKPART wont work. Is there a fix or am I screwed?
    #1 Rule: ALWAYS check SH1!

  2. #2
    Join Date
    2014-Oct
    Posts
    24
    dmesg data

    Code:
    [ 2859.584154] Sense Key : Not Ready [current] 
    [ 2859.584156] Info fld=0x0
    [ 2859.584157] sd 9:0:0:0: [sde]  
    [ 2859.584159] Add. Sense: Medium not present
    [ 2859.584160] sd 9:0:0:0: [sde] CDB: 
    [ 2859.584161] Read(10): 28 00 00 00 20 78 00 00 08 00
    [ 2859.584165] end_request: I/O error, dev sde, sector 8312
    [ 2859.585772] sd 9:0:0:0: [sde] Device not ready
    [ 2859.585775] sd 9:0:0:0: [sde]  
    [ 2859.585776] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [ 2859.585778] sd 9:0:0:0: [sde]  
    [ 2859.585778] Sense Key : Not Ready [current] 
    [ 2859.585780] Info fld=0x0
    [ 2859.585781] sd 9:0:0:0: [sde]  
    [ 2859.585783] Add. Sense: Medium not present
    [ 2859.585784] sd 9:0:0:0: [sde] CDB: 
    [ 2859.585785] Read(10): 28 00 00 00 20 10 00 00 08 00
    [ 2859.585788] end_request: I/O error, dev sde, sector 8208
    [ 2859.585791] Buffer I/O error on device sde1, logical block 2
    [ 2859.586476] sd 9:0:0:0: [sde] Test WP failed, assume Write Enabled
    [ 2859.587224] sd 9:0:0:0: [sde] Asking for cache data failed
    [ 2859.587227] sd 9:0:0:0: [sde] Assuming drive cache: write through
    [ 2859.590096] sde: detected capacity change from 15920529408 to 0
    #1 Rule: ALWAYS check SH1!

  3. #3
    you could try writing zeros across the entire sdcard with dd in kali: dd if=/dev/zero of=/dev/sdX. make sure your sd card is really sde first. if its physically damaged, you will probably have to circular file it.

  4. #4
    Join Date
    2014-Oct
    Posts
    24
    Code:
    root@kali:~# dd if=/dev/zero of=/dev/sde
    dd: writing to `/dev/sde': Input/output error
    17+0 records in
    16+0 records out
    8192 bytes (8.2 kB) copied, 8.77837 s, 0.9 kB/s
    root@kali:~# dd if=/dev/zero of=/dev/sde
    dd: writing to `/dev/sde': Input/output error
    9+0 records in
    8+0 records out
    4096 bytes (4.1 kB) copied, 9.35877 s, 0.4 kB/s
    Code:
    [11452.546075] <<vendor>> ASC=0xff ASCQ=0xffASC=0xff <<vendor>> ASCQ=0xff
    [11452.546077] sd 9:0:0:0: [sde] CDB: 
    [11452.546078] Read(10): 28 00 00 00 20 78 00 00 08 00
    [11452.546082] end_request: I/O error, dev sde, sector 8312
    [11452.546084] quiet_error: 22 callbacks suppressed
    [11452.546085] Buffer I/O error on device sde1, logical block 15
    [11457.232112] sd 9:0:0:0: [sde] Device not ready
    [11457.232115] sd 9:0:0:0: [sde]  
    [11457.232117] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    [11457.232118] sd 9:0:0:0: [sde]  
    [11457.232119] Sense Key : Not Ready [current] 
    [11457.232121] Info fld=0x0
    [11457.232122] sd 9:0:0:0: [sde]  
    [11457.232124] <<vendor>> ASC=0xff ASCQ=0xffASC=0xff <<vendor>> ASCQ=0xff
    [11457.232126] sd 9:0:0:0: [sde] CDB: 
    [11457.232127] Read(10): 28 00 00 00 20 18 00 00 08 00
    [11457.232131] end_request: I/O error, dev sde, sector 8216
    [11457.818638] sd 9:0:0:0: [sde] Test WP failed, assume Write Enabled
    [11457.820553] sd 9:0:0:0: [sde] No Caching mode page found
    [11457.820556] sd 9:0:0:0: [sde] Assuming drive cache: write through


    I'm gonna guess it's screwed.
    #1 Rule: ALWAYS check SH1!

  5. Give this a shot:
    fdisk /dev/sde

    Brings you to a the fdisk prompt. D for delete partition. N for new partition, just hit enter to accept the defaults. T to tell what kind of filesystem. Safe to go with fat32, should be code C. Can check with L.

    Finish with the W command to write the new partition.

    Pop it into your windows box and see what happens. Might ask you to format it.

    -- Charonsecurity
    Fact, Science and the Pursuit of Knowledge. Working to secure your networks from threats; Outside and Within.

Similar Threads

  1. USB and Micro SD both rendered to 700KB total disk size?
    By generalDisarray in forum Installing Archive
    Replies: 0
    Last Post: 2021-09-11, 00:11
  2. installing Kali image on micro sim changes capacity reported
    By Foghorn in forum Installing Archive
    Replies: 2
    Last Post: 2014-11-09, 01:54

Posting Permissions

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