1

I'm having an issue regarding a disk imaging process.

  • To get the machine into it's initial state, I first run a simple DISKPART CLEAN, and then restart the machine.

  • I then boot the machine into a Win-PE image, and make 3 partitions. One of which is a boot partition

  • I then apply a .wim image to the boot partition.

  • Finally I use DISKPART to set the boot partition as the active partition.

When I follow these steps, I get the following error:

remove disks or other media 
press any key to restart

If I follow the exact same process a second, third, or fourth time, the machine boots successfully, but I would very much like to get the process to work the first time.

Does anyone have any idea what's going wrong here? I'm quite stumped.

1 Answers1

0

To make a disk bootable and ready for imaging, you will need to do the following BEFORE applying the image:

diskpart This loads the WinPE partitioning tool

2.list disk This will show you all the disks you have available. pick a number

3.select disk # replace # with disk you wanna clean

4.clean This cleans the disk

5.create partition primary This makes creates the partition primary

6.select partition 1 Selects the partition you want

7.active This marks the partition as active

8.format quick fs=ntfs This will format the disk quikly into NTFS

9.assign The system will assign a letter to the disk

10.exit Gets you out of diskpart

Look into using MDT, it automates the whole imaging process for you, no need to run the imagex command by hand.

MDT Guy
  • 3,727