질문과 답변

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

2010.04.29 20:33

Lucky 7 조회:12761

안녕하세요.

'윈도우 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 - -
99287 기 타| 카톡에서 GIF파일 발송 [2] holic 12808 03-14
99286 전에 있던 AWARD 쉬운 개조법하고 유틸좀... 올려주세요 [1] 최건호 12808 09-13
99285 6001.18000.080118-1840_amd64fre_Enterprise_en-us_VL-FRM... [4] 헷갈려 12804 03-19
99284 윈도우 7 파일 확장자 연결 변경할때... [2] Taves 12790 10-24
99283 윈 도 우| 2기가 램에 윈도우7 32bit vs 64bit [10] rt041 12778 05-31
99282 이상한 폴더 삭제방법은 [9] golden 12775 11-08
99281 포맷안하고 파티션나눴던걸하나로 다시합치게해주는 방법없... [3] 흘리는소울 12771 11-05
99280 윈 도 우| UEFI 에 SLic 2.1 심을순없나요 [2] 쿠시나기 12763 03-07
» 윈 도 우| bootmgr 기본 BCD 경로 바꾸기 [7] Lucky 7 12761 04-29
99278 하드웨어| South Bridge Driver 역할이 무엇인가요? [1] RohBang 12757 09-06
99277 윈 도 우| 부팅후 검은화면에 마우스포인트만 나오고 작업관리자 불러... 험비 12737 09-08
99276 비스타 아이콘 바로가기 화살표.. [1] 벅수 12737 02-17
99275 vista 64bit사용자인데 어느걸 설치해야 하나요? [1] POONG3 12715 09-03
99274 윈 도 우| Internet Explorer 8 동시 다운로드 갯수 늘리기 [13] PiPS 12710 02-15
99273 윈 도 우| ai64와 amd64와 차이 문의 [5] 운상아짜 12708 05-23
99272 무선네트워크 보안키 입력 [6] 사탕수수 12706 08-24
99271 하드웨어| 장치관리자에서 PCI입력장치에 물음표가 [1] 가난한사람 12703 12-27
99270 윈 도 우| office 2010 인증 할 방법이 없을까요?? [2] ddya 12671 11-24
99269 slui.exe 0x2a 0xc004f015를 실행하라는 에러가 뜹니다. 춘봉 12668 11-17
99268 윈 도 우| snoopy micro xp r2 버전 고스트 질문.. [4] Chris 12630 01-21
XE1.11.6 Layout1.4.8