none
SCCM OSD 0x80070002 parition disk

    Question

  • Hello!

    This is the first time I've run into this.  Any ideas?  Here are the logs of the failure:

    Process completed with exit code 0    OSDDiskPart    5/20/2011 4:32:38 PM    1408 (0x0580)
    shDevice != INVALID_HANDLE_VALUE, HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\diskutils.cpp,1055)    OSDDiskPart    5/20/2011 4:32:38 PM    1408 (0x0580)
    Could not open disk 0l (80070002)    OSDDiskPart    5/20/2011 4:32:38 PM    1408 (0x0580)
    CDisk::FlushPartitionTableCache(oDisk.getIndex()), HRESULT=80070002 (e:\nts_sms_fre\sms\client\osdeployment\osddiskpart\main.cpp,1460)    OSDDiskPart    5/20/2011 4:32:38 PM    1408 (0x0580)
    Failed to flush partition table cache (0x80070002)    OSDDiskPart    5/20/2011 4:32:38 PM    1408 (0x0580)
    OSDDiskPart.exe failed: 0x80070002    OSDDiskPart    5/20/2011 4:32:38 PM    1408 (0x0580)
    Process completed with exit code 2147942402    TSManager    5/20/2011 4:32:38 PM    1336 (0x0538)
    !--------------------------------------------------------------------------------------------!    TSManager    5/20/2011 4:32:38 PM    1336 (0x0538)
    Failed to run the action: Partition Disk.
    The system cannot find the file specified. (Error: 80070002; Source: Windows)    TSManager    5/20/2011 4:32:38 PM    1336 (0x0538)

    Friday, May 20, 2011 10:19 PM

Answers

  • Ok, well, I believe I've figured out where the error is, it is indeed w/ the latest virtualbox (4.0.8) & the SATA drive.

    When I mount the disk via IDE within vbox, no problems whatsoever.  Task sequences run just fine.  As soon as I flip it over to SATA, I get all sorts of errors...all settings within vbox all fail w/ the same error.

    So, I have no idea why during a disk partition why vbox just loses the disk altogether...crappy SATA driver I'm assuming?

     

    • Marked as answer by jcoffman01 Monday, July 25, 2011 2:27 PM
    Monday, May 23, 2011 4:39 PM

All replies

  • is there a bitlocker or other partition on the disc ? press f8 and bring up diskpart to find out, if there is perhaps you need to accomodate that in your TS


    My step by step SCCM Guides
    I'm on Twitter > ncbrady

    • Proposed as answer by Sabrina Shen Monday, May 23, 2011 5:19 AM
    Friday, May 20, 2011 10:26 PM
    Moderator
  • There is.

    Funny thing is, when I go into diskpart & list the disks, it will list disk 0 BEFORE the ts is ran.  Once the ts is ran, I get the 0x80070002 error, f8 it again, list the disks, no more disk 0.

    Should I be doing something different in the Partition disk portion of my ts?  What could be removing disk 0 in total? 

    The ts has the 100mb fixed NTFS for the bitlocker partition, then the rest for the os partition

    I'm using the latest version of virtualbox, but I wouldn't think that would make a difference.

     

     


    Monday, May 23, 2011 4:06 PM
  • Ok, well, I believe I've figured out where the error is, it is indeed w/ the latest virtualbox (4.0.8) & the SATA drive.

    When I mount the disk via IDE within vbox, no problems whatsoever.  Task sequences run just fine.  As soon as I flip it over to SATA, I get all sorts of errors...all settings within vbox all fail w/ the same error.

    So, I have no idea why during a disk partition why vbox just loses the disk altogether...crappy SATA driver I'm assuming?

     

    • Marked as answer by jcoffman01 Monday, July 25, 2011 2:27 PM
    Monday, May 23, 2011 4:39 PM
  • Hello,

    So.. It´s working with an IDE disk.

    It´s failing with a SATA disk.

    Are you using Quick format?.. if that is the case... can you try with Normal format?

    Have you tried to add the Sata drivers into the boot image?

    Are you using a Customer Boot image? and What version of WAIK have you installed.

    Best Regards,

     

    Monday, May 23, 2011 5:23 PM
  • 1. Yes, using quick format.  I'll go ahead & try normal format, although, I'm not sure that will work as during the partition process, it's *completely* losing sight of the disk....it'd be like you running diskpart on a physical machine, but when you first go to partition, the disk physically becomes unplugged.

    2. The SATA drivers are no different that what we've been using.  I'll look & see if VirtualBox implemented new SATA drivers in their rev 4

    3. We're using the boot disk that came w/ SCCM (I believe we're R3?), loaded w/ various drivers for Dell's, VirtualBox etc etc

    Thursday, May 26, 2011 8:19 PM
  • I am getting the exact same issue, trying to build an x64 build with Virtual Box. The capture task sequence worked fine, but the deployment one bombs out as soon as it tries to format the disk. diskpart reveals "There are no fixed disks to show". Any ideas ?

    Friday, June 24, 2011 1:34 PM
  • Resolved issue using VMWare Player instead of VirtualBox

    Friday, June 24, 2011 3:05 PM
  • Heh :)

     

    I 'resolved' the issue by using IDE instead of SATA.

    Monday, July 25, 2011 2:26 PM
  • You successfully deployed a test image to vmware player? 
    Tuesday, December 10, 2013 5:09 PM