cnckane Posted September 2, 2009 Share Posted September 2, 2009 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 peREM 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 HEREset pename="Your PE Name"REM SET THE NAME FOR THE WIM.FILE HERE WITH PATHset filena=[boot]\sources\bootsdf.wimfor /f "eol=r tokens=1-2" %%a in ('bcdedit /store %BCD-File% /ENUM all') do set rdo=%%bfor /f "tokens=1-7" %%a in ('Bcdedit /store %BCD-File% /copy {default} /d %pename%') do set guid1=%%gbcdedit /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% /ENUMI tried this bat, but always adds boot.wim file, and I can"t delet the odler BCD entry. Link to comment Share on other sites More sharing options...
aviv00 Posted September 4, 2009 Share Posted September 4, 2009 try use bcdedit /restore bcdfile Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now