Windows chkdsk 磁盤修復工具
原文鏈接:http://blog.ccyg.studio/article/09d7bd9a-6b32-4f81-a93e-e746453c7ffc
前兩天俭正,接到朋友的消息假勿,說電腦壞了次和,讓我?guī)退抟幌录チ凇Uf具體的現(xiàn)象是,開機就藍屏稽穆。應該是他自己強制關機造成的,遂去修電腦。
我很自然地想到了可能是引導壞了登颓,修復一下引導應該就可以了,于是插入已經(jīng)裝了PE的U盤红氯,開機框咙,進入BIOS,設置U盤啟動痢甘。通過一番折騰喇嘱,發(fā)現(xiàn)U盤啟動不了,我開始懷疑是不是我自己的U盤壞了塞栅,再經(jīng)過一番折騰者铜,發(fā)現(xiàn)我插得那個USB口是壞的,換了一個USB口之后放椰,很順利的就進去了作烟。
進去之后發(fā)現(xiàn)C盤,的容量整個變成了0砾医,所以懷疑應該是分區(qū)壞了拿撩,打開分區(qū)工具,發(fā)現(xiàn)C盤里的內(nèi)容還能讀取藻烤,所以應該不是磁盤壞了绷雏。用磁盤工具檢測磁盤壞道也是什么都沒有。于是開始焦綠怖亭。這玩意兒之前還真沒見過涎显。
然后便想到應該是磁盤什么地方出問題了,導致Windows不能讀取兴猩,于是想到了磁盤修復工具期吓,也就是 chkdsk
這個工具了。
于是 WIN
+ R
倾芝,敲入 cmd
打開控制臺窗口讨勤,執(zhí)行命令:
chkdsk /?
輸出:
Checks a disk and displays a status report.
CHKDSK [volume[[path]filename]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]] [/B] [/scan] [/spotfix]
volume Specifies the drive letter (followed by a colon),
mount point, or volume name.
filename FAT/FAT32 only: Specifies the files to check for
fragmentation.
/F Fixes errors on the disk.
/V On FAT/FAT32: Displays the full path and name of every
file on the disk.
On NTFS: Displays cleanup messages if any.
/R Locates bad sectors and recovers readable information
(implies /F, when /scan not specified).
/L:size NTFS only: Changes the log file size to the specified
number of kilobytes. If size is not specified, displays
current size.
/X Forces the volume to dismount first if necessary.
All opened handles to the volume would then be invalid
(implies /F).
/I NTFS only: Performs a less vigorous check of index
entries.
/C NTFS only: Skips checking of cycles within the folder
structure.
/B NTFS only: Re-evaluates bad clusters on the volume
(implies /R)
/scan NTFS only: Runs an online scan on the volume
/forceofflinefix NTFS only: (Must be used with "/scan")
Bypass all online repair; all defects found
are queued for offline repair (i.e. "chkdsk /spotfix").
/perf NTFS only: (Must be used with "/scan")
Uses more system resources to complete a scan as fast as
possible. This may have a negative performance impact on
other tasks running on the system.
/spotfix NTFS only: Runs spot fixing on the volume
/sdcleanup NTFS only: Garbage collect unneeded security descriptor
data (implies /F).
/offlinescanandfix Runs an offline scan and fix on the volume.
/freeorphanedchains FAT/FAT32/exFAT only: Frees any orphaned cluster chains
instead of recovering their contents.
/markclean FAT/FAT32/exFAT only: Marks the volume clean if no
corruption was detected, even if /F was not specified.
The /I or /C switch reduces the amount of time required to run Chkdsk by
skipping certain checks of the volume.
然后看到 /F
參數(shù)是用來 解決磁盤錯誤的,于是執(zhí)行:
chkdsk C: /F
經(jīng)過一段時間的等待晨另,修復完成之后潭千,C盤便能讀取了,C盤能讀取之后系統(tǒng)便修復完成了借尿。然后重啟電腦刨晴,發(fā)現(xiàn)需要掃描磁盤屉来,這個應該是Windows系統(tǒng)建立的索引壞了,要重新建立狈癞,可以跳過茄靠,不過最好還是等待掃描完成,否則下一次啟動的時候還是會掃描蝶桶。