2010 release
Creating
an Embedded Recovery CD by Using Windows PE and xopy command
Step 1: Install and Boot Until You Have a Master Image
Once you have deployed the image to your device, you need to boot the device.
This allows you to:
.Verify that your device and applications work
properly.
.All extraneous applications have been removed – remove
any internal diagnostic, testing, or debugging applications that you don't want
to appear on the customer's device.
.The run-time image has been resealed so that a new and
unique SID is created on each device when the image is deployed.
.The image is available offline on a drive accessible
from your development computer. This can be a mounted SDI volume, a folder on
your development computer, or a Universal Naming Convention (UNC) network path.
Step 2: Image cloning
For mass deployment, you should reseal the device after completing boot. This
ensures that when the image is deployed, each device has a unique security ID
(SID) and computer name.
To use the fbreseal command, type the following syntax in a command
prompt.Then, shut down the device.
Example
The following code sample shows a typical syntax.C:\>fbreseal -keepall
Note . These image files are as Master image now. You can copy it to your
development computer, for example :”C:\master image”.
Step 3: Copy the OS image files, Windows PE to a Working Folder
Note. Choose Your Windows PE Options
Regardless of which version of Windows PE you use on your recovery CD, you must
use the Windows PE Toolkit or OEM Preinstall Kit (OPK) for the final steps that
precede actually burning the CD. When creating the .iso file, which is the
image file of the entire CD, you must use the oscdimg tool and etfsboot.com.
These are only available in the Windows PE toolkit or the OPK. Oscdimg.exe creates
the .iso file, and etfsboot.com creates the CD boot sector. If you use other
software to create the .iso image, the CD will not boot. Once you have created
the .iso file, you can burn the CD with any software that burns an ISO-9660
compliant image.
Windows PE is available in the following two forms:
· Self-contained version
Windows PE is supplied on Windows XP Embedded CD-ROM Disc 1, or a separate
Windows PE disc, depending on whether you have the Full Price Product or the
Upgrade Product. In this form, it can be used as a boot disc to perform many
development tasks. You can also include it on a recovery CD, deployment disc,
or field upgrade disc, along with SDI, to enable installation and deployment of
the SDI image.
To use this version in your CD-ROM or Deployment, you will copy the entire I386
folder (the folder and folder name) from Windows XP Embedded CD-ROM Disc 1.
· Customizable version
You may also create your own customized version of Windows PE with a separately
licensed Windows PE toolkit, or with the Windows PE tools included in the OPK.
To create a customizable version, follow the instructions in the Windows PE
Help, provided with the Windows PE toolkit and the OPK.
In either form, there are specific licensing restrictions governing the use of
and redistribution of Windows PE. For more information, see the appropriate
license that accompanies your version.
Once you have created your image file, and chosen or customized a version of
Windows PE, you can assemble your recovery disc components.
1. Create a new working folder on your development computer.
For example, create a folder named "Working."
2. Copy Windows PE to the Working folder in one of the following ways:
Insert your Windows XP Embedded disc 1 into your computer, and copy the following
to the Working folder:
· I386 folder
· win51 file
· win51ip file
· win51ip.SP2 file
· winbom.ini
-or-
Copy your custom version of Windows PE to the Working folder.
3. Copy the OS image files to a new folder under Working folder—XPE_OS folder.
4. Copy any additional files you need to the Working folder, such as
installation instructions or additional files you want to install outside of
the image.
When you have copied all of the necessary files to the Working folder, it
should look something like this:
STEP4
(Option, if you want to manual CD boot, you can omit this step): Configure the
CD Boot process to Auto install the image
Add some scripts to i386\system32\starnet.cmd
cd\
Format c: / fs:ntfs /y /q
Xcopy /h /e /y .\OS image files folder . c:\
Exit
STEP 5: Create a Bootable CD
Once you have all of the files together in the working folder, you can create
an .iso file and burn that file to a CD. To burn the CD, you need software that
burns an ISO-9660 compliant image.
Note You must use oscdimg.exe and etfsboot.com to create the .iso file. These
are only available in the Windows PE toolkit or the OPK. Oscdimg.exe creates
the .iso file, and etfsboot.com creates the CD boot sector. If you use other
software to create the .iso image, the CD will not boot.
1. Create a new winpe folder on your development computer.
2. Copy the OPK/Windows PE Toolkit utility under WINPE folder to WinPE foloder
3. To create an .iso file with the OPK/Windows PE Toolkit oscdimg utility
C:\winPE\>Oscdimg –h –n –o –m –bETFSBoot.com C:\ working C:\ working.iso
Note. Locate the winpe.chm help file provided with the OPK and Windows PE
Toolkit.
Search for the topic "Creating a Customizable Windows PE Image"
and/or "Creating a Custom Windows PE CD."
STEP 6: Burn the .iso file, Duplicate Your Recovery CD, and Distribute with
Installation Instructions
Once you have created the .iso file, you can burn to the CD with any software
that burns an ISO-9660 compliant image.
Once you have a flawless CD, you can duplicate the CD and distribute it with
installation instructions. Depending on how you intend to use the CD, your
instructions should explain how to use it for recovery, deployment, or field
upgrade.
Your instructions may be as simple as telling the user to insert the CD in the
target device, boot, let it run its course, and remove the CD when prompted to
reboot. You may want to include post-install instructions for when the device
restarts in its new image.
STEP 7: (Option, if you already set auto CD boot, you can omit this step): Boot
the Device with the CD, and Install the Image
Note. Make sure the target device is configured to allow booting from CD-ROM.
Usually this is specified in the target device's BIOS.
Step by Step install the image
1. Start the target device with the recovery CD-ROM in the CD drive.
The device starts in Windows PE and provides a command prompt, at drive X:.
2 At the command prompt, type:
Format c: / fs:ntfs /y /q
This format the partition
3 Change directories to the location of your SDI file, and then type:
Xcopy /h /e /y .\OS image files folder . c:\
This copy all image files to the partition.
4. When a message appears that the writing is complete, exit Windows PE, remove
the CD-ROM, and restart the computer.
Exit
Test the run-time image on the device. Troubleshoot as needed until you have an
image that installs from a burned CD and runs correctly.
沒有留言:
張貼留言