jamie glendinning [email protected]

54
Jamie Glendinning [email protected] ENGL Imaging Toolkit™ 6 Windows XP unattended install using bootable USB

Upload: arnold

Post on 11-Jan-2016

47 views

Category:

Documents


3 download

DESCRIPTION

ENGL Imaging Toolkit™ 6 Windows XP unattended install using bootable USB. Jamie Glendinning [email protected]. Agenda. Introduction Overview Requirements Project settings Deployment Wizard Scenarios. Introduction. Introduction. Level Intermediate Duration 30 minutes - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Jamie [email protected]

ENGL Imaging Toolkit™ 6Windows XP unattended install using bootable USB

Page 2: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited2

Agenda

Introduction

Overview

Requirements

Project settings

Deployment Wizard

Scenarios

Page 3: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited3

Introduction

Page 4: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited4

Introduction

Level Intermediate

Duration 30 minutes

AssumptionsAn understanding of the ENGL build process

Page 5: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited5

Overview

Page 6: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited6

OverviewInstalling Windows XP

There are two main methods of creating a Windows XP base image using ENGL Imaging Toolkit.

•Create a Windows PE ISO image with unattended install files included. Boot from ISO/DVD and Windows XP will install.

•Create unattended install files. Then use Windows PE to boot to access media containing unattend files.

It is important that we can use a repeatable process to create the base image as that reduces the chance of image corruption

Page 7: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited7

OverviewInstalling Windows XP

Hardware sometimes comes without a CD-ROM/DVD drive and as such it is not always possible to use a bootcd to install Windows XP onto the device in order to create a base image.

It is possible to take the Windows PE files and copy them to a USB device then use that media to boot and install Windows XP

Note: There is normally a suitable workstation or laptop that does have an appropriate CD-ROM/DVD drive somewhere in the organisation

Page 8: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited8

OverviewAdvantages

Advantages to using a USB device:

•DVD writer not required

•DVD drive not required on machine where base image is being created

•If configuration changes are required the OS source files are accessible without recreating ISO image

Note: ENGL TID 2010014 https://englnet.engl.co.uk/kb/tid-2010014.htm covers “Updating boot media created by ENGL Imaging Toolkit 6” if or when changes are required

Page 9: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited9

Requirements

Page 10: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited10

RequirementsWindows XP Unattend

File Library

Windows XP SP3 Media

Mass Storage Drivers

Microsoft .NET Framework 3.5 Service Pack 1 (Full package)

USB device

•Minimum 2Gb USB device

Page 11: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited11

File Library

Page 12: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited12

File LibraryWindows XP Media

Import the appropriate Windows XP media for your environment into Build Console

Page 13: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited13

File LibraryMass Storage Drivers

Import the appropriate Mass Storage Drivers (MSD) for your environment into Build Console

Most environments require multiple Mass Storage Drivers to be loaded to ensure all hardware types are supported with Windows XP

Note: If the appropriate MSD driver for a hardware device is not built into the base image then when the image is restored you will see a Windows Stop 7B error (BSOD)

Page 14: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited14

File LibraryMass Storage Drivers

When adding MSD drivers to the file library ensure all appropriate versions are included, e.g.

iaStor/iaAHCI - 10.5.0.1026 (or newer)

iaStor/iaAHCI - 9.6.0.1014 (or newer)

iaStor/iaAHCI - 8.9.0.1023 (or newer)

iaStor/iaAHCI - 7.8.0.1012 (or newer)

Vmscsi - 1.2.0.4

Page 15: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited15

File LibraryMass Storage Drivers

Prior to importing the MSD it can be useful to pre-configure the folder structure within the file library.

Page 16: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited16

File LibraryMass Storage Drivers

When importing – start with the newest file – deselect copy source files to File Library as the files are already in the file library

Then repeat until all MSD drivers have been imported.

Page 17: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited17

File Library.Net Framework

Import the appropriate Microsoft .NET Framework file into the file library.

•.NET Framework 2.0 Service Pack 1 is required for ZCM 10.x base images

•Microsoft .NET Framework 3.5 Service Pack 1 is required for ZCM 11 base images

Page 18: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited18

USB Device

Page 19: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited19

USB Device

Format USB device before use

Minimum drive size:

500Mb as a PE boot device

2Gb as a PE boot device with unattended Windows XP install files

Page 20: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited20

Project settings

Page 21: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited21

Project Settings

There are no specific configuration settings required to run an unattended installation from USB media.

Ensure that the Project settings are validated and that the correct Windows Product Key is configured.

Page 22: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited22

Deployment wizard

Page 23: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited23

Deployment WizardBase image creation

Scenario 1 – USB device containing Unattended installation files

Scenario 2 – USB Device connects to network share. Unattended installation runs from network

Page 24: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited24

Scenario 1

Page 25: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited25

Base image creationScenario 1

Open Windows XP Project within Build Console

From the Tools menu select Deployment Wizard then click Next

From the Task Selection page, select Base image preparation then click Next

From the Boot Media options page select Include unattended installation files in the ISO image and Automatically start unattended installation process, then click Next

Page 26: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited26

Base image creationScenario 1

Select appropriate Mass storage Drivers.

Note: Only tick add to unattend column for a driver if that driver is required by the hardware that is being used to create the base image.

Click Next

When prompted click Next to start the Deployment Wizard

Once the Deployment Wizard has completed, check the Open project folder option and click Finish

Page 27: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited27

Base image creationScenario 1

Copy contents of <project folder>\WinPE\ISO\ to the root of the USB device

Insert USB device into appropriate hardware and on Boot select USB device

Windows PE will load then will prompt with a message: “This batch file will remove all partitions from this disk and begin the Windows Unattended installation Only press Y if you are certain you wish to do this!”

Press Y to start the process

Windows XP will now install unattended from the USB device

Page 28: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited28

Scenario 1Demonstration

Page 29: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited29

Base image creationScenario 1

Page 30: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited30

Base image creationScenario 1

Copy files from <project folder>\WinPE\ISO\ to USB Drive

Page 31: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited31

Base image creationScenario 1

Insert USB device into machine and then boot from the USB device

Page 32: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited32

Page 33: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited33

Base image creationScenario 1

Create the base image

Shut down the machine then PXE boot the machine into the ZCM imaging environment

From Zim, select the Maintenance menu then select the Development menu

Select the Make an image option and name the image winxp-sp3-x86-postsp.zmg then press OK

The base image has now been created successfully

Page 34: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited34

Scenario 2

Page 35: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited35

Base image creationScenario 2

Open Windows XP Project within Build Console

From the Tools menu select Deployment Wizard then click Next

From the Task Selection page, select Base image preparation then click Next

From the Boot Media options page select Create Windows Preinstallation Environment installation ISO de-select Include unattended installation files in the ISO image and Automatically start unattended installation process, then click Next

Page 36: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited36

Base image creationScenario 2

Select appropriate Mass storage Drivers.

Note: Only tick add to unattend column for a driver if that driver is required by the hardware that is being used to create the base image.

Click Next

When prompted click Next to start the Deployment Wizard

Once the Deployment Wizard has completed, check the Open project folder option and click Finish

Page 37: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited37

Base image creationScenario 2

On the Build Console machine create a Windows share of the <project folder>\unattend\folder

Assign appropriate access rights to this share

Copy contents of <project folder>\WinPE\ISO\ to the root of the USB device

Page 38: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited38

Base image creationScenario 2

Insert USB device into appropriate hardware and on Boot select USB device

Windows PE will load and display a command prompt

Connect to network share created earlier

net use k: \\<buildconsole ip address>\<share name> /user:<user name> <user password>

Change to k: drive

K:

Page 39: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited39

Base image creationScenario 2

Launch diskpart script to partition local disk

Diskpart –s diskpart.txt

Launch unattend.bat to start unattended installation of Windows XP

Unattend.bat

Page 40: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited40

Scenario 2Demonstration

Page 41: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited41

Page 42: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited42

Base image creationScenario 2

Copy files from <project folder>\WinPE\ISO\ to USB Drive

Page 43: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited43

Base image creationScenario 2

Insert USB device into machine – then boot from the USB device

Page 44: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited44

Page 45: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited45

Base image creationScenario 2

Page 46: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited46

Base image creationScenario 2

Create the base image

Shut down the machine then PXE boot the machine into the ZCM imaging environment

From Zim, select the Maintenance menu then select the Development menu

Select the Make an image option and name the image winxp-sp3-x86-postsp.zmg then press OK

The base image has now been created successfully

Page 47: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited47

Summary

Page 48: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited48

Summary

It is possible, by following the steps in this TechBite, to create your base image using USB boot media

Page 49: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited49

Issues

Page 50: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited50

Issues

If you have any issues with the procedures detailed in this TechBite let us know!

•Log an incident on englnet

https://englnet.engl.co.uk/nps

•Report an issue via support forum - engl.support.imagingtoolkit6.buildprocess

•Email [email protected]

Page 51: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited51

More information

Page 52: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited52

More Information

Useful links Product information and Downloads

www.engl.co.uk/products/imagingtoolkit

Success Stories

www.engl.co.uk/company/success

Partners

www.engl.co.uk/partners

Page 53: Jamie Glendinning Jamie_Glendinning@engl.co.uk

Copyright © Expert Networking Group Limited53

More Information

Future Events Tech Bite sessions

Brainshare

www.engl.co.uk/events

Page 54: Jamie Glendinning Jamie_Glendinning@engl.co.uk

www.engl.co.uk