locked
How to install OS on only C with USB media deployment RRS feed

  • Question

  • I have one hard drive with four partitions.The 1st one is OS.

    There is an error shows "Unable to determine destination disk" with USB deployment.

    And also the error comes out when there is a USB drive plug in during Network deployment.

    But it works fine when there is no any USB drive plug in during Network deployment.

    Anyone has a clue or a solution? 



    Somebody help Me out?

    please


    • Edited by longgegeno1 Thursday, September 18, 2014 7:57 AM
    Thursday, September 18, 2014 4:56 AM

Answers

  • In some scenarios, MDT can interpret the USB drive as the target drive. It all depends on what you have setup, and specifically how you have customized your environment. The BDD.log file is the first place I would look.

    Keith Garner - Principal Consultant [owner] - http://DeploymentLive.com

    Thursday, September 18, 2014 7:28 PM
  • ZTIDiskPart.wsf is the default script used by the "Format and Partition" step in MDT.


    Keith Garner - Principal Consultant [owner] - http://DeploymentLive.com

    • Marked as answer by longgegeno1 Wednesday, September 24, 2014 2:40 AM
    Monday, September 22, 2014 4:39 PM

All replies

  • When MDT preps to deploy an image to a system, it first validates its target with the variable OSDISK=driveletter.  If you're getting this error, MDT cannot determine where to deploy the OS to.  I would try a different deployment target drive method.  The most reliable method for me has been to ensure my partition name was named OSDISK and then deploying via drive variable name OSDISK. 

    Thursday, September 18, 2014 2:26 PM
  • No,it doesn't work after I changed the Driveletter into OSDisk in the ts.Still unable to determine destination disk on the step of inject drivers


    allenpu

    Thursday, September 18, 2014 4:18 PM
  • Ok so simply changing it in MDT will not work unless you're also formatting it and naming that partition as OSDISK.  It's a two step process of first naming the partition as $Variable and then deploying to drive named $Variable.
    Thursday, September 18, 2014 4:32 PM
  • SELECT disk 0
    SELECT partition 1
    FORMAT FS=NTFS LABEL="OSDisk" quick
    active
    assign
    EXIT

    This is my vbscript to change the name of drive.

    And os installation way is "Logical drive letter stored in a vriable" >>OSDisk


    allenpu

    Thursday, September 18, 2014 4:59 PM
  • In some scenarios, MDT can interpret the USB drive as the target drive. It all depends on what you have setup, and specifically how you have customized your environment. The BDD.log file is the first place I would look.

    Keith Garner - Principal Consultant [owner] - http://DeploymentLive.com

    Thursday, September 18, 2014 7:28 PM
  • Hi,keith,I have emailed you.Please help

    allenpu

    Friday, September 19, 2014 3:18 PM
  • It appears that you are attempting to re-write major sections of MDT from scratch.

    The LTIApply.wsf script is attempting to locate the correct partition. In a multi-disk and/or multi-partition scenario, this is difficult because LTIApply does not know by-itself where to find the partition. Instead it looks in some pre-defined variables for hints on where to place the OS, hints placed by ZTIDiskPart.wsf and others.

    In this case you have removed ZTIDiskPart.wsf so the variables are not present.

    ZTIUtility.vbs --> GetOSTargetDriveLetterEx() is the function used to determine the target, and you can see what variables are queried there.

    My recommendation is to use the default ZTIDiskPart.wsf script. 


    Keith Garner - Principal Consultant [owner] - http://DeploymentLive.com

    Friday, September 19, 2014 4:16 PM
  • keith,what do you mean about use the default ztidiskpart.wsf sript.Should I create a command line in the ts,such as >>    cscript.exe "%SCRIPTROOT%/ztidiskpart.wsf"  ?

    allenpu

    Saturday, September 20, 2014 1:46 AM
  • ZTIDiskPart.wsf is the default script used by the "Format and Partition" step in MDT.


    Keith Garner - Principal Consultant [owner] - http://DeploymentLive.com

    • Marked as answer by longgegeno1 Wednesday, September 24, 2014 2:40 AM
    Monday, September 22, 2014 4:39 PM