Unable to detect the target hard disk

You are here in this page as the OS Deployer prompted you with the error message - "Unable to detect the target hard disk" at the time of deployment or while creating an offline image. This happens while your OS Deployer is unable to access the specified hard disk.

Why am I getting this error?

You may encounter this error due to the following reasons.

  1. The specified disk / storage driver is not available in the bootable media or while deploying an image captured by offline imaging technique.
  2. The SATA mode BIOS settings in the target computer and the computer from which the image is acquired do not match.
  3. The disk number provided while defining the deployment template is incorrect.

How do I resolve this?

Closely follow the steps given below to resolve the issue.

Ensure that the storage drivers are added properly to the bootable media

  1. From your OS Deployer server, navigate to Deployment tab -> Bootable Media -> Create bootable media or choose to modify the bootable media you've created already and ensure that the required drivers that are compatible with the target computer are added.Read the steps to create a WinPE media.
  2. If the drivers compatible with the target computers are not added, make sure to create a manual collection and add the drivers obtained from the vendors' website Learn how to create a manual collection.
  3. While creating bootable media, ensure you've added the right set of storage drivers compatible with the target computer's vendor.

Check and ensure that the SATA mode is set to AHCI in the BIOS settings

The existing hard disk driver in the WinPE tool, might not support other SATA modes. To resolve this, set the SATA mode to AHCI in the target computer and retry deploying the image.

NOTE :Once the deployment is successful, ensure to revert the SATA mode setting or set it as same as the computer from which the image was acquired. This will avoid issues while trying to boot the computer.

Check and ensure the target hard disk and the hard disk number is available

  1. From the target computer that is booted using WinPE, open command prompt (by using Alt + Tab) and execute the command select disk <Disk number>, for eg, if the disk number is 0, execute the command as select disk 0.
  2. Now execute the command detail disk. You can get the complete details of the disk. You can use the same set of commands to check the other disks and ensure they exist.

Need help?

If your issue persists, write to us at osdeployer-support@manageengine.com