2011-09-21 06:36:57 +0000 2011-09-21 06:36:57 +0000
17
17
Advertisement

Odzyskiwanie częściowo sformatowanego dysku USB

Advertisement

Mam dysk USB, który miałem zamiar użyć do zainstalowania Windows 7. Podczas formatowania dysku za pomocą Windows 7 USB/DVD download tool nie udało się, pozostawiając mój dysk USB w stanie bezużytecznym.

Mogę zobaczyć dysk za pomocą Menedżera Dysków Windows, ale pokazuje on, że ma system plików RAW, a za każdym razem, gdy próbuję sformatować go po raz drugi, po prostu mówi, że nie może znaleźć pliku lub partycji. Używając DiskPart również nie miałem zbyt wiele szczęścia, ponieważ próba użycia polecenia FORMAT kończy się błędem. Oto komendy, których używam i ich wyniki.

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>
Advertisement
Advertisement

Odpowiedzi (5)

34
34
34
2011-10-03 07:38:45 +0000

Aby spróbować odzyskać dysk USB z powrotem do stanu używalności, należy spróbować następujących poleceń.

Po pierwsze należy zauważyć, że powinieneś mieć zainstalowany system Windows 7 na komputerze, do którego masz dostęp, abyś mógł użyć polecenia diskpart. Musisz mieć również dostęp do administratora na tym komputerze.

  1. Kliknij na Start Orb.
  2. W polu wyszukiwania wpisz cmd.
  3. Shift + prawy przycisk myszy na ikonie CMD.
  4. Kliknij na Run as Administrator.

Z tego miejsca wpiszemy diskpart i uruchomimy następujące komendy.

C:\Windows\system32>diskpart

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

DISKPART>

Z tego miejsca wpiszemy list disk, aby znaleźć aktualnie podłączone do komputera napędy.

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

Szukamy dysku o pojemności 15GB, ponieważ taki rozmiar ma nasz pendrive. Aby więc wybrać ten dysk, uruchamiamy komendę select disk 3.

DISKPART> select disk 3

Disk 3 is now the selected disk.

Jeśli nie jesteś pewien, czy to jest twój dysk, możesz poprosić o szczegóły na jego temat, uruchamiając polecenie detail disk po wybraniu dysku.

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

Po tym jak mamy poprawny dysk, możemy wybrać dowolną partycję na wybranym dysku wykonując komendę select volume a następnie numer woluminu jak w naszym przypadku select volume 4.

DISKPART> select volume 4

Volume 4 is the selected volume.

Od tego momentu będziemy próbowali przywrócić dysk do stanu używalności. W pierwszej kolejności spróbujemy sformatować dysk. FORMAT RECOMMENDED OVERRIDE jest najbezpieczniejszym sposobem na sformatowanie dysku z powrotem do normalnego stanu.

DISKPART> FORMAT RECOMMENDED OVERRIDE

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

Jeśli to nie zadziała, jak pokazano powyżej, możemy spróbować uruchomić komendę format, która mówi, jak sformatować dysk w naszym przypadku używamy 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.

W naszym przypadku to nadal nie działa. Próbujemy więc wyczyścić cały dysk komendą CLEAN ALL.

DISKPART> clean all

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

Jeśli w tym momencie nadal mamy problemy z dyskiem. Spróbujmy jeszcze raz wylistować partycje, sprawdźmy czy na dysku nie zaszły jakieś zmiany poleceniem LIST PARTITION.

DISKPART> list partition

There are no partitions on this disk to show.

Ponieważ nastąpiła zmiana, sprawdźmy czy uda nam się uruchomić dysk za pomocą ONLINE DISK.

DISKPART> online disk

Virtual Disk Service error:
This disk is already online.

Ponieważ sterownik jest online możemy teraz spróbować wyczyścić wszelkie atrybuty, które mogą nam przeszkadzać, takie jak atrybut read only. Uruchamiamy ATTRIBUTES DISK CLEAR READONLY.

DISKPART> attributes disk clear readonly

Disk attributes cleared successfully.

Zobaczmy czy uda nam się umieścić tam płytę startową za pomocą 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

Jak widać wszystkie te komendy od tego momentu zawiodły. Powinniśmy więc spróbować jeszcze jednej rzeczy, aby przywrócić działanie dysku. W tym przypadku należy odinstalować sterowniki do napędu USB, a następnie zainstalować je ponownie po ponownym uruchomieniu komputera.


Zajrzyj do narzędzia Format z SD-CARD Organization .

Możesz też spróbować użyć Windows 98 Boot Disk po użyciu Lexar’s USB Flip the Removable Media Bit Tool .

3
3
3
2012-08-03 08:54:30 +0000

Użyj programu HP Drive Key Boot Utility lub HP USB Disk Storage Format Tool 2.2.3 , wersja z wiersza poleceń lub GUI.

2
Advertisement
2
2
2015-10-24 17:29:37 +0000
Advertisement

Post Marka Tomlina nie pomógł mi, zrobił to fdisk z linuxa.

fdisk /dev/sdX

To da ci znak zachęty do uruchomienia fdiska:

Command (m for help):

Jest to intuicyjne i możesz użyć następujących opcji:

c (to activate DOS-mode, although it may not be necessary)
n (to create a new partition, fdisk will suggest sane values like partititon number and size - for a thumb-drive you'll most like want a full-disk partition, so you'll mostly press <enter> here)
t (choose c for a FAT 32 (LBA) partition type)
a (optional, to flag the pen-drive as bootable)
w (to write changes to disk and exit)

I gotowe. Oczywiście, ta procedura zniszczy wszystkie dane na twoim dysku, ale oryginalne pytanie dotyczy przywrócenia “martwego” dysku do stanu używalności, a nie odzyskania jego zawartości. (skomentowałbym odpowiedź Jamesa T, ale najwyraźniej potrzebuję więcej punktów za niż do napisania odpowiedzi)

2
2
2
2016-04-23 07:45:29 +0000

Miałem podobną sytuację. USB również wydawało się pokazywać zarówno jako F: jak i G:. Próbowałem wielu z powyższych rozwiązań, ale prosty restart systemu zadziałał w moim przypadku. Mogłem wtedy uruchomić następujące komendy w diskpart, aby sformatować dysk ( zrobić to usunie wszystkie dane na dysku ):

list disk
select disk X
clean
convert mbr
create partition primary
format fs=fat32 QUICK
exit

Pewnie zastąp X numerem twojego USB. Numer ten można uzyskać używając pierwszej komendy, która wyświetla wszystkie dyski podłączone do systemu. Z tej listy, możesz określić, który z wyświetlonych dysków jest twoim USB i skopiować numer do zestawu poleceń powyżej w pozycji X. **Upewnij się, że wybrałeś właściwy dysk, w przeciwnym razie możesz przypadkowo wymazać zawartość innego dysku, np. dysku twardego.

0
Advertisement
0
0
2011-09-28 05:18:21 +0000
Advertisement

Możesz spróbować odzyskać starą partycję za pomocą testdisk . To może przywrócić cię do punktu, w którym dysk usb jest znowu użyteczny.

Możesz spróbować sformatować ją używając gparted z live cd.

Naprawiłem podobny problem używając qtparted . Z jakiegoś powodu żaden inny menedżer partycji nie był w stanie tego naprawić w tym czasie. Prawdopodobnie byłoby nieco trudno znaleźć live cd, który ma qtparted… Wydaje mi się, że starsze wersje Knoppix go mają.

Advertisement

Pytania pokrewne

21
3
4
8
20
Advertisement