질문과 답변

윈 도 우 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 - -
14437 하드웨어| 데몬툴 과자 사용법을 모르겠네요 마음챙김 3429 05-10
14436 윈 도 우| CPU가 3Ghz 인데 윈도우7 에선..2.99로 표기가 되나여? [2] 맛참 3016 05-10
14435 하드웨어| XP와 윈도우 7 설치 뒤에 트루 이미지로 복구했더니 윈도우... [2] 율짱 2975 05-10
14434 윈 도 우| 외장하드 인식문제... [1] 콩나물국 3751 05-10
14433 하드웨어| vmware thinapp로 묶인 포터블을 분해할 수 없나요? 아리에스 2639 05-09
14432 하드웨어| 하드디스크 문제가 있습니다.. 좀 봐주세요... [4] Daniel 3341 05-09
14431 윈 도 우| MW님 windows7_Ultimate86.iso [2] 6742 3120 05-09
14430 윈 도 우| 기가바이트 메인보드인데요, 램이 호환 되는지 알고 싶네요. [2] bonjovi 2928 05-09
14429 윈 도 우| 세븐 부팅 로고 바꾸는 법좀 알고 싶습니다. [4] maxmode 3278 05-09
14428 하드웨어| VM Ware 오류 질문입니다. [3] 김용환 5106 05-09
14427 윈 도 우| 업데이트 KB971033 과 관련한 인증관련 문제... [3] 꼬봉몬 5521 05-09
14426 윈 도 우| 폴더또는 해당폴더에 포함되어있는파일이... [1] -_-a 23782 05-09
14425 하드웨어| 시디굽기 질문입니당 [3] 오마르 2808 05-09
14424 윈 도 우| 문의)) IE8보다 IE7가 안정적인가요??? [8] Chobits0914 3176 05-09
14423 하드웨어| WINDOWS 7 을 포멧하고 다시 깔고나서 V7(카리스마조 인증)... [4] 잉글랜드임 4482 05-09
14422 하드웨어| HyperSnap 최근것으로 [2] 독수리 2470 05-09
14421 하드웨어| 문의)) 혹시 이 영화 아시는 분 없으신가요???...^^;; Chobits0914 2548 05-09
14420 하드웨어| iptime 공유기 질문입니다. [4] 자양동87탑 3051 05-09
14419 서버 / IT| 이것 무엇때문에 이 에러가 뜨나요? [5] nanari 3205 05-09
14418 하드웨어| 하드디스크 순서가 꼬이는 이유가 뭘까요? 듀시스트칸 2647 05-09
XE1.11.6 Layout1.4.8