티스토리 뷰

I run a dual boot on my work laptop because there are some work related apps that do not run so well 
on my ubuntu partition.  Anyhow I ran into the dreaded 

Windows XP could not start because the following file is missing or corrupt: \WINDOWS\SYSTEM32\CONFIG\SYSTEM

error message. I tried to follow the solution that Microsoft has available on their tech support site, but
was not able to get to the recovery console, not even through the boot cd!!

The steps below are how I fixed the problem! 

  • Install NTFS-3G

This package allows you to perform I/O on an NTFS filesystem.

  • Install NTFSProgs

This package contains some useful admin tools to use on NTFS filesystems

  • Mount NTFS filesystem

You will need to mount your Windows partition to backup your corrupted registry files. To do this run the following commands

sudo mkdir /media/windows
sudo ntfs-3g -o rw /dev/<device-name> /media/windows

if you get a message regarding Windows not being shutdown properly, then run the following command to force the mount

sudo ntfs-3g -o force,rw /dev/<device-name> /media/windows

Both of the above commands will mount the device as read-write.

  • Replace these files

You might want to back up the files in /media/windows/WINDOWS/system32/config/ before replacing them just in case this is not a registry problem
Now copy the following files from the file /media/windows/System Volume Information/_restore{xxx}/RPxxx/snapeshot/ dir:

_REGISTRY_USER_.DEFAULT
_REGISTRY_MACHINE_SECURITY
_REGISTRY_MACHINE_SOFTWARE
_REGISTRY_MACHINE_SYSTEM
_REGISTRY_MACHINE_SAM

to the /media/windows/WINDOWS/system32/config/ dir and name them as follows:

_REGISTRY_USER_.DEFAULT => default
_REGISTRY_MACHINE_SECURITY => security
_REGISTRY_MACHINE_SOFTWARE => software
_REGISTRY_MACHINE_SYSTEM => system
_REGISTRY_MACHINE_SAM => sam

Schedule a consistency check

Run this command to schedule a NTFS consistency check for the first boot into Windows

sudo ntfsfix /dev/<device-name>

Reboot into Windows twice

The first reboot you should get a blue screen telling you that you should run a filesystem consistency check. Let the check run and then the second reboot should bring you back into a bootable Windows
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함