我的USB是带有USB 2.0的Sandisk Cruzer 8 GB驱动器。它说,当我尝试格式化它时,它已被写保护。
有办法强制格式化吗?
我尝试了这种方式:
varun@varun-pc ~ $ sudo fdisk -l
[sudo] password for varun:
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: 0x616d49a5
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 718847 358400 7 HPFS/NTFS/exFAT
/dev/sda2 718848 204799999 102040576 7 HPFS/NTFS/exFAT
/dev/sda3 204800000 567169023 181184512 7 HPFS/NTFS/exFAT
/dev/sda4 567174886 976768064 204796589+ f W95 Ext'd (LBA)
Partition 4 does not start on physical sector boundary.
/dev/sda5 567174888 575753534 4289323+ 82 Linux swap / Solaris
/dev/sda6 630197883 976768064 173285091 7 HPFS/NTFS/exFAT
Partition 6 does not start on physical sector boundary.
/dev/sda7 575754240 630196223 27220992 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 8004 MB, 8004304896 bytes
19 heads, 5 sectors/track, 164562 cylinders, total 15633408 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: 0x000570f2
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 15632383 7815168 7 HPFS/NTFS/exFAT
varun@varun-pc ~ $ umount /dev/adb1
umount: /dev/adb1 is not mounted (according to mtab)
varun@varun-pc ~ $ sudo fsck.vfat -f -p /dev/sdb1
dosfsck 3.0.13, 30 Jun 2012, FAT32, LFN
Currently, only 1 or 2 FATs are supported, not 0.
varun@varun-pc ~ $ sudo fsck.vfat -f -v /dev/sdb1
dosfsck 3.0.13 (30 Jun 2012)
dosfsck 3.0.13, 30 Jun 2012, FAT32, LFN
Currently, only 1 or 2 FATs are supported, not 0.
1
有时,这表明USB闪存驱动器即将耗尽。我什么都不重要。
—
Marc