질문과 답변

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

2010.04.29 20:33

Lucky 7 조회:12762

안녕하세요.

'윈도우 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 - -
99906 비스타에서 cd굽는 법좀 알려주세요. secret 김영희 0 04-06
99905 비스타요ㅠㅠㅠㅠ secret 김예은 1 02-22
99904 windows vista 절전문제 secret 신기루 2 09-30
99903 기 타| 도형 그림 안쪽을 지우고 싶은데, 파워포인트에서는 붓기능... [2] new 파풍초 56 13:36
99902 소프트웨어| 삼성플로우 앱에서 스마트뷰가 로딩만 되고 실행이 되지 않... [2] 사가르마타 59 09-01
99901 소프트웨어| Debug Assertion Failed! Expression: vector subscript ou... 나는나다 63 05-09
99900 윈 도 우| 에어포트 익스트림을 브릿지로 사용하여 랜으로 컴 연결이 ... RECALL 64 03-24
99899 윈 도 우| PE에서는 원드라이브에 저장된 파일을 읽기만 가능한가요? crmt12 71 02-25
99898 윈 도 우| 맥미니 소노마 업뎃에대해 peter 72 03-26
99897 소프트웨어| onenote의 제목 표시줄에서 글의 전체경로 보이게 brucex 73 04-23
99896 윈 도 우| 자주쓰는 파일 고정 등록해둔게 부킹만 새로하면 자꾸 해제... marlinz 77 03-23
99895 소프트웨어| AOMEI Backupper 부팅 메뉴 오류 문의 [1] new 타천사둘리 78 10:12
99894 기 타| 아이폰과 안드 어뎁티브 뭐잘하는 이어폰 추천해주시면 감... 고양이뜰채 79 05-02
99893 윈 도 우| 서피스의 키보드 질문드립니다 뚜릅 80 06-08
99892 소프트웨어| vsphere 에 cannot allocate memory 에러 뚜릅 81 02-27
99891 하드웨어| Nomadix AG3100 사용자인데 펌웨어를 구할 수 있나요? 토니 81 03-23
99890 기 타| SNS 연동 문제 플라워세상 81 02-22
99889 소프트웨어| Avant Brower에서 화면갈무리 할수 있나요? zannabi 81 10-15
99888 윈 도 우| 윈도우 spotbright 앱 쓰시는분 계신가요? shy1911 81 03-13
99887 소프트웨어| adobeXD에 파일 끌어다 놓기 안됨니다. 우리서로 81 11-17
XE1.11.6 Layout1.4.8