我有一个带有 FAT32 文件系统的 pendrive。它感染了病毒不知道是哪个但有 autorun.inf 并在文件夹中创建 exe 文件。我尝试使用各种文件系统对其进行格式化,甚至尝试使用 GParted 将其删除但不能,因为它说它是写保护的,我什至无法删除文件。如何格式化?
user@explorerx:~$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xbd04bd04
Device Boot Start End Blocks Id System
/dev/sda1 * 1 498 3998720 82 Linux swap / Solaris
Partition 1 does not end on cylinder boundary.
/dev/sda2 499 19457 152287585+ f W95 Ext'd (LBA)
/dev/sda5 5100 10198 40957686 7 HPFS/NTFS
/dev/sda6 10199 14787 36861111 7 HPFS/NTFS
/dev/sda7 14788 19457 37511743+ 7 HPFS/NTFS
/dev/sda8 499 5099 36956160 83 Linux
Partition table entries are not in disk order
Disk /dev/sdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc13bc13b
Device Boot Start End Blocks Id System
/dev/sdc1 1 9729 78143488 7 HPFS/NTFS
/dev/sdc2 9729 19457 78143488 7 HPFS/NTFS
Disk /dev/sdb: 4194 MB, 4194304000 bytes
112 heads, 47 sectors/track, 1556 cylinders
Units = cylinders of 5264 * 512 = 2695168 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 2 1557 4091904 b W95 FAT32
karthick87 的更新
user@explorerx:~$ sudo fdisk /dev/sdb
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
Command (m for help): d
Selected partition 1
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)
E
如果出现任何故障,您可能需要运行Transcend的专有恢复工具,以对您的随身碟进行低级重新格式化。
不幸的是,此工具需要Windows,此外您还需要您的产品序列号 (S/N)(在我的情况下,这仅印在产品的吸塑上)。如果您丢失了 S/N,您需要联系 Transcend。
你试过了吗:
不应安装 dev
应该很简单。确保驱动器已卸载,然后删除当前分区,之后您需要创建一个新分区。我找到了一个关于如何做到这一点的非常好的教程。为我工作。如何在 Ubuntu 中重新格式化和分区磁盘