+ Reply to Thread
Page 1 of 2 1 2 Last
Results 1 to 25 of 44
  1. Senior Member
    Join Date
    Apr 2008
    Location
    Centreville, VA
    Posts
    290

    Certifications
    VCP, MCSE, CCNA, MCITP: EA, Security+
    #1

    Default Help with Imagex / WinPE / bcdboot

    Ok - I've been working with these tools all morning and have hit a road block. I successfully captured an image that I want to deploy to a client. So far, I've followed this process:

    1. Booted from a WinPE CD
    2. Created a C: partition and made it active using Diskpart
    3. Applied the image using Imagex

    At this point I THOUGHT I would be done, until I rebooted and I got "Operating System Not Found." Assuming I needed to establish a BCD store, I did so using BCDedit and the boot store from the WinPE CD.

    Now Windows attempts to boot, but basically boot loops. I did sysprep the image with /generalize before I did the capture.

    My question is: are there really supposed to be THIS many steps? I can't imagine having to train techs to follow this procedure in a prod environment for each system they deploy. I can live with WinPE and ImageX, but after that it really gets nuts from a "real world" perspective. I realize there are much better tools (WDS/MDT, etc.), but I am trying to master the basic process.

    Is my process close to right? or did I miss a crucial step?

    Thanks,
    Drew
    Reply With Quote Quote  

  2. SS -->
  3. Senior Member
    Join Date
    Apr 2008
    Location
    Centreville, VA
    Posts
    290

    Certifications
    VCP, MCSE, CCNA, MCITP: EA, Security+
    #2
    Hmmm my image isn't working when deployed through WDS either, so I may have an image problem. I don't see how though, using imagex to capture it via WinPE is pretty straightforward.

    I'd still appreciate any tips re: missing steps in my process. If I were to use this process in a prod environment, I'd have to type up about 20 steps for the techs to use. Doesn't seem that great unless I am missing something that is causing more work for me.

    I'd also like to know if the 100 MB system partition is created automatically by imagex or if I need to also create that partition with Diskpart.

    I have been using the MS PRESS book as a loose guide for this, knowing that their deployment chapter has issues.

    Thanks,
    Drew
    Reply With Quote Quote  

  4. Senior Member
    Join Date
    Jul 2009
    Posts
    2,056

    Certifications
    Beer+
    #3
    If you use imagex by itself you need to do the bootsect manually.

    After you have applied the image successfully, run the following command

    bootsect /nt60 C:

    (use /nt52 for XP, /nt60 for Vista or 7)

    You dont have to do this if using WDS, though.
    Reply With Quote Quote  

  5. Senior Member
    Join Date
    Apr 2008
    Location
    Centreville, VA
    Posts
    290

    Certifications
    VCP, MCSE, CCNA, MCITP: EA, Security+
    #4
    So no need for BCDboot if you use bootsect?

    I'll try it again after a break...Andrew
    Reply With Quote Quote  

  6. Senior Member
    Join Date
    Jul 2009
    Posts
    2,056

    Certifications
    Beer+
    #5
    Shoudlnt need anything but bootsect.

    As far as "real world" and that many steps goes...

    I was the only one at my previous job that knew anything about imagex/winpe/WDS. Before we had WDS up we have to deploy 650 new machines at a new site. I scripted the entire WinPE/ImageX process so that the only thing the tech had to do was insert a flash drive, boot to the flash drive, press the enter key twice when prompted (and I could have removed this), and wait for the machine to reboot. Done.
    Reply With Quote Quote  

  7. Senior Member
    Join Date
    Apr 2008
    Location
    Centreville, VA
    Posts
    290

    Certifications
    VCP, MCSE, CCNA, MCITP: EA, Security+
    #6
    Hmmmm now I'm getting "Operating System Not Found." Need to keep digging.

    Drew
    Reply With Quote Quote  

  8. Senior Member
    Join Date
    Apr 2008
    Location
    Centreville, VA
    Posts
    290

    Certifications
    VCP, MCSE, CCNA, MCITP: EA, Security+
    #7
    Ok - finally got it to work, had to:

    bcdboot c:\windows

    then

    bootsect /nt60 c:

    Then everything worked. From what I have read, the bcdboot is only needed if you don't have the boot information on the hard drive. I don't know why that info isn't there, but I guess it is fixed now.

    I'll do this a few more times to verify.

    Thanks,
    Drew
    Reply With Quote Quote  

  9. Still a noob earweed's Avatar
    Join Date
    Mar 2010
    Location
    Mobile, Alabama
    Posts
    5,176

    Certifications
    BSIT, Proj+, A+, Net+, Sec+: MCTS: X5; MCITP:EA
    #8
    A lot of people at WGU taking this course (70-680) have had problems using the MS Press training kit book due to errors in the book. If that's the book you're using, here's a link to corrections in the book.

    http://www.amazon.com/70-680-Errata-Thread/forum/Fx1YPQTLINOD6NN/TxAV8WUXY6AURU/1/ref=cm_cd_et_up_redir?_encoding=UTF8&asin=07356270 88&newContentNum=10&cdSort=oldest&newContentID=Mx2 RS7RQFBPBB81#Mx2CCL69ZXPC9IU
    Hope this helps
    No longer work in IT. Play around with stuff sometimes still and fix stuff for friends and relatives.
    Reply With Quote Quote  

  10. Senior Member
    Join Date
    Jul 2009
    Posts
    2,056

    Certifications
    Beer+
    #9
    Quote Originally Posted by drew2000 View Post
    Ok - finally got it to work, had to:

    bcdboot c:\windows

    then

    bootsect /nt60 c:

    Then everything worked. From what I have read, the bcdboot is only needed if you don't have the boot information on the hard drive. I don't know why that info isn't there, but I guess it is fixed now.

    I'll do this a few more times to verify.

    Thanks,
    Drew
    Strange, ive never had to run that BCDboot command.
    Reply With Quote Quote  

  11. Junior Member
    Join Date
    Mar 2010
    Posts
    1
    #10
    Before you run into this broblem.
    www.
    youtube.com/watch?v=8Ljk7WKTb8c
    Reply With Quote Quote  

  12. Senior Member
    Join Date
    Jul 2009
    Posts
    2,056

    Certifications
    Beer+
    #11
    Im not understand your "no boot information" on the drive comment.

    I have regularly done the following when imaging

    Capture image.
    Clean drive
    create new partition
    active
    assign
    apply image
    bootsect /nt60 C:
    reboot into minisetup
    Reply With Quote Quote  

  13. Member
    Join Date
    Oct 2006
    Location
    Canada
    Posts
    77

    Certifications
    A+, Network+, MCSA: Messaging 2003, MCSE 2003, MCTS: Vista Config
    #12
    There is a very detailed document on the Microsoft technet site explaining how to make a Windows 7 image. I followed this procedure and didn't have any major issues. I'll post the link below.

    Building a Standard Image of Windows 7: Step-by-Step Guide
    Reply With Quote Quote  

  14. Senior Member
    Join Date
    Apr 2008
    Location
    Centreville, VA
    Posts
    290

    Certifications
    VCP, MCSE, CCNA, MCITP: EA, Security+
    #13
    By "no boot information on the drive" I mean that something could have happened to the BCDStore. I'll have to give this another try and see what happens. Maybe something is wrong with my reference image. It is a pretty straightforward Win7 Ent Image, Sysprepped, etc.

    The only thing weird about it is that I ran "sysprep /generalize /audit /shutdown" instead of /oobe. This was because I didn't want the OOBE to show up.

    I've since studied answer files a bit more and realized I can automate the OOBE with the answer file.

    Drew
    Reply With Quote Quote  

  15. Senior Member
    Join Date
    Jul 2009
    Posts
    2,056

    Certifications
    Beer+
    #14
    Yeah, Audit is for changing things without processing Specialize information. You can actually enter audit mode even if you did OOBE, by hitting a certain key when the image is starting up by hitting CTRL+SHIFT+F3.

    You can also get a command line by hitting shift+F10 (works in WDS sequences as well)
    Reply With Quote Quote  

  16. Senior Member
    Join Date
    Apr 2008
    Location
    Centreville, VA
    Posts
    290

    Certifications
    VCP, MCSE, CCNA, MCITP: EA, Security+
    #15
    I've found the SHIFT+F10 very helpful for troubleshooting my WDS testing.

    Shift+F10 to the command prompt. Then notepad.exe, then view \Windows\Panther\setuperr.log

    So far I've caught a few snags that way, including the fact that I had my username and password fields reversed in the unattend.xml file!

    Drew
    Reply With Quote Quote  

  17. Go ping yourself... phoeneous's Avatar
    Join Date
    Dec 2008
    Location
    Console.WriteLine("Yo");
    Posts
    2,316

    Certifications
    Pimp status
    #16
    Quote Originally Posted by Hyper-Me View Post
    Im not understand your "no boot information" on the drive comment.

    I have regularly done the following when imaging

    Capture image.
    Clean drive
    create new partition
    active
    assign
    apply image
    bootsect /nt60 C:
    reboot into minisetup
    Do you use the /boot switch when you capture?

    And which tools did you use for these steps:

    Clean drive
    create new partition
    active
    assign
    Reply With Quote Quote  

  18. Senior Member RouteThisWay's Avatar
    Join Date
    Sep 2009
    Posts
    509

    Certifications
    A+, Network+, 70-640, VCP4, VCP6-DCV
    #17
    Quote Originally Posted by phoeneous View Post
    Do you use the /boot switch when you capture?

    And which tools did you use for these steps:

    Clean drive
    create new partition
    active
    assign
    I believe you can generate an answer file using WSIM that you can specify to do all of that.


    On another note, honestly man... you would learn all of this if you did some reading/labs. There are multiple ways of deploying/managing Win7 images. Too much to cover in a simple forum post. The best way to learn in my opinion is by doing. So jump in on some virtual labs. Here is a link to help you get started.

    Windows 7 Virtual Labs
    Reply With Quote Quote  

  19. Senior Member
    Join Date
    Jul 2009
    Posts
    2,056

    Certifications
    Beer+
    #18
    Quote Originally Posted by phoeneous View Post
    Do you use the /boot switch when you capture?

    And which tools did you use for these steps:

    Clean drive
    create new partition
    active
    assign
    No, the /boot switch is to mark the .WIM as bootable. No OS can boot FROM a WIM other than WinPE 2 and 3.

    clean
    create partition primary
    active
    assign

    are all done in DISKPART.
    Reply With Quote Quote  

  20. Senior Member
    Join Date
    Jul 2009
    Posts
    2,056

    Certifications
    Beer+
    #19
    Quote Originally Posted by RouteThisWay View Post
    I believe you can generate an answer file using WSIM that you can specify to do all of that.

    You can, either for a scratch unattend install, or you can also do an answer file for WDS to use for the first couple of deployment phases which can prepare the disk and partitions ,etc.

    Then there is the WDSUTIL methods.

    You are right in that there are a LOT of different way to acheive the same goal (deploying XP/Vista/7). I love it.
    Reply With Quote Quote  

  21. Go ping yourself... phoeneous's Avatar
    Join Date
    Dec 2008
    Location
    Console.WriteLine("Yo");
    Posts
    2,316

    Certifications
    Pimp status
    #20
    Quote Originally Posted by RouteThisWay View Post

    On another note, honestly man... you would learn all of this if you did some reading/labs.
    Please tell me youre joking...
    Reply With Quote Quote  

  22. Senior Member RouteThisWay's Avatar
    Join Date
    Sep 2009
    Posts
    509

    Certifications
    A+, Network+, 70-640, VCP4, VCP6-DCV
    #21
    Quote Originally Posted by phoeneous View Post
    Please tell me youre joking...
    Not really. In your defense though, I thought you were the OP so my bad
    Reply With Quote Quote  

  23. Go ping yourself... phoeneous's Avatar
    Join Date
    Dec 2008
    Location
    Console.WriteLine("Yo");
    Posts
    2,316

    Certifications
    Pimp status
    #22
    Quote Originally Posted by RouteThisWay View Post
    Not really. In your defense though, I thought you were the OP so my bad
    You have no idea how much slept I've lost from countless hours of reading an labbing at work AND at home.
    Reply With Quote Quote  

  24. Senior Member RouteThisWay's Avatar
    Join Date
    Sep 2009
    Posts
    509

    Certifications
    A+, Network+, 70-640, VCP4, VCP6-DCV
    #23
    Quote Originally Posted by phoeneous View Post
    You have no idea how much slept I've lost from countless hours of reading an labbing at work AND at home.
    Sounds like most people on TE
    Reply With Quote Quote  

  25. Senior Member
    Join Date
    Jul 2009
    Posts
    2,056

    Certifications
    Beer+
    #24
    I spent several days learning this stuff back when it first became available in the early Vista days.

    It takes a little time and a lot of practice before it just *clicks* into your brain.
    Reply With Quote Quote  

  26. Senior Member
    Join Date
    Apr 2008
    Location
    Centreville, VA
    Posts
    290

    Certifications
    VCP, MCSE, CCNA, MCITP: EA, Security+
    #25
    Quote Originally Posted by RouteThisWay View Post
    Not really. In your defense though, I thought you were the OP so my bad
    How do you think I got to asking the question?????? BECAUSE I AM LABBING AND READING AND RUNNING INTO A PROBLEM.

    Drew
    Reply With Quote Quote  

+ Reply to Thread
Page 1 of 2 1 2 Last

Social Networking & Bookmarks