1 / 15

Migrating from Ghost to WIM

Migrating from Ghost to WIM. Mike Stone – Alfred University LabMan 2012. Topics covered. The fundamental differences between Ghost and WIM files How to create a WinPE 3.0 Environment How to create, append, apply, and manage WIM files Applied automation through WinPE 3.0.

damon
Télécharger la présentation

Migrating from Ghost to WIM

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Migrating from Ghost to WIM Mike Stone – Alfred University LabMan 2012

  2. Topics covered • The fundamental differences between Ghost and WIM files • How to create a WinPE 3.0 Environment • How to create, append, apply, and manage WIM files • Applied automation through WinPE 3.0 Mike Stone - Alfred University - LabMan 2012

  3. Topics NOT covered • How to build a Windows 7 image • How to build an unattend.xml sysprep answer file • WDS and/or SCCM integration Mike Stone - Alfred University - LabMan 2012

  4. Where we started from • Ghost 11 and 11.5 • Dell CFI Imaging • Manual Lab Updates Mike Stone - Alfred University - LabMan 2012

  5. The old process • Receive a “seed” system for each unique piece of hardware. • Build a new image • Build a new Netboot Ghost CD • Capture the image • Apply the image via Ghostcast • Update the image periodically (or not) Mike Stone - Alfred University - LabMan 2012

  6. Frequent problems encountered • Ghostcast horribly unreliable. • NDIS2 drivers scarce, difficult to manage. • Hardware generalization difficult Mike Stone - Alfred University - LabMan 2012

  7. Major differences • Ghost can be disk or partition capture/restore. WIM is partition-based only. • Management of WIM files is largely command-line based. • Post-capture file, driver, and update management much easier using WIMs. • WIM can be a container of multiple image indexes. Mike Stone - Alfred University - LabMan 2012

  8. WIM index basics Mike Stone - Alfred University - LabMan 2012

  9. First thing’s first - Prerequisites • Windows Automated Installation Toolkit (Windows AIK). • Familiarity with basic Windows command-line environment. Mike Stone - Alfred University - LabMan 2012

  10. Three basic tools of WIM management with WinPE 3.0 • ImageX:Creates, Appends, Deletes, and Applies WIM images. • DISM: Manages existing WIM files – driver injections, package injections, mounting and unmounting to access file system, etc. • Diskpart: Partitioning Utility. Mike Stone - Alfred University - LabMan 2012

  11. Build your WinPE 3.0 Systemhttp://genesis.alfred.edu • Open Deploy Tools Command Prompt as Administrator • call copype.cmd x86 c:\PE\winpe_x86 • copy c:\PE\winpe_x86\winpe.wim c:\PE\winpe_x86\ISO\sources\boot.wim • DISM /Mount-wim /WimFile:c:\PE\winpe_x86\ISO\sources\boot.wim /index:1 /MountDir:c:\PE\winpe_x86\mount • DISM /image:c:\PE\winpe_x86\mount /Add-Package /PackagePath:"c:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-wmi.cab“ • DISM /image:c:\PE\winpe_x86\mount /Add-Package /PackagePath:"c:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-hta.cab“ • DISM /image:c:\PE\winpe_x86\mount /Add-Package /PackagePath:"c:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-mdac.cab“ • DISM /image:c:\PE\winpe_x86\mount /Add-Package /PackagePath:"c:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-scripting.cab“ • DISM /image:c:\PE\winpe_x86\mount /Add-Package /PackagePath:"c:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-wds-tools.cab“ • copy "c:\Program Files\Windows AIK\Tools\x86\imagex.exe" "c:\PE\winpe_x86\mount\Windows\system32\imagex.exe“ • DISM.exe /unmount-Wim /MountDir:c:\PE\winpe_x86\mount /Commit • oscdimg -n –b c:\PE\winpe_x86\etfsboot.com c:\PE\winpe_x86\ISO c:\PE\winpe_x86\winpe_x86.iso Mike Stone - Alfred University - LabMan 2012

  12. ImageX Imagex /capture /check /verify [source] [destination.wim] “[short descriptor]” “[long descriptor]” Imagex /append /check /verify [source] [existingwim.wim] “[short descriptor]” “[long descriptor]” Imagex /apply /check /verify [wimfile.wim] [indexnumber] [destination] Mike Stone - Alfred University - LabMan 2012

  13. DISM Deployment Image Servicing and Management Dism /mount-wim /wimfile:[wimfile] /index:[index number] /mountdir:[folder to mount into] Dism /image:[folder wim is mounted in] /Add-Driver /forceunsigned /recurse /driver:[folder containing drivers] Dism /unmount-wim /mountdir:[folder wim is mounted in] /commit (or /discard) Mike Stone - Alfred University - LabMan 2012

  14. The Genesis Project Mike Stone - Alfred University - LabMan 2012

  15. Migrating from Ghost to WIM Mike Stone – Alfred University LabMan 2012

More Related