Jump to content

problem to modify a Winpe image


Recommended Posts

Posted

Hello,

I've problem to modify a WinPe image.

I create a Winpe directory with :

copype.cmd x86 c:\winpe

I mount the image :

imagex /mountrw c:\winpe\winpe.wim 1 c:\winpe\mount

I modify the image as I want and before preparing it in capture it with :

imagex /capture c:\winpe\winpe\mount c:\winpe\winpe_base.wim "WimPe modified" /verify

I prepare and unmount my image :

peimg /prep c:\winpe\mount\windows

imagex /unmount c:\winpe\mount /commit

I replace the boot.wim by my new image and put all the ISO directory on an USB key.

At this step all is ok, WinPe start well on my key.

My problem is to use my winpe_base.wim image to add modifications:

imagex /apply c:\winpe\winpe_base.wim 1 c:\winpe\mount

Add modifications to c:\winpe\mount

peimg /prep c:\winpe\mount\windows

imagex /capture c:\winpe\mount c:\winpe\boot.wim "Modified" /verify

replace the boot.wim in the ISO directory

format the USB key

Copy the ISO directory on the USB key

Now I've always an error on \windows\system32\boot\winload.exe status 0xC0000001

Where I'm wrong ?

Is it the right way to use a captured Winpe image?

Could you help me please?

Thanks


Posted

you need to use the boot option when capturing:

imagex /capture c:\winpe\winpe\mount c:\winpe\winpe_base.wim "WimPe modified" /boot /verify

You could also add the compress option to further compress the wim file, by default fast compression is used.

imagex /capture c:\winpe\winpe\mount c:\winpe\winpe_base.wim "WimPe modified" /boot /compress maximum /verify

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...