Booting to an Image from a hard Disk
By booting Windows PE from a hard disk and loading it into RAM, you can perform a refresh installation of Windows 7. Once you've booted Windows PE, you can repartition system disks and install the new Windows image. You can also use Windows PE as a Windows Recovery Environment to recover unbootable systems.
To boot Windows PE from a hard disk, follow these steps:
- Boot the computer from prepared Windows PE media.
- At the command prompt, enter diskpart, and then enter list disk. Note the disk number of the primary disk. Typically the primary disk is disk 0.
- Enter select disk n, where n is the primary disk.
- Enter clean to wipe the disk and remove all contents.
- Enter create partition primary size=size, where size (in MB) creates a partition large enough to hold the Windows PE source files.
- Enter select partition 1 to select the partition you just created, and then enter active to mark the new partition as active.
- Enter format fs=fat32 to format the partition with the FAT32 file system.
- Enter exit to quit DiskPart. Don't exit the command prompt.
- Write a new boot sector to the disk by entering bootsect /nt60 c:, where c:
is the drive letter of the primary drive you formatted.
Note Bootsect is in the petools\x86 and petools\amd64 folders within the build. Use the version of Bootsect that supports the type of Windows pe image you are creating. - Copy the contents of your ISO folder to the drive by entering xcopy /echry x:\*.* c:\.
In this tutorial:
- Deploying Windows 7
- Working with Windows PE
- Understanding Windows pe
- Configuring Windows PE
- Preparing a Build environment
- Creating a Build: the essentials
- Mounting a Windows pe Image
- Customizing a Windows PE Image
- Capturing and Optimizing a Build
- Creating a Bootable ISO Image and Bootable Media
- Creating a Bootable USB Flash Drive
- Booting to an Image from a hard Disk
- Adding Windows pe Images to Windows Deployment Services
- Working with Windows RE
- Creating a Customized Windows RE Image
- Creating Windows re recovery Media
- Adding Windows RE Images to Windows Deployment Services
- Deploying Windows with a Customized Windows RE
- Creating Windows Images for Deployment
- Understanding Windows Imaging
- Creating a Windows Install Image
- Configuring and Using Windows Deployment Services
- Setting Up Windows Deployment Services
- Importing Images
- Installing Windows from an Image
- Capturing Images
- Managing access and prestaging Computers
- Modifying Image File Security
- Customizing Windows Images