Topic: Integrating multiple version of Vista, Integrating multiple version of Vista | < Next Oldest | Next Newest > |
|
Post Number: 1
|
varun037 

Group: Members
Posts: 19
Joined: Dec. 2008
|
 |
Posted on: Apr. 01 2009,06:24 |
|
 |
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
|
 |
|
|
Post Number: 2
|
varun037 

Group: Members
Posts: 19
Joined: Dec. 2008
|
 |
Posted on: Apr. 07 2009,08:12 |
|
 |
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.
|
 |
|
|
Post Number: 3
|
|
Post Number: 4
|
varun037 

Group: Members
Posts: 19
Joined: Dec. 2008
|
 |
Posted on: Apr. 07 2009,08:17 |
|
 |
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
|
 |
|
|
Post Number: 5
|
|
Post Number: 6
|
|
Post Number: 7
|
varun037 

Group: Members
Posts: 19
Joined: Dec. 2008
|
 |
Posted on: Apr. 09 2009,03:20 |
|
 |
remember not to use any spaces in filena variable
|
 |
|
|
Post Number: 8
|
mmarx82 

Group: Members
Posts: 35
Joined: May 2006
|
 |
Posted on: Apr. 27 2009,15:30 |
|
 |
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
|
 |
|
|
Post Number: 9
|
mmarx82 

Group: Members
Posts: 35
Joined: May 2006
|
 |
Posted on: Jun. 08 2009,16:25 |
|
 |
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
|
 |
|
|
Post Number: 10
|
|
|