Jump to content











Photo
- - - - -

how to add win pe wim to installation wim?

wim

  • Please log in to reply
4 replies to this topic

#1 bluespy

bluespy

    Member

  • Members
  • 31 posts

Posted 09 March 2012 - 01:01 AM

how to add win pe wim to installation wim?

I have two iso files.
The installation iso file has two menus: 1. windows repair and 6-in-1 installation of windows 7.
And another iso file is windows 7 x86 pe which is fastest I've met.

For adding pe to installtion wim, I followed RMPrepUSB's tutorial - 16 - How to boot to different WinPE versions using a single boot.wim that contains multiple images at http://www.rmprepusb...multi_boot-wim.

1. downloaded "wimpatched" file and move to usb's root.
2. downloaded "checkwim" - JFX's tool file - and move to "d:\usb_multiwim\tool" with imagex and gimagex.
3. wim work

1) 1st try
a) copy "boot.wim" from windows 7 installation disc to "d:\usb_multiwim\wims\win7install_wim"
B) apply "boot.wim" from win7 x86 pe iso to "d:\usb_multiwim\wims\win7pe"
c) append d:\usb_multiwim\wims\win7pe d:\usb_multiwim\wims\win7install_wim\boot.wim
d) copy d:\usb_multiwim\wims\win7install_wim\boot.wim to usb:\sources
e) boot any menus to windows installation screen.

2) 2nd try
a) copy "boot.wim" from win7 x86 pe iso to "d:\usb_multiwim\wims\win7pe"
B) windows 7 installation disc's wim file has two wims by checkwim.

title Boot image 1 in boot.wim "Microsoft Windows PE (x64)"
map --mem /wimpatched (rd)
write --offset=0x654C4 (rd)+1 \x68\x0E\x09\x00
write --offset=0x654CC (rd)+1 \x95\x6D\xA3\x09
write --offset=0x654D4 (rd)+1 \x28\x67\x2B\x00
write --offset=0x654DC (rd)+1 \x01\x00\x00\x00
chainloader (rd)+1
root ()

title Boot image 2 in boot.wim "Microsoft Windows Setup (x64)"
map --mem /wimpatched (rd)
write --offset=0x654C4 (rd)+1 \x06\xB8\x09\x00
write --offset=0x654CC (rd)+1 \xAF\x5D\xC9\x0A
write --offset=0x654D4 (rd)+1 \x60\x36\x2F\x00
write --offset=0x654DC (rd)+1 \x02\x00\x00\x00
chainloader (rd)+1
root ()



apply "boot.wim" from windows 7 installation disc to "d:\usb_multiwim\wims\win7install_wim"


				imagex /apply d:\usb_multiwim\wims\win7install_wim\boot.wim 1 d:\usb_multiwim\wims\win7install_wim\1

				imagex /apply d:\usb_multiwim\wims\win7install_wim\boot.wim 2 d:\usb_multiwim\wims\win7install_wim\2


c) append wims to win7pe wim

			imagex /append imagex /apply d:\usb_multiwim\wims\win7install_wim\boot.wim 1 d:\usb_multiwim\wims\win7install_wim\1 d:\usb_multiwim\wims\win7pe\boot.wim

			imagex /append imagex /apply d:\usb_multiwim\wims\win7install_wim\boot.wim 1 d:\usb_multiwim\wims\win7install_wim\2 d:\usb_multiwim\wims\win7pe\boot.wim


d) copy d:\usb_multiwim\wims\win7pe\boot.wim to usb:\sources
e) boot any menus to windows installation screen.

Please let me know what's wrong and how to put these three wim files to my usb.

Thanks in advance.

#2 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 09 March 2012 - 10:44 AM

What are you trying to achieve?
Your link is bad (has a . on the end) http://www.rmprepusb.../multi_boot-wim

The ImageX syntax is
imagex /append image_path image_file {"description"} {/boot | /check | /config configuration_file.ini | /scroll | /verify}

There should be no /apply???

I recommend always use /check /verify?

Why do you talk about x86 and then have x64 menu
if you want to install different versions of win7,vista,server 2k8R2 then see tutorial #43.

#3 bluespy

bluespy

    Member

  • Members
  • 31 posts

Posted 09 March 2012 - 03:50 PM

Developer/

Thanks for your kindness.

1. I want to make these menu.

1) installation windows 7 x64
2) windows 7 x64 recovery
- These are the menus at 6-in-1 installation disc of windows 7 which I got from some blog. Actually there is one more menu - windows 7 x86 recovery.
3) windows 7 pe
- this is a menu at windows 7 pe which I got different blog. This pe starts really small windows 7 at usb.

or
1) installation windows 7 x64
2) windows 7 pe

2. Yes I got something wrong when paste this post. About the imagex syntax, I just followed the tutorial.

Imagex /apply c:win7pe64boot.wim 1 c:multipe2
Imagex /append c:multipe2 c:boot.wim "your description goes here"

As you showed imagex syntax, I would try this command.

imagex /append d:usb_multiwimwimswin7install_wim1 d:usb_multiwimwimswin7peboot.wim {"description"} /boot /check /verify

3. About "tutorial #43", I am not interesting at several windows. What I want is only put these two wim files into my usb with menus.

4. Another question is cmd file. Can I make a one cmd file with these "apply" and "append" commands just listing commands, just like this.

Imagex /apply c:win7pe64boot.wim 1 c:multipe2
Imagex /append c:multipe2 c:boot.wim "your description goes here"
Imagex /apply c:visatpe64boot.wim 1 c:multipe3
Imagex /append c:multipe3 c:boot.wim "your description goes here"
Imagex /apply c:win7peboot.wim 1 c:multipe4
Imagex /append c:multipe4 c:boot.wim "your description goes here"

#4 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 09 March 2012 - 04:02 PM

So you want us to tell you how to put a 6-in-1 which you got from 'some blog' without us knowing how it was prepared?
Tutorial #43 allows you to install and recover Win 7 x64. You don't have to add Win 7 x86 or other OS's if you don't want to!
To add WinPE, just add the files to the USB stick and create a grub4dos menu item to boot to /bootmgr or add the WinPE ISO file.

#5 bluespy

bluespy

    Member

  • Members
  • 31 posts

Posted 09 March 2012 - 04:25 PM

steve6375/

Please be understood I don't know how 6-in-1 was prepared. I found only the iso file. Thus I put into usb with rmprepusb. So I used two usbs - installation usb and pe usb - so long time whenever I re-install windows 7 or repairs.

3 days ago I visited rmpreusb site and found "tutorial #16".

And I am studying multipe leopard, thus I hope I would make my usb with these menus. But at this time I have to read so many article and documents understanding hot to use leopard.

And I tried "imagex /append d:usb_multiwimwimswin7install_wim1 d:usb_multiwimwimswin7peboot.wim {"description"} /boot /check /verify", but still "pe" menu boot windows 7 installtion.

Now I'll try "tutorial #43" for putting pe menu.





Also tagged with one or more of these keywords: wim

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users