어제 학교에서 강제 종료 후 갑자기 윈도우 로고 화면이 끝나면 계속 재부팅만 돼 버리는 XP가 두 대나 생겨 버렸다.
일단 기억나는대로, XP CD를 넣고, 복구 모드로 들어가서 fixboot를 했다.
안 되는 거였다.
네이버 검색을 통해 bootcfg /rebuild 또는 bootcfg /add 명령을 써서 boot.ini를 복구하는 방법을 알았다. 그건 또 chkdsk를 써서 디스크 오류를 먼저 복구하랍신다.
chkdsk 명령을 내렸더니 한참 열심히 복구를 하는 듯 했지만, 결국 되지 않았고, 점심 먹으러 갔다온 사이에 A/S 업체 직원이 왔길래 봐달라고 했더니, chkdsk /p 명령을 써서 복구 시켜논 것이었다. /p 옵션이 뭐냐고 물었더니, 얼버무리고 안 가르쳐 준다. 음...
진짜 모르는 것인지... 어쨌든 핵심은 chkdsk 였던 것.
어쨌든 궁금증이 생겨 다시 한 번 검색을 통해 복구 방법을 찾아 정리해 둔다.
|
XP CD 삽입후 CD로 재부팅
1. R키를 눌러 복구콘솔 로그인

2. 명령프롬프트에서 fixboot명령어로 부트섹터 복구
C:\WINDOWS>FIXBOOT

3. 명령 프롬프트에서 fixmbr명령어로 마스터부트레코드 복구
C:\WINDOWS>FIXMBR
4. 명령프롬프트에서 CHKDSK /P 명령어로 디스크 검사
※ chkdsk보다 좀 더 철저한 검사
5. 4번 단계에서 이상이 있다고 나오면 명령프롬프트에서 chkdsk /R 명령어로 복구(시간 많이 걸림)
6. 한 번 더 chkdsk /p 명령어로 디스크 검사
7. bootcfg /rebuild 명령어 이용 boot.ini 재구성
6. 명령프롬프트에서 exit 명령어로 복구콘솔 종료 및 재부팅
위의 단계에서 1~3단계까지만 실행하면 대부분 정상 복구, 안 될 경우에 4-7단계 실행, 그것도 안 될 경우에는 아래의 복구콘솔 명령어를 참조하여 복구 시도 |
|
This article applies to Windows XP/2000
<>Introduction:
Over time, your hard drive could develop errors for a variety of reasons. The most common reasons are:
- Improper Shutdowns
- Power Outages
- Power Surges
- Age of Drive
In this article I will explain a method that can repair a damaged hard drive. It is also possible to be able to tell if the hard drive is nearing its end by using this method.
Warning: Depending on the extent of the damage to your hard drive, this test can cause the hard drive to actually fail. So, prior to running this test, be sure to backup all data.
<>Start Repair Method:
-
Insert your Windows XP/2000 installation CD and restart your computer to launch the CD. If you receive a prompt asking what boot method you would like to use. Select the option that allows you to boot from the installation CD.
-
The next prompt will ask what you would like to do? Select the letter "R" to enter the Windows Recovery Console.
-
When asked what partition you would like to boot to, select the partition that has your Windows operating system installed on it. You may be asked for an administrator password at this point. If you use one, then enter it now. If not, simply press enter to continue.
-
A command prompt should now appear. Type in the following command and then press enter on your keyboard: chkdsk /p
-
Your system will begin testing for errors on your drive. If you receive a message that states; "One or more errors detected on the volume", then it is possible to use CHKDSK to repair these errors. If no errors were found, CHKDSK will not be able to repair your drive.
-
If one or more errors were found, type in the following command at the command prompt and then press enter on your keyboard: chkdsk /r
-
Once you press enter, the CHKDSK utility will begin checking every sector on your hard drive for errors and automatically repair them. This test could take some time depending on the size of your hard drive.
-
Once your system stops scanning and returns you to the command prompt, type the following command again, then press enter: chkdsk /p
-
If after the scan completes and it has found no errors, this means that you have successfully repaired your drive. If errors are again reported, this means that the CHKDSK utility was unable to repair these errors and it could also indicate that the drive is on its last leg.
-
Exit the Recovery Console and remove your Windows XP/2000 installation CD. Be sure to (if you haven't already) backup all data on your drive. |
Chkdsk
Creates and displays a status report for the disk. The chkdsk command also lists and corrects errors on the disk.
The chkdsk command with the parameters listed below is only available when you are using the Recovery Console The chkdsk command with different parameters is available from the command prompt.
chkdsk [drive:] [/p] [/r]
Parameters
none
Used without parameters, chkdsk displays the status of the disk in the current drive.
drive:
Specifies the drive that you want chkdsk to check.
/p
Performs an exhaustive check even if the drive is not marked for chkdsk to run. This parameter does not make any changes to the drive.
/r
Locates bad sectors and recovers readable information. Implies /p.
Note
| • |
The chkdsk command requires the file Autochk.exe. If it cannot find it in the startup directory (\%systemroot%\System32, by default), it will attempt to locate it on the Windows Installation CD. If you have a multiboot computer, be sure you are issuing this command from the drive containing Windows. | |
복구 콘솔 설치 컴퓨터에 복구 콘솔을 설치하면 Windows를 다시 시작할 수 없을 때 복구 콘솔을 사용할 수 있으며 시작 시에 사용할 수 있는 운영 체제 목록에서 복구 콘솔 옵션을 선택할 수 있습니다. 중요한 서버와 IT 담당자의 워크스테이션에는 복구 콘솔을 설치해 놓는 것이 좋습니다. 이 문서에서는 Windows XP 컴퓨터에 복구 콘솔을 설치하는 방법을 설명합니다. 복구 콘솔을 설치하려면 사용자에게 해당 컴퓨터에 대한 관리자 권한이 있어야 합니다.
Windows XP CD에서 직접 부팅해도 복구 콘솔을 실행할 수 있지만 부트 메뉴에서 시작 옵션으로 설정하는 것이 더 편리합니다. CD에서 부팅하여 직접 실행하려면 이 문서의 뒷부분에 나와 있는 "복구 콘솔 사용" 절을 참조하십시오.
복구 콘솔을 설치하려면 다음과 같이 하십시오. Windows XP CD를 CD-ROM 드라이브에 넣습니다. 시작을 누른 다음 실행을 누릅니다. 열기 상자에 D:i386winnt32.exe /cmdcons를 입력합니다 (여기서 D는 CD-ROM 드라이브의 드라이브 문자임). 복구 콘솔 옵션이 설명되어 있는 Windows 설치 대화 상자가 나타납니다. 시스템에서 설치를 확인하는 메시지를 표시합니다. 예를 눌러 설치 절차를 시작합니다. 컴퓨터를 다시 시작합니다. 다음에 컴퓨터를 시작할 때 부트 메뉴에 "Microsoft Windows 복구 콘솔" 항목이 나타납니다.
================================================== ================= 명령 동작 다음은 복구 콘솔에 사용할 수 있는 명령에 대한 설명입니다.
================================================== =====================
|