MSFN Forum: Can't edit boot.wim properly - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Can't edit boot.wim properly It can't find source in install.wim after editing the image Rate Topic: -----

#1 User is offline   Clint 

  • Go ahead, punk'
  • PipPipPip
  • Group: Members
  • Posts: 414
  • Joined: 03-April 05

Posted 17 January 2007 - 02:00 PM

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

imagex /unmount /commit C:\Mount.PE

ImageX /export /check /compress maximum C:\Vista\sources\boot.wim 2 C:\newboot.wim

I 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:

Posted Image

Is it a different approach to edit this image?


thanks! :)


#2 User is offline   FireGeier 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 405
  • Joined: 24-October 05

Posted 17 January 2007 - 05:50 PM

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:\Mount


Than 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:\Mount


Use 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

This post has been edited by FireGeier: 17 January 2007 - 05:56 PM


#3 User is offline   Clint 

  • Go ahead, punk'
  • PipPipPip
  • Group: Members
  • Posts: 414
  • Joined: 03-April 05

Posted 17 January 2007 - 10:45 PM

Thanks for the answer, good to know I'm not alone with that error. ;)

I will investigate further.

Thanks!

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy