恢复部分格式化的 USB 拇指驱动器

Mar*_*lin 17 formatting diskpart usb-flash-drive partition-recovery

我有一个 USB 拇指驱动器,我打算用它来安装 Windows 7。使用Windows 7 USB/DVD 下载工具格式化驱动器时,它未能使我的 USB 驱动器处于无法使用的状态。

我可以看到带有 Windows 磁盘管理器的驱动器,但它显示它有一个 RAW 文件系统,任何时候我尝试重新格式化它第二次,它只是说它找不到文件或分区。使用 DiskPart 我也不太走运,因为尝试使用该FORMAT命令会导致错误。这些是我正在使用的命令及其输出。

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>diskpart

Microsoft DiskPart version 6.1.7601
Copyright (C) 1999-2008 Microsoft Corporation.
On computer: DYGEAR-PC

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online           14 GB      0 B
  Disk 1    Online           74 GB      0 B
  Disk 2    Online          698 GB      0 B   *
  Disk 3    Online           15 GB      0 B

DISKPART> select disk 3

Disk 3 is now the selected disk.

DISKPART> detail disk

Corsair Voyager Mini USB Device
Disk ID: 00000000
Type   : USB
Status : Online
Path   : 0
Target : 0
LUN ID : 0
Location Path : UNAVAILABLE
Current Read-only State : No
Read-only  : No
Boot Disk  : No
Pagefile Disk  : No
Hibernation File Disk  : No
Crashdump Disk  : No
Clustered Disk  : No

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 4                             Removable     15 GB  Healthy

DISKPART> select volume 4

Volume 4 is the selected volume.

DISKPART> FORMAT RECOMMENDED OVERRIDE

DiskPart has encountered an error: The system cannot find the file specified.
See the System Event Log for more information.

DISKPART> FORMAT FS=NTFS LABEL="Windows7" QUICK COMPRESS

DiskPart has encountered an error: The system cannot find the file specified.
See the System Event Log for more information.

DISKPART>

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online           14 GB      0 B
  Disk 1    Online           74 GB      0 B
  Disk 2    Online          698 GB      0 B   *
  Disk 3    Online           15 GB      0 B

DISKPART> select disk 3

Disk 3 is now the selected disk.

DISKPART> clean all

DiskPart has encountered an error: Incorrect function.
See the System Event Log for more information.

DISKPART> list partition

There are no partitions on this disk to show.

DISKPART> online disk

Virtual Disk Service error:
This disk is already online.

DISKPART> attributes disk clear readonly

Disk attributes cleared successfully.

DISKPART> clean

DiskPart has encountered an error: Incorrect function.
See the System Event Log for more information.

DISKPART> convert mbr

DiskPart successfully converted the selected disk to MBR format.

DISKPART> create partition primary

DiskPart succeeded in creating the specified partition.

DISKPART> select part 1

Partition 1 is now the selected partition.

DISKPART> active

DiskPart marked the current partition as active.

DISKPART> format fs=NTFS label=USB quick

DiskPart has encountered an error: The system cannot find the file specified.
See the System Event Log for more information.

DISKPART> format quick

DiskPart has encountered an error: The system cannot find the file specified.
See the System Event Log for more information.

DISKPART> assign letter F

DiskPart has encountered an error: The system cannot find the file specified.
See the System Event Log for more information.

DISKPART> list volume

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     V   Video        NTFS   Simple       698 GB  Healthy
  Volume 1     D   SSD          NTFS   Partition     14 GB  Healthy
  Volume 2         System Rese  NTFS   Partition    100 MB  Healthy    System
  Volume 3     C                NTFS   Partition     74 GB  Healthy    Boot
* Volume 4                             Removable     15 GB  Healthy

DISKPART>
Run Code Online (Sandbox Code Playgroud)

Mar*_*lin 35

要尝试将 USB 驱动器恢复到可用状态,您应该尝试这些命令。

首先应该注意的是,您应该在您有权访问的计算机上安装 Windows 7,以便您可以使用该diskpart命令。您还需要在这台计算机上拥有管理员访问权限。

  1. 单击开始球。
  2. 输入cmd到搜索框中。
  3. Shift + 右键单击​​ CMD 图标。
  4. 单击Run as Administrator

从这里,我们将输入diskpart并运行以下命令。

C:\Windows\system32>diskpart

Microsoft DiskPart version 6.1.7601
Copyright (C) 1999-2008 Microsoft Corporation.
On computer: DYGEAR-PC

DISKPART>
Run Code Online (Sandbox Code Playgroud)

从这里我们将键入list disk以查找连接到计算机的当前驱动器。

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online           14 GB      0 B
  Disk 1    Online           74 GB      0 B
  Disk 2    Online          698 GB      0 B   *
  Disk 3    Online           15 GB      0 B
Run Code Online (Sandbox Code Playgroud)

15GB 驱动器是我们正在寻找的驱动器,因为它是我们的 USB 拇指驱动器的大小。因此,要选择该驱动器,我们运行命令select disk 3.

DISKPART> select disk 3

Disk 3 is now the selected disk.
Run Code Online (Sandbox Code Playgroud)

如果您不确定这是否是您的驱动器,您可以detail disk在选择磁盘后运行该命令来请求有关该驱动器的详细信息。

DISKPART> detail disk

Corsair Voyager Mini USB Device
Disk ID: 00000000
Type   : USB
Status : Online
Path   : 0
Target : 0
LUN ID : 0
Location Path : UNAVAILABLE
Current Read-only State : No
Read-only  : No
Boot Disk  : No
Pagefile Disk  : No
Hibernation File Disk  : No
Crashdump Disk  : No
Clustered Disk  : No

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 4                             Removable     15 GB  Healthy
Run Code Online (Sandbox Code Playgroud)

在我们有正确的驱动器后,我们可以选择驱动器上的任何分区select volume,然后选择卷号,就像在我们的例子中一样select volume 4

DISKPART> select volume 4

Volume 4 is the selected volume.
Run Code Online (Sandbox Code Playgroud)

从这里开始,我们将尝试将驱动器恢复到可用状态。我们将首先尝试重新格式化驱动器。FORMAT RECOMMENDED OVERRIDE是将驱动器格式化回正常状态的最安全方法。

DISKPART> FORMAT RECOMMENDED OVERRIDE

DiskPart has encountered an error: The system cannot find the file specified.
See the System Event Log for more information.
Run Code Online (Sandbox Code Playgroud)

如果这不起作用,如上所示,我们可以尝试运行一个格式化命令,告诉它如何在我们使用的情况下格式化驱动器FORMAT FS=NTFS LABEL="Windows7" QUICK COMPRESS

DISKPART> FORMAT FS=NTFS LABEL="Windows7" QUICK COMPRESS

DiskPart has encountered an error: The system cannot find the file specified.
See the System Event Log for more information.
Run Code Online (Sandbox Code Playgroud)

在我们的例子中,这仍然不起作用。所以我们尝试使用命令清理整个驱动器CLEAN ALL

DISKPART> clean all

DiskPart has encountered an error: Incorrect function.
See the System Event Log for more information.
Run Code Online (Sandbox Code Playgroud)

如果此时我们仍然遇到驱动器问题。让我们再次尝试列出分区,看看是否对驱动器进行了任何更改LIST PARTITION

DISKPART> list partition

There are no partitions on this disk to show.
Run Code Online (Sandbox Code Playgroud)

由于发生了变化,让我们看看我们是否可以通过ONLINE DISK.

DISKPART> online disk

Virtual Disk Service error:
This disk is already online.
Run Code Online (Sandbox Code Playgroud)

由于驱动程序在线,我们现在可以尝试清除可能妨碍我们的任何属性,例如只读属性。我们跑ATTRIBUTES DISK CLEAR READONLY

DISKPART> attributes disk clear readonly

Disk attributes cleared successfully.
Run Code Online (Sandbox Code Playgroud)

让我们看看我们是否可以将引导记录放在那里CONVERT MBR

DISKPART> convert mbr

DiskPart successfully converted the selected disk to MBR format.

DISKPART> create partition primary

DiskPart succeeded in creating the specified partition.

DISKPART> select part 1

Partition 1 is now the selected partition.

DISKPART> active

DiskPart marked the current partition as active.

DISKPART> format fs=NTFS label=USB quick

DiskPart has encountered an error: The system cannot find the file specified.
See the System Event Log for more information.

DISKPART> format quick

DiskPart has encountered an error: The system cannot find the file specified.
See the System Event Log for more information.

DISKPART> assign letter F

DiskPart has encountered an error: The system cannot find the file specified.
See the System Event Log for more information.

DISKPART> list volume

  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     V   Video        NTFS   Simple       698 GB  Healthy
  Volume 1     D   SSD          NTFS   Partition     14 GB  Healthy
  Volume 2         System Rese  NTFS   Partition    100 MB  Healthy    System
  Volume 3     C                NTFS   Partition     74 GB  Healthy    Boot
* Volume 4                             Removable     15 GB  Healthy
Run Code Online (Sandbox Code Playgroud)

如前所述,所有这些命令从那时起都失败了。所以我们应该尝试最后一件事让驱动器再次工作。在这种情况下,您应该做的是卸载优盘的驱动程序,然后重新启动计算机后重新安装驱动程序。


查看来自SD-CARD Organization的 Format 实用程序。

或者您可以在使用Lexar 的 USB Flip the Removable Media Bit Tool后尝试使用Windows 98 启动盘

  • 我并没有完全遵循这个(我认为每个人的情况都有点不同)但是那里有足够的命令最终让我的工作。谢谢! (3认同)
  • 谢谢你的步骤。如果它们都不起作用,我还有一个额外的步骤你应该尝试......在你使用“convert mbr”之后使用“convert gpt”然后重试所有步骤。我认为我的 USB 没有设置为任何模式并在 mbr 解决问题后转换回 gpt。希望这对某人有所帮助:) (3认同)
  • 我的笔式驱动器突然甚至没有出现在任何地方,从 mac 的磁盘工具到 windows(没有尝试过 linux)......一路上的某些东西实际上复活了它!我不知道是哪一个,因为它只有在我弹出它并在其他地方尝试后才有效。所以,谢谢马克! (2认同)