MSFN Forum: Help to edit BCD file - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Help to edit BCD file Multiple wim files for multiboot DVD Rate Topic: -----

#1 User is offline   cnckane 

  • Group: Members
  • Posts: 1
  • Joined: 02-September 09

Posted 02 September 2009 - 12:18 PM

Hello!
I want create a multiboot DVD, but I don't know how can I edit the BCD file.
I have 2 wim files .
How can I add these files to the bcd?

Rem BCD (boot configuration data) editor for multiple vista pe

Quote

REM THIS IS THE ORIGINAL BCD FILE EXTRACTED FROM ANY VISTA WINPE / VISTA DVD (I USED VISTA INSTALLATION)
set BCD-File="c:\bcd 1\BCD"

REM SET THE NAME FOR THE VISTA PE HERE
set pename="Your PE Name"

REM SET THE NAME FOR THE WIM.FILE HERE WITH PATH
set filena=[boot]\sources\bootsdf.wim

for /f "eol=r tokens=1-2" %%a in ('bcdedit /store %BCD-File% /ENUM all') do set rdo=%%b


for /f "tokens=1-7" %%a in ('Bcdedit /store %BCD-File% /copy {default} /d %pename%') do set guid1=%%g
bcdedit /store %BCD-File% /set %guid1:~0,38% DEVICE ramdisk=%filena%,%rdo%
bcdedit /store %BCD-File% /set %guid1:~0,38% OSDEVICE ramdisk=%filena%,%rdo%

bcdedit /store %BCD-File% /ENUM


I tried this bat, but always adds boot.wim file, and I can"t delet the odler BCD entry.


#2 User is offline   aviv00 

  • Windowaizer
  • PipPipPipPipPip
  • Group: Members
  • Posts: 911
  • Joined: 02-April 07

Posted 04 September 2009 - 08:39 AM

try use bcdedit /restore bcdfile

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy