Search Members Help

» Welcome Guest
[ Log In :: Register ]

Page 1 of 3123>>

[ Track This Topic :: Email This Topic :: Print this topic ]

reply to topic new topic new poll
Topic: Integrating multiple version of Vista, Integrating multiple version of Vista< Next Oldest | Next Newest >
 Post Number: 1
varun037 Search for posts by this member.

Avatar



Group: Members
Posts: 19
Joined: Dec. 2008
PostIcon Posted on: Apr. 01 2009,06:24  Skip to the next post in this topic. Ignore posts   QUOTE

the procedure is:

copy boot.wim from active boot disk as boot32.wim in sources folder

bcdedit /store J:\1\WinVista\BOOT\bcd /ENUM
*** note the old guid

bcdedit /store J:\1\WinVista\BOOT\bcd /copy {default} /d "Active Boot Disk"


*** new guid is given at this stage

bcdedit /store J:\1\WinVista\BOOT\bcd /set {newguid} DEVICE ramdisk=[boot]\sources\boot32.wim,{oldguid}

bcdedit /store J:\1\WinVista\BOOT\bcd /set {newguid} OSDEVICE ramdisk=[boot]\sources\boot32.wim,{oldguid}


*** to check whether the bcd store has 2 ramdisks
bcdedit /store J:\1\WinVista\BOOT\bcd /ENUM


*** boot32.wim is the file copied from the active boot disk (boot.wim renamed)


Edited by varun037 on Nov. 21 2009,03:25
Offline
Top of Page Profile Contact Info 
 Post Number: 2
varun037 Search for posts by this member.

Avatar



Group: Members
Posts: 19
Joined: Dec. 2008
PostIcon Posted on: Apr. 07 2009,08:12 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

use the default WinVista or any WinPE dvd.

copy the contents to the HDD

the structure would be

dvd1 | - Project Root
        | - BOOT (CONTAINS THE BCD FILE TO BE EDITED)
        | - EFI
        | - SOURCES (CONTAINS THE PE .WIM FILES)
        | - EZBOOT
        | - OTHER FILES

In the boot folder we need to run the command

bcdedit /store bcd /ENUM

This will give you the details of old entry in the boot loader.

u need to note the guid. in my case this is {7619dcc8-fafe-11d9-b411-000476eba25f}


CODE

bcdedit /store bcd /enum

Windows Boot Manager
--------------------
identifier              {bootmgr}
description             Windows Boot Manager
locale                  en-US
inherit                 {globalsettings}
default                 {default}
displayorder            {default}
toolsdisplayorder       {memdiag}
timeout                 30

Windows Boot Loader
-------------------
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



bcdedit /store bcd /copy {default} /d "Active Boot Disk"

something like this will appear.
CODE


operation completed successfully.
{613fe2f0-2356-11de-bf6a-001e4cdc40b1}



therefore my new guid is {613fe2f0-2356-11de-bf6a-001e4cdc40b1}


now

bcdedit /store bcd /set {613fe2f0-2356-11de-bf6a-001e4cdc40b1} DEVICE ramdisk=[boot]\sources\boot32.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}

CODE


operation completed successfully.



bcdedit /store bcd /set {613fe2f0-2356-11de-bf6a-001e4cdc40b1} OSDEVICE ramdisk=[boot]\sources\boot32.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}


CODE


operation completed successfully.

Offline
Top of Page Profile Contact Info 
 Post Number: 3
varun037 Search for posts by this member.

Avatar



Group: Members
Posts: 19
Joined: Dec. 2008
PostIcon Posted on: Apr. 07 2009,08:13 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

bcdedit /store bcd /ENUM

CODE


Windows Boot Manager
--------------------
identifier              {bootmgr}
description             Windows Boot Manager
locale                  en-US
inherit                 {globalsettings}
default                 {default}
displayorder            {default}
                                {613fe2f0-2356-11de-bf6a-001e4cdc40b1}
toolsdisplayorder       {memdiag}
timeout                 30

Windows Boot Loader
-------------------
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


Windows Boot Loader
-------------------
identifier              {613fe2f0-2356-11de-bf6a-001e4cdc40b1}
device                  ramdisk=[boot]\sources\boot32.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
path                    \windows\system32\boot\winload.exe
description             Active Boot Disk
locale                  en-US
inherit                 {bootloadersettings}
osdevice                ramdisk=[boot]\sources\boot32.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
systemroot              \windows
detecthal               Yes
winpe                   Yes
ems                     Yes

Offline
Top of Page Profile Contact Info 
 Post Number: 4
varun037 Search for posts by this member.

Avatar



Group: Members
Posts: 19
Joined: Dec. 2008
PostIcon Posted on: Apr. 07 2009,08:17 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

like this you may add n number of vista pes... (i have tested 3 PEs + Windows Vista Setup) to the BCD Store. Just you have to keep the oldguid to same as {7619dcc8-fafe-11d9-b411-000476eba25f}

{7619dcc8-fafe-11d9-b411-000476eba25f} will never change... thats the rule.

copy the boot.wim file in sources folder of active boot disk/ ghost pe/ erdcommander 6.0 to the sources folder in disk1 in the project. and rename it to desired. i renamed it to boot32.wim you may use any...

{default} is not a variable and need not be changed.


I have not tested this method to change the folder as this can be done in the command by specifying a folder other than sources. So not sure to that. But the Vista PEs i have handled had only 1 file in the sources folder which i renamed this way. So if you have multiple files in sources folder for a pe you may try changing the folder and do tell me if it works....


I have attached a BCD File with following options

Windows Setup [EMS Enabled] - Loads boot.wim
Active Boot Disk [EMS Enabled] - Loads babd.wim
Norton Ghost 14.0 PE [EMS Enabled] - Loads ghostpe.wim
ERD Commander 6.0 [EMS Enabled] - Loads erd60.wim


Edited by varun037 on Apr. 07 2009,08:29

Download attachment [ ZIP File ]
Number of downloads: 973
Offline
Top of Page Profile Contact Info 
 Post Number: 5
kukubau Search for posts by this member.

Avatar



Group: Members
Posts: 4
Joined: Dec. 2008
PostIcon Posted on: Apr. 08 2009,09:10 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

Can't this process be automated? A script maybe?

The guy at msfn.org posted one but for some reason it doesn't work for me. Can you test it on your machine? I don't have vista installed. The
"for /f "tokens=1-3" %%a in ('Bcdedit /store "%BCDFILE%" /create /d "Windows 32 Bit" /application osloader') do set guid1=%%c
Bcdedit /store "%BCDFILE%" /set %guid1% systemroot \Windows" part stops working for me.

CODE
echo ***   Creating WinPE BCD (boot configuration data) File
Bcdedit /createstore "%BCDFILE%"
Bcdedit /store "%BCDFILE%" /create {ramdiskoptions} /d "Ramdisk options"
Bcdedit /store "%BCDFILE%" /set {ramdiskoptions} ramdisksdidevice boot
Bcdedit /store "%BCDFILE%" /set {ramdiskoptions} ramdisksdipath \boot\boot.sdi

rem 32Bit
for /f "tokens=1-3" %%a in ('Bcdedit /store "%BCDFILE%" /create /d "Windows 32 Bit" /application osloader') do set guid1=%%c
Bcdedit /store "%BCDFILE%" /set %guid1% systemroot \Windows
Bcdedit /store "%BCDFILE%" /set %guid1% detecthal Yes
Bcdedit /store "%BCDFILE%" /set %guid1% winpe Yes
Bcdedit /store "%BCDFILE%" /set %guid1% description "Windows 32 Bit"
Bcdedit /store "%BCDFILE%" /set %guid1% osdevice ramdisk=[boot]\Boot\winpe_x86.wim,{ramdiskoptions}
Bcdedit /store "%BCDFILE%" /set %guid1% device ramdisk=[boot]\Boot\winpe_x86.wim,{ramdiskoptions}

rem 64Bit
for /f "tokens=1-3" %%a in ('Bcdedit /store "%BCDFILE%" /create /d "Windows 64 Bit" /application osloader') do set guid2=%%c
Bcdedit /store "%BCDFILE%" /set %guid2% systemroot \Windows
Bcdedit /store "%BCDFILE%" /set %guid2% detecthal Yes
Bcdedit /store "%BCDFILE%" /set %guid2% winpe Yes
Bcdedit /store "%BCDFILE%" /set %guid2% description "Windows 64 Bit"
Bcdedit /store "%BCDFILE%" /set %guid2% loadoptions ramdisk=[boot]\Boot\winpe_x64.wim,\"DISABLE_INTEGRITY_CHECKS"
Bcdedit /store "%BCDFILE%" /set %guid2% osdevice ramdisk=[boot]\Boot\winpe_x64.wim,{ramdiskoptions}
Bcdedit /store "%BCDFILE%" /set %guid2% device ramdisk=[boot]\Boot\winpe_x64.wim,{ramdiskoptions}

rem Setup Bootmanager
Bcdedit /store "%BCDFILE%" /create {bootmgr} /d "Windows VISTA BootManager"
Bcdedit /store "%BCDFILE%" /set {bootmgr} timeout 10
Bcdedit /store "%BCDFILE%" /set {bootmgr} displayorder %guid1% %guid2%
Bcdedit /store "%BCDFILE%" /enum all


The batch above is jut an example. Can you make one for yours which is what I'm looking for.


Thank you


Edited by kukubau on Apr. 08 2009,09:13
Offline
Top of Page Profile Contact Info 
 Post Number: 6
varun037 Search for posts by this member.

Avatar



Group: Members
Posts: 19
Joined: Dec. 2008
PostIcon Posted on: Apr. 09 2009,02:59 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

Here you go...

CODE

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

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\yourwimfile.wim

REM DO NOT CHANGE ANYTHING BELOW UNLESS YOU KNOW WHAT ARE YOU DOING
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


Download attachment [ OCTET Stream ]
Number of downloads: 915
Offline
Top of Page Profile Contact Info 
 Post Number: 7
varun037 Search for posts by this member.

Avatar



Group: Members
Posts: 19
Joined: Dec. 2008
PostIcon Posted on: Apr. 09 2009,03:20 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

remember not to use any spaces in filena variable
Offline
Top of Page Profile Contact Info 
 Post Number: 8
mmarx82 Search for posts by this member.

Avatar



Group: Members
Posts: 35
Joined: May 2006
PostIcon Posted on: Apr. 27 2009,15:30 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

varun037,

I haven't tried this yet but have been waiting on an answer to it in a previously unanswered post. I'm going to try it a post back here the results, if this works, you will be GOD in my eyes!

Thanks for the info.


Edited by mmarx82 on Apr. 27 2009,15:31

--------------
Marc Stewart
Offline
Top of Page Profile Contact Info 
 Post Number: 9
mmarx82 Search for posts by this member.

Avatar



Group: Members
Posts: 35
Joined: May 2006
PostIcon Posted on: Jun. 08 2009,16:25 Skip to the previous post in this topic. Skip to the next post in this topic. Ignore posts   QUOTE

Sorry it took forever but I had to abandon the project for awhile, I want to give a big THANK YOU! It works perfectly!

I did add one line at the end of the batch file so I could change the name of the first boot entry which others may be interested in knowing how to do. Just replace "My New Name" with what you want it to be called and make sure you leave the quotes.

bcdedit /set {default} descrtiption "My New Name" /store %BCD-File%

Also for those not sure about setting the BCD-File with easyboot, for most people it will be this in varun037's batch file:
set BCD-File="C:\EasyBoot\disk1\BOOT\BCD"

Thanks Again varun037!


--------------
Marc Stewart
Offline
Top of Page Profile Contact Info 
 Post Number: 10
QE_LiTHiUM Search for posts by this member.

Avatar



Group: Members
Posts: 4
Joined: Jul. 2009
PostIcon Posted on: Jul. 20 2009,09:31 Skip to the previous post in this topic.  Ignore posts   QUOTE


(varun037 @ Apr. 07 2009,13:12)
QUOTE
use the default WinVista or any WinPE dvd.

copy the contents to the HDD

the structure would be

dvd1 | - Project Root
        | - BOOT (CONTAINS THE BCD FILE TO BE EDITED)
        | - EFI
        | - SOURCES (CONTAINS THE PE .WIM FILES)
        | - EZBOOT
        | - OTHER FILES

In the boot folder we need to run the command

bcdedit /store bcd /ENUM

This will give you the details of old entry in the boot loader.

u need to note the guid. in my case this is {7619dcc8-fafe-11d9-b411-000476eba25f}

I have no idea what r u talkinng about.....

Where and how must I run this command ?

Is there A special software I need ?

Please can u write it a little clearer for me. thanks for your help.
Offline
Top of Page Profile Contact Info 
21 replies since Mar. 30 2009,10:37 < Next Oldest | Next Newest >

[ Track This Topic :: Email This Topic :: Print this topic ]


Page 1 of 3123>>
reply to topic new topic new poll

» Quick Reply Integrating multiple version of Vista
iB Code Buttons
You are posting as:

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code