Answered MDT Making bootable USB

  • Saturday, October 06, 2012 10:02 AM
     
     

    Hey Guys,

    Finally i managed to have a working Image with injected drivers, however i want to make boo-table hard-disk with this images.

    can someone please explain proper way of making it bootable ?

All Replies

  • Saturday, October 06, 2012 11:12 AM
     
     Answered

    Here's a great tutorial how to do it: Microsoft Deployment Toolkit Offline Media

    took me 5 seconds to google, I advise you to do the same before asking such a simple question again.

    It's all about creating a selection profile and building media by means of creating an offline deployment scenario.


    Keep us posted, and if helpful please rate! Kind regards

    • Marked As Answer by Julien.Me Sunday, October 07, 2012 7:48 PM
    •  
  • Saturday, October 06, 2012 11:14 AM
     
     

    Thank you so much for your quick answer,

    i'll keep it on mind to use google next time,

  • Saturday, October 06, 2012 11:28 AM
     
     
    Julien,  if the tutorial helps you, please mark my answer then as answer?

    Keep us posted, and if helpful please rate! Kind regards

  • Saturday, October 06, 2012 12:46 PM
     
     

    What does it always copy the missing files normally first, and then do a replace?

    You can see it one picture above the last one.
    That makes generating a USB media take so long.

    Any way to stop that?
    Updating the DeploymentShare takes seconds, but updating a media about 15minutes.

  • Saturday, October 06, 2012 2:24 PM
     
     

    Thank you Orioon,

    Rens Answer's isnt answering my questions yet actually,
    let me ask it on a different way,

    is it possible to use MDT to format the HDD and make it bootable and add my images so i can boot with ?

    Yes i used google but couldn't find it anywhere

    thank you

  • Saturday, October 06, 2012 2:39 PM
     
      Has Code

    You want to connect a hard disk via usb and boot from that?

    You could try making it bootable with diskpart and then copy the contents from the media folder to the HDD.
    Formatting with NFTS works fine.

    diskpart list disk select disk X (where X is the disk ID) clean
    format fs=ntfs quick
    active
    exit




    • Edited by orioon Saturday, October 06, 2012 2:39 PM
    •  
  • Saturday, October 06, 2012 2:46 PM
     
     

    after make it bootable i can copy the content of my Deployement share to the HDD? after i should be able to run the installation from the DOS?

  • Saturday, October 06, 2012 3:22 PM
     
     

    No, create a Media like it's explained in Rens' link.
    Copy the contents from the "Media\Content" Folder to the HDD after you prepapred it with diskpart.

  • Saturday, October 06, 2012 4:15 PM
     
     

    No, create a Media like it's explained in Rens' link.
    Copy the contents from the "Media\Content" Folder to the HDD after you prepapred it with diskpart.

    Thank you so much,

    will try it and report back,

    much appreciate!

  • Saturday, October 06, 2012 4:19 PM
     
     

    True, accept there can be one little detail that may not be forgotten and that is that the partition from which you want to boot your bootable media from, cannot be larger then 32 Gb. SCCM has this issue also so my guess is that it will also be the case for MDT / Offline media.

    Next, about answerring questions, I've answerred the question you asked in the first place. That you rephrase your question or add another question to the topic doesnt change the fact that initially the answer I gave was correct. So please If you have your problem resolved, mark the answers that have helped you correctly.

    Thanks, kind regards!


    Keep us posted, and if helpful please rate! Kind regards

  • Sunday, October 07, 2012 5:31 AM
     
     
    1. USB disk to your machine.
    2. Ppen command prompt and type diskpart.
    3. View the available disk in your machine using "list disk" command.
    4. Select disk#no that point to your USB drive using "select disk 1" command assuming disk 1 points to USB drive.
    5. Clean the drive using "clean" command.
    6. Create primary partition on USB drive using "create partition primary" command.
    7. Now you should check the available partition using "list partition" command.
    8. Select the partition which points to USB drive using "select partition 1" assumining your partition 1 points to USB drive partition.
    9. Change the status of your USB partition as active using "active" command.
    10. Now check the available volumes using "list volume" command and select the volume using "select volume f" assuming volume f points to USB.
    11. Format the voulume using "format fs=ntfs quick" command.Now exit the DISKPART console. and go to content folder once you updated the media.           12. Go to boot folder e:\boot>
    13. Type bootsect /nt60 f:
    14. And finally copy the content to USB using "xcopy /e *.*  f:".
    15. Change boot option to USB mode and boot the pendrive.

    Regards, Shishir Kushawaha "If this thread answered your question, please click on "Mark as Answer"

  • Sunday, October 07, 2012 11:12 AM
     
     

    No, create a Media like it's explained in Rens' link.
    Copy the contents from the "Media\Content" Folder to the HDD after you prepapred it with diskpart.

    after i tried to create the Media on MDT i get the next error!

    any idea what could be?

    Starting MDT Media Update
    Opened the media deployment share.
    Folders to be copied to the media deployment share: 12
    Copied: DS002:\Applications
    Copied: DS002:\Operating Systems
    Copied: DS002:\Operating Systems\Win7 64Bit
    Copied: DS002:\Operating Systems\Win7 86Bit
    Copied: DS002:\Operating Systems\WinXP NL
    Copied: DS002:\Out-of-Box Drivers
    Copied: DS002:\Out-of-Box Drivers\Drivers X86
    Copied: DS002:\Out-of-Box Drivers\Drivers X64
    Copied: DS002:\Out-of-Box Drivers\WinXP
    Copied: DS002:\Packages
    Copied: DS002:\Task Sequences
    Copied: DS002:\Selection Profiles
    Copied: DS002:\Applications with Replace option
    Copied: DS002:\Operating Systems with Replace option
    Copied: DS002:\Operating Systems\Win7 64Bit with Replace option
    Copied: DS002:\Operating Systems\Win7 86Bit with Replace option
    Copied: DS002:\Operating Systems\WinXP NL with Replace option
    Copied: DS002:\Out-of-Box Drivers with Replace option
    Copied: DS002:\Out-of-Box Drivers\Drivers X86 with Replace option
    Copied: DS002:\Out-of-Box Drivers\Drivers X64 with Replace option
    Copied: DS002:\Out-of-Box Drivers\WinXP with Replace option
    Copied: DS002:\Packages with Replace option
    Copied: DS002:\Task Sequences with Replace option
    Copied: DS002:\Selection Profiles with Replace option
    Copied standard folders.
    Boot images updated.
    Setting up dual x86/x64 boot image.
    Not adding x86 boot entry to UEFI BCD because dual boot UEFI media is not supported.
    Not modifying display order for dual boot UEFI.
    Boot configuration editing completed.
    Reset read-only attributes.
     OSCDIMG 2.55 CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2007. All rights reserved. Licensed only for producing Microsoft authorized content.   ERROR: Could not delete existing file "E:\MDTISO\LiteTouchMedia.iso" Error 32
    Exit code = 1


    System.Management.Automation.CmdletInvocationException: OSCDIMG failed, rc = 1. ---> System.Exception: OSCDIMG failed, rc = 1.
       bij Microsoft.BDD.PSSnapIn.PEManager.CaptureIso(String sourceDir, String captureFile, Boolean supportUEFI)
       bij Microsoft.BDD.PSSnapIn.GenerateMDTMedia.ProcessRecord()
       bij System.Management.Automation.CommandProcessor.ProcessRecord()
       --- Einde van intern uitzonderingsstackpad ---
       bij System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
       bij Microsoft.BDD.Wizards.GenerateMediaProgress.WizardProcessing()
       bij Microsoft.BDD.Wizards.WizardProgress.InitiateWizardProcessing()

  • Sunday, October 07, 2012 12:41 PM
     
     Answered Has Code
     ERROR: Could not delete existing file "E:\MDTISO\LiteTouchMedia.iso" Error 32 
    Exit code = 1

    Verify the file.

    You can also uncheck to generate an ISO, not really needed if preparing with diskpart.

    • Marked As Answer by Julien.Me Sunday, October 07, 2012 7:48 PM
    •