MSFN Forum: [GUIDE] Creating WIM images of Windows XP for system deployment using - MSFN Forum

Jump to content



  • 8 Pages +
  • « First
  • 2
  • 3
  • 4
  • 5
  • 6
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

[GUIDE] Creating WIM images of Windows XP for system deployment using Windows PE, Downloadable tutorial Rate Topic: -----

#61 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,239
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 February 2008 - 07:33 AM

View Posticeangel89, on Feb 6 2008, 06:21 AM, said:

View PostIcemanND, on Feb 5 2008, 11:18 PM, said:

@ Iceangel89 - Page 6 step 6

You should be able to remount the wim and copy those files. the copy the wim back into the iso folder and recreate the iso.


err u mean that i have to find out whatever services i need? like imagex? i dont see imagex there did i? but anyway i'll try that.

Good guide tho :thumbup


That step does the copying of the tools to the CD, imagex and others.


#62 User is offline   iceangel89 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 453
  • Joined: 10-February 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 February 2008 - 09:11 AM

mmm did that but somehow its missing... maybe it didn't go into the wim... but nvm

now when i start from step 5

Quote

5. Now mount the Windows PE boot image as a folder on your machine so that it may be edited by typing the following: imagex /mountrw c:\winpe_x86\winpe.wim 1 c:\winpe_x86\mount


then at step 9

Quote

9. Prepare the Windows PE Image by typing, this removes unneeded items from the image: peimg /prep c:\winpe_x86\mount\Windows /f


i get

C:\Program Files\Windows AIK\Tools\PETools>peimg /prep D:\winpe_x86\mount\Window
s /f
Preinstallation Environment Image Setup Tool for Windows
Copyright (C) Microsoft Corporation. All rights reserved.

The image directory specified is a Windows PE image that was
previously prepared with the /PREP command.

PEIMG failed to complete the operation with status code 0x80070002.


so i skip that step?

#63 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,239
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 February 2008 - 12:48 PM

Unless you started completely over from scratch you only need to run the Prep command on the mounted image once. It removes the installable packages that you did not install.

#64 User is offline   DigeratiPrime 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,490
  • Joined: 18-August 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 February 2008 - 07:58 PM

Although I've been meaning fully go through the guide again since Vista/WAIK SP1 released, I wanted to point out a few "regressions" I noticed in the new pdf :D

Copying and pasting the text inside the quotations does not preserve line breaks.
On Page 2 there are two instances of "Error! Bookmark not defined." one at "Installing drivers to Windows PE" a second at "Install_Drivers.CMD".
I am not sure why but the new pdf is about 4x the size of the original one despite being about the same length and having no images.
WAIK (SP1) now available, maybe mention or add a download link on page 5 since its not immediately obvious?

BTW I integrated the LAN Driverpack before as well, a couple drivers did not integrate but those that did did not cause any problems. I am going to be looking further into the integration of the new series of driverpacks soon.

Keep up the good work :thumbup

#65 User is offline   nationals 

  • Group: Members
  • Posts: 2
  • Joined: 01-April 08

Posted 01 April 2008 - 05:51 AM

Hi,
But where can I get the following file?

Install_MSD.cmd & Install_Network.cmd?

 
if "%installmsd%"=="true" call Install_MSD.cmd %MSDPath%
if "%installlan%"=="true" call Install_Network.cmd %LANPath% 



thanks!

#66 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,239
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 April 2008 - 06:28 AM

WOW. over 3000 downloads and no one has ever noticed that, including me.

Both lines should be changed to:
if "%installmsd%"=="true" call Install_Drivers.cmd %MSDPath%
if "%installlan%"=="true" call Install_Drivers.cmd %LANPath%


#67 User is offline   nationals 

  • Group: Members
  • Posts: 2
  • Joined: 01-April 08

Posted 01 April 2008 - 10:13 AM

:rolleyes:

I found this after I download and read the pdf file.

but one more thing,

the code
set Drivers=% 1

should be change to
set Drivers=%1

:thumbup

and I have add the following to the build_all.cmd file:

Set installghost=true
Set GhostPath=C:\Apps\Ghost

if "%installghost%"=="true" xcopy %GhostPath% %PEDest%\mount\windows



and then, put the ghost32.exe(ver. 8.3) and ghostexp.exe to the folder - C:\Apps\Ghost.

:thumbup

#68 User is offline   GTO455 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 17-May 07

Posted 01 April 2008 - 07:46 PM

Great guide IcemanND, Thanks!

Can someone use the the following in an example? I can't seem to wrap my head around this part. I understand that you create the file, but how does the syntax look?

Install_Drivers.CMD
When calling pass a variable pointing to the driver directory which contains the drivers you wish to install, the given directory will be recursively searched.

  
set Drivers=%1 
set DestFolder=c:\winpe_x86 
pushd %Drivers% 
for /f %%i in ('dir /s /b *.inf') do ( peimg /inf:%%i %DestFolder%\mount\windows 
if ERRORLEVEL 1 echo %%i>>%Drivers%\bad_driver.txt 
) 
popd


#69 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,239
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 April 2008 - 08:15 PM

dir /s /b *.inf returns a list of all of the INF files in the directory passed to the batch file which is stored in the %Drivers% variable.

each file in the list is then passed to the PEIMG command to be processed and then the process is repeated until the end of the list.

#70 User is offline   GTO455 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 17-May 07

Posted 02 April 2008 - 08:42 AM

Ok..... so let's say I have a directory called "MyDrivers" off of my C:\ drive. And that folder contains several subfolders with *.inf, *.cat, etc. files in them. How would I use the Install_Drivers.CMD file to parse those folders? (Like I said, I'm not understanding this part...)


View PostIcemanND, on Apr 1 2008, 10:15 PM, said:

dir /s /b *.inf returns a list of all of the INF files in the directory passed to the batch file which is stored in the %Drivers% variable.

each file in the list is then passed to the PEIMG command to be processed and then the process is repeated until the end of the list.


#71 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,239
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 April 2008 - 09:12 AM

install_drivers.cmd c:\MyDrivers


#72 User is offline   GTO455 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 17-May 07

Posted 02 April 2008 - 07:57 PM

Worked like a charm! Thank you!

View PostIcemanND, on Apr 2 2008, 11:12 AM, said:

install_drivers.cmd c:\MyDrivers


#73 User is offline   nole_kage 

  • Group: Members
  • Posts: 2
  • Joined: 11-April 08

Posted 13 April 2008 - 02:04 PM

IThe information on DISK PART was a life saver. I had some problems applying a VISTA image I made months back. Used the DISK PART that was on the Win PE that is generated in the MDT as a genericx86.iso and it finally booted. Many thanks to you and the people of these forums for wonderful info. I'll post the problem I had and the solution for it in one of the threads here just incase anyone runs into this problem. Once again thanks.

:thumbup

#74 User is offline   sagarsanghavi 

  • Group: Members
  • Posts: 1
  • Joined: 27-April 08

  Posted 27 April 2008 - 08:56 AM

Hi Sir,

I went to your pdf for winpe creation and other good scripts, i Had one query i have created a master wim File , Using all you scripts, As i want to have the CD/DVD for the installation of Wim Images for Windows Xp, My master image is more than 5GB so when i burn the DVD its files system change from Bootable to UDf and then i am not able to but, So for that if want to split and Put diffrenton CD/DVD can help me in Step by Step procedure on how to split and and merge the wim image to Deploy on MAchine using CD/DVD or can show me any other ay to deploy the master image which is more then 5 GB,

Your Help is apprectiated..........

Thanks & Regards,

Sagar Sanghavi

View PostIcemanND, on Jul 19 2007, 01:29 PM, said:

I wrote up this tutorial for my coworkers but my boss is reluctant to let me give it out. He's afraid i will create too much additional support work for me.

So rather than let it collect dust on my hard drive I thought I would at least post it here for everyone else's reading pleasure.

If you have additions, changes, find errors, etc. let me know and I'll update as appropriate and give credit where due.

Also, this does not have anything to do with WDS directly; though I'm sure that some of the processes described in the document may apply.

Attachment Creating...ndows_PE.pdf
1/14 - added export command to build_all.cmd script and removed erroneous spaces. Updated information on adding Mass storage drivers for current Mass Storage Driverpack version - Thanks DigeratiPrime. 1439 prior downloads
8/25 - updated added method for adding drivers to running PE and shrinking image using export command. Thanks to p4ntb0y for the suggestions. 896 prior downloads
7/26 - Updated PDF to reflect comments from JuMz and chiners_68. Thanks guys. 140 prior downloads


#75 User is offline   Philep 

  • Group: Members
  • Posts: 3
  • Joined: 30-April 08

Posted 08 May 2008 - 01:38 AM

Hi, I tried this guide, first i've made the winPE cd. Then i added the boot.wim to boot images on WDS. I also made an image using imagex and the Windows PE cd. But when i boot a computer via PXE, the windows vista environment starts and runs X:\Windows\system32\wpinit After that it does nothing. Anyone got an idea what this could be?

Thanks

Philippe.

#76 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,239
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 May 2008 - 06:36 AM

unless you added commands to startnet.cmd before unmounting the boot.wim that is all that it does by default.

#77 User is offline   Philep 

  • Group: Members
  • Posts: 3
  • Joined: 30-April 08

Posted 08 May 2008 - 07:53 AM

DOH, I haven't read the part about startnet.cmd!! **** that was stupid.

<EDIT> Well i've read about the startnet.cmd, I have made the C:\winpe_x86\mount\windows\system32\Winpeshl.ini file.
The myshell.exe, is that the bootmgr.exe that is located under D:\RemoteInstall\Boot\x86\bootmgr.exe?
</EDIT>

Thanks

Philippe Vranken
Belgium :hello:

This post has been edited by Philep: 08 May 2008 - 08:46 AM


#78 User is offline   Philep 

  • Group: Members
  • Posts: 3
  • Joined: 30-April 08

Posted 09 May 2008 - 02:10 AM

I tried http://technet2.microsoft.com/WindowsVista...3.mspx?mfr=true

But it didn't really work hehe. When i point to WDSBNP.COM i get in a loop hehe. I'm going to start back from 0 and try to follow your guide. Though, when i mount the winpe_x86, i have to make a file "c:\winpe_x86\mount\windows\system32\startnet.cmd". What commands do i have to use to open the GUI so i can finally choose the images that i have made :D

Thanks

Philippe Vranken

#79 User is offline   ichernov 

  • Group: Members
  • Posts: 1
  • Joined: 01-June 08

Posted 01 June 2008 - 12:20 AM

Hi, thanks for the guide.

My question is whether any of you previously worked with any system other than Windows and WDS in particular. Our environment is solemnly Linux based, and open source always better cause it's free.

Anyway, PXE boot I'm sure can be done via Linux, just looking into ways of deploying it.

Thanks in advance.

#80 User is offline   hatem20 

  • Group: Members
  • Posts: 2
  • Joined: 21-June 08

Posted 21 June 2008 - 02:51 PM

thank you very much .....

Share this topic:


  • 8 Pages +
  • « First
  • 2
  • 3
  • 4
  • 5
  • 6
  • Last »
  • 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