Sandisk Cruzer Blade 未被检测到并且无法格式化

Sandisk Cruzer Blade 未被检测到并且无法格式化

我的 sandisk cruzer blade 没有写保护,并且未安装在 ubuntu 中。我甚至无法使用 ubuntu 中的磁盘实用程序对其进行格式化。dmesg | tail info:

rishi@rishi:~$ dmesg | tail
[192006.789212] sd 23:0:0:0: [sdb] Write Protect is off
[192006.789217] sd 23:0:0:0: [sdb] Mode Sense: 03 00 00 00
[192006.789409] sd 23:0:0:0: [sdb] No Caching mode page found
[192006.789413] sd 23:0:0:0: [sdb] Assuming drive cache: write through
[192006.791486] sd 23:0:0:0: [sdb] No Caching mode page found
[192006.791490] sd 23:0:0:0: [sdb] Assuming drive cache: write through
[192006.798617]  sdb: sdb1
[192006.799996] sd 23:0:0:0: [sdb] No Caching mode page found
[192006.799999] sd 23:0:0:0: [sdb] Assuming drive cache: write through
[192006.800001] sd 23:0:0:0: [sdb] Attached SCSI removable disk

sudo fdisk-l 信息:

rishi@rishi:~$ sudo fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x7fa47cdf

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048    97656831    48827392   83  Linux
/dev/sda2        97658878   625141759   263741441    5  Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5        97658880   488476671   195408896   83  Linux
/dev/sda6       504299520   625141759    60421120   83  Linux
/dev/sda7       488478720   504295423     7908352   82  Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/sdb: 4004 MB, 4004511744 bytes
255 heads, 63 sectors/track, 486 cylinders, total 7821312 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1decc276

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          63     7821311     3910624+   b  W95 FAT32

fsck -n /dev/sdb 信息:

rishi@rishi:~$ sudo fsck -n /dev/sd
sda   sda1  sda2  sda5  sda6  sda7  sdb   sdb1  
rishi-2899@rishi-2899:~$ sudo fsck -n /dev/sdb
fsck from util-linux 2.20.1
e2fsck 1.42.9 (4-Feb-2014)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sdb

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
 or
    e2fsck -b 32768 <device>

当我尝试使用磁盘实用程序进行格式化时,它以错误消息结束。错误消息如下。

Error setting partition type after formatting: Error setting partition flags on /dev/sdb1: Command-line `sfdisk --change-id "/dev/sdb" 1 0x0c' exited with non-zero exit status 1: /dev/sdb: No such file or directory

sfdisk: cannot open /dev/sdb read-write
 (udisks-error-quark, 0)

谁能帮我。

--编辑-- lsusb 输出:

rishi@rishi:~$ lsusb
Bus 001 Device 003: ID 0a5c:5801 Broadcom Corp. BCM5880 Secure Applications Processor with fingerprint swipe sensor
Bus 001 Device 002: ID 8087:8000 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 045: ID 04ca:0061 Lite-On Technology Corp. 
Bus 002 Device 003: ID 0c45:64d2 Microdia 
Bus 002 Device 057: ID 0781:556b SanDisk Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

答案1

我的闪存驱动器也遇到了一些严重的问题,

我最终利用了:

dd if=/dev/zero of=/dev/sdX bs=4096 status=progress

其中 X 是您的驱动器。这是针对在尝试损坏的 ubuntu 磁盘创建器后在 usb 上遇到的块大小问题。

然后使用 fdisk 将其清除。

sudo fdisk /dev/sdX

最后我用

mkfs.vfat /dev/sdX

我确信这些并不是全部必要的,但对我来说它们很有用。

相关内容