2010년 7월 6일 화요일

Windows 7 or Windows Vista-based computer에서 ahci 활성화하기

source : http://support.microsoft.com/kb/922976
























XP인 경우 최초 윈도우즈 설치시 CMOS SETUP에서 위 그림처럼 AHCI를 활성화하여 주고 윈도우즈를 설치하면 설치과정중에 메인보드 CD의 드라이버를 설치하여 주면 된다.
Windows 7 같은 경우에는 드라이버가 자동으로 설치된다.  
하지만, 대부분의 유저들은 AHCI모드를 활성화 하지 않고 사용하는 경우가 대부분이다.  아래 해결방안 등은 AHCI를 활성화하지 않고 윈도우즈 7을 설치하였을 경우의 해결방법이다.

현상(SYMPTOMS)

Microsoft Windows 7 나 Windows Vista-based computer 를 사용할 경우, SATA 부분을 AHCI나 RAID로 변경한 경우 부팅시에 다음과 같은 에러메시지를 보게 될 것입니다.
Consider the following scenario. In the BIOS setup of a Microsoft Windows 7 or Windows Vista-based computer, you change the Serial Advanced Technology Attachment (SATA) mode of the boot drive to use the either Advanced Host Controller Interface (AHCI) specification or RAID features. You then restart the computer. In this scenario, you receive the following error message:
STOP 0x0000007B INACCESSABLE_BOOT_DEVICE

원인(CAUSE)

이 현상은 Windows 7 과 Windows Vista 에서 AHCI 디스크 드라이버 부분이 DISABLED 되어 있기 때문입니다. CMOS에서 AHCI나 RAID로 변경하기 전이 EIDE상태로 부팅하여 아래 해결방안처럼 반드시 ENABLED 시켜줘야 합니다.
This issue occurs if the disk driver in Windows 7 and Windows Vista is disabled. This driver must be enabled before you change the SATA/RAID mode of the boot drive.

해결방안(RESOLUTION)

주의사항 이 단계는 registry를 건드려줘야 하므로 주의깊게 수정하여 주어야 하며 만약 적절하게 수정하지 않았을 경우 시스템 부팅이 되지 않는 불상사가 생길 수가 있습니다.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756  How to back up and restore the registry in Windows
To resolve this issue, enable the AHCI driver in the registry before you change the SATA mode of the boot drive. To do this, follow these steps:
  1. Exit all Windows-based programs.
  2. Click Start, type regedit in the Start Search box, and then press ENTER.
  3. If you receive the User Account Control dialog box, click Continue.
  4. Locate and then click one of the following registry subkeys:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Msahci
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\IastorV
  5. In the right pane, right-click Start in the Name column, and then click Modify.
  6. In the Value data box, type 0, and then click OK.
  7. On the File menu, click Exit to close Registry Editor.

MORE INFORMATION

During the Windows 7 or Windows Vista installation process, any unused storage drivers are disabled. This behavior speeds up the operating system's startup process. When you change the boot drive to a driver that has been disabled, you must enable the new driver before you change the hardware configuration.

For example, assume that you install Windows Vista or Windows 7 on a computer that contains a controller that uses the Pciide.sys driver. Later, you change the SATA mode to AHCI. Therefore, the drive must now load the Msahci.sys driver. However, you must enable the Msahci.sys driver before you make this change.

This issue affects only the boot drive. If the drive that you change is not the boot drive, you do not experience this issue.

AHCI provides several features for SATA devices. These include hot plug functionality and power management functionality. For more information about the AHCI specification, visit the following Intel Web site:Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information. The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

APPLIES TO
  • Windows Vista Business
  • Windows Vista Enterprise
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Starter
  • Windows Vista Ultimate
  • Windows 7 Enterprise
  • Windows 7 Enterprise N
  • Windows 7 Home Basic
  • Windows 7 Home Premium
  • Windows 7 Professional
  • Windows 7 Professional N
  • Windows 7 Starter
  • Windows 7 Starter N
  • Windows 7 Ultimate
  • Windows 7 Ultimate N

댓글 5개:

  1. I want to quote your post in my blog. It can?

    And you et an account on Twitter?

    답글삭제
  2. @acxe12 - 2010/07/15 08:30
    R U came from russia?

    답글삭제
  3. it was very interesting to read.

    I want to quote your post in my blog. It can?

    And you et an account on Twitter?

    답글삭제
  4. xp인 경우에는 Intel Mass stroage 드라이버를 설치해주어야 합니다.

    비스타와 windows 7는 AHCI 드라이버가 기본적으로 포함이 되어 있으므로 이 글처럼 간단하게 레지스터리만 수정하여 주면 AHCI모드로 전환됩니다.

    답글삭제