Jump to content

Boot wim from existing partition


egorss78

Recommended Posts

Will try to explain this as best as I can. We currently do this with an XP based build we use.

We currently copy a couple boot files and a bootable ISO to a machine, reboot that machine and have it load into a WinPE RAM setup and use some custom script to reimage the machine.

We want to replicate this setup in a vista enviornment, which looks like I need to tweak BCDEdit and use a wim instead of an ISO. What I want to know is if anyone knows how to use BCDEdit to just replace the default boot device with an existing WIM image. I have found many articles that talk about adding a menu item to the boot menu to get this effect, but this requires a unquie GUID on each machine setup, hoping there is a general way to say to the machine "Boot from this WIM next time, regardless of anything else"

So the idea is I could copy a wim file to the local machine, run a script to modify BCDEdit, reboot the machine in a PE environment.

Any ideas? Thanks again.

Link to comment
Share on other sites


use the files from the source cd.

much easier tbh,

%cdrom%\boot (and all its subdirectories)

%cdrom%\EFI (and all its subdirectories)

%cdrom%\bootmgr

make a folder called sources

in that folder rename your wimfile to be boot.wim

the wimfile must be a bootable wim file (like all pe images)

the drive must be FAT32 though. otherwise it will not work.

as for BCD part. there is a new tool with win7 called BCDBOOT. i run the following command

BCDBOOT.EXE %other path for windows% /S C:

dont klnow if that will help ya though but is a thought

Edited by Atheros
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...