질문과 답변

윈 도 우 bootmgr 기본 BCD 경로 바꾸기

2010.04.29 20:33

Lucky 7 조회:12763

안녕하세요.

'윈도우 7 USB 로 설치하기(Grub4dos) [https://shinb.textcube.com/152]'를 기반으로
Windows 7 (x64)와 Windows 7 (x86)을 선택해서 설치할 수 있도록 만들려고 합니다.

1. USB 드라이브에 도스 시동 디스크 만들기

1.png 


2. 윈도우 7 설치 이미지의 모든 파일 USB 드라이브로 복사하기  2.png 


2.1. \Windows_7_(x64) 폴더에 윈도우 7 (x64) 이미지 복사

2.1.png

2.2. \Windows_7_(x86) 폴더에 윈도우 7 (x86) 이미지 복사
2.2.png 


3. Autoexec.bat, menu.list 편집

[Autoexec.bat]
@echo off
grub.exe

[menu.list]
color light-gray/black black/light-gray
timeout 5
default 0

# Load Windows 7 (x64) bootmgr
title Install Windows 7 (x64)
chainloader /Windows_7_(x64)/bootmgr

# Load Windows 7 (x86) bootmgr
title Install Windows 7 (x86)
chainloader /Windows_7_(x86)/bootmgr


4. USB 드라이브에 Autoexec.bat, grub.exe, menu.list 복사
4.png 


5. USB 드라이브 부팅, grub 메뉴 출력 성공

   Install Windows 7 (x64)
  
   Install Windows 7 (x86)

6. grub 메뉴 선택

7. Windows Boot Manager 실패

[실패 메세지]
WINDOWS FAILED TO START. a RECENT HARDWARE OR SOFTWARE OR software change might be the
cause. To fix the problem:

1. Insert your Windows installation disc and restart your computer.
2. Choose your language settings, and then click "Next."
3. Click "Repair your computer."

If you do not have this disc, contact your system administrator or computer
manufacturer for assistance.

 File: \Boot\BCD
 
 Status: 0xc000000e
 
 Info: An error occurred while attempting to read the boot configuration
       data.


실패 원인 추정
각 BCD 파일이 \Boot폴더 안에 있는 것이 아니라 \Windows_7_(x64)\Boot 폴더 또는
\Windows_7_(x86)\Boot 폴더 안에 있음. 즉 bootmgr이 바뀐 경로를 인식하지 못 함.

개선 방향
각 bootmgr가 읽어오는 기본 BCD 경로를 \Windows_7_(x64)\Boot\BCD 또는

\Windows_7_(x86)\Boot\BCD로 바꿔줘야 함

일단 bcdedit를 통해 각 BCD를 살펴봤습니다.


[x64 BCD]
bcdedit /store USB드라이브:\Windows_7_(x64)\boot\bcd

Windows 부팅 관리자
--------------------
identifier              {bootmgr}
description             Windows Boot Manager
locale                  en-US
inherit                 {globalsettings}
default                 {default}
displayorder            {default}
toolsdisplayorder       {memdiag}
timeout                 30

Windows 부팅 로더
-------------------
identifier              {default}
device                  ramdisk=[boot]\sources\boot.wim,{7619dcc8-fafe-11d9-b411
-000476eba25f}
path                    \windows\system32\boot\winload.exe
description             Windows Setup
locale                  en-US
inherit                 {bootloadersettings}
osdevice                ramdisk=[boot]\sources\boot.wim,{7619dcc8-fafe-11d9-b411
-000476eba25f}
systemroot              \windows
detecthal               Yes
winpe                   Yes
ems                     Yes

[x86 BCD]
bcdedit /store USB드라이브:\Windows_7_(x86)\boot\bcd

Windows 부팅 관리자
--------------------
identifier              {bootmgr}
description             Windows Boot Manager
locale                  en-US
inherit                 {globalsettings}
default                 {default}
displayorder            {default}
toolsdisplayorder       {memdiag}
timeout                 30

Windows 부팅 로더
-------------------
identifier              {default}
device                  ramdisk=[boot]\sources\boot.wim,{7619dcc8-fafe-11d9-b411
-000476eba25f}
path                    \windows\system32\boot\winload.exe
description             Windows Setup
locale                  en-US
inherit                 {bootloadersettings}
osdevice                ramdisk=[boot]\sources\boot.wim,{7619dcc8-fafe-11d9-b411
-000476eba25f}
systemroot              \windows
detecthal               Yes
winpe                   Yes
ems                     Yes

BCD를 봐도 bootmgr가 읽어올 기본 BCD 경로는 보이질 않네요? 여기가 아닌가요?

다음으로 bootmgr을 살펴봐야 하는데 뭘로 봐야 하는지 모르겠네요.

이것만 바꾼다고 끝일까요? 관련 검색을 할수록 'USB나 하드로 설치할 때 괞히 루트에 넣는 게 아니다',
'많은 분들이 괜히 Windows7 x86, x64 통합본을 만드시는 게 아니다', '내가 지금 되지도 않는 짓을 하고 있다'

라는 생각이 드네요. T_T 답변이나 조언 부탁드립니다.

번호 제목 글쓴이 조회 등록일
[공지] 질문과 답변 게시판 이용간 유의사항 gooddew - -
100079 윈 도 우| 자료실의 Windows 7 Alienware Ultimate 32bit, 64bit에 대... 소천 164973 10-01
100078 윈 도 우| 자료실의 Windows 7 Alienware Ultimate 32bit 받아볼수 없... [2] 오백원 164115 10-10
100077 윈 도 우| 바로가기실행 아이콘의 동작불능 가난한사람 160513 01-31
100076 윈 도 우| 자료실의 Alienware Windows7의 로고를 원래대로 복원하는 ... [4] 소천 150539 10-04
100075 윈 도 우| Windows 7의 관리 기능을 집약한 숨겨진 GodMode의 존재 [5] 죠타로 123854 01-07
100074 윈 도 우| PE 시작메뉴랑 작업표시줄 숨길 수 없나요? [11] 배추보쌈 107083 01-17
100073 기 타| html&css 중급자 이상자 분께 도움을 요청해봅니다,, [3] ㄴ초심ㄱ 102078 05-16
100072 하드웨어| KMS Activator에 대해서 질문있습니다. 오잉!? 85423 04-20
100071 윈 도 우| 카리스마조님의 바로가기 말인데요~ [1] KOOL하게 84414 01-06
100070 윈 도 우| 가젯이 CPU 점유율 상승문제에 영향을 주는군요. [22] BigShit 83700 11-26
100069 윈 도 우| page fault in nonpaged area [1] 한강한뺨뷰 80331 08-24
100068 윈 도 우| 인터넷 바로가기 관련 궁금한점이 있습니다. [1] 도라란 79936 07-06
100067 윈 도 우| 모든 바로가기를 실행하면 연결프로그램 선택 창이 떠요ㅠㅠ [4] 네버s2 73055 09-17
100066 윈 도 우| 9down.dom 같은 사이트 또 없나요 [3] 애벌레 67512 12-10
100065 하드웨어| 문의)) "kms Server" 삭제 안하고 써도 괜찮나요??? [1] Chobits0914 66878 04-29
100064 윈 도 우| suk님 시간되시면 부탁드립니다. [7] 초보라서죄 64990 12-06
100063 하드웨어| 문의)) KMS인증과 가상바이오스 인증 중 안정적인 것은 어... [2] Chobits0914 64580 06-17
100062 윈 도 우| win7 / vista god mode 활성화 시키기 [7] 카츠라 61014 01-06
100061 윈 도 우| [A.I_7T]SLIC2.1 인증에대해.. [1] 김간지 58995 01-23
XE1.11.6 Layout1.4.8