Clint Posted January 17, 2007 Share Posted January 17, 2007 I'm trying to get a grip on how to edit the boot.wim properly.I use these commands:imagex /mountrw C:\Vista\sources\boot.wim 2 C:\Mount.PEimagex /unmount /commit C:\Mount.PEImageX /export /check /compress maximum C:\Vista\sources\boot.wim 2 C:\newboot.wimI get an extracted image #2 message....but after renaming the wim and replace the original boot.wim I get this error when trying to install:Is it a different approach to edit this image?thanks! Link to comment Share on other sites More sharing options...
FireGeier Posted January 17, 2007 Share Posted January 17, 2007 (edited) Hello Clint!I've had exact the same error messages, when trying out to edit boot.wim the first times. Reason for that error is, that boot.wim contains two images. You can get this info with imagex /infoe <PathtoVistaDVD>\sources\boot.wim.To resolve the problem you need to leave the images inside "original" boot.wim. Don't export them. I know that this will let grow your boot.wim. But you have no other easy option.You need to make your changes on the second image inside boot.wim. So first mount the original boot.wim this way:imagex /mountrw <PathtoVistaDVD>\sources\boot.wim 2 C:\MountThan do your changes on the mounted image, like adding a custom shell or bootcritical drivers etc. When finished unmount the image only:imagex /unmount /commit C:\MountUse this boot.wim with your DVD and it will work.Problem is that Vista-Setup expects two files inside boot.wim. And if you export the second image to a new file, the index for the new image will be 1. Seems to be that setup expects 2 here. And you can't export a second file into a .wim file.Hope that was explained well enough.Martin Edited January 17, 2007 by FireGeier Link to comment Share on other sites More sharing options...
Clint Posted January 18, 2007 Author Share Posted January 18, 2007 Thanks for the answer, good to know I'm not alone with that error. I will investigate further.Thanks! 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