randalldale Posted December 11, 2008 Posted December 11, 2008 Hi Guys,I must have missed something and would like someone to clue me in.I have Vista SP1 that I'm capturing at different spots for image creation and each time I try to apply the image it gets an error.0xc000000eFile: Windows\System32\winload.exe The file is missing or corrupt.Not sure what I missed, I did switch to WAIK 1.2 for Vista SP1 but still get the errors. I did try bcdedit.exe but it seems to fail on anything short of /?When I capture this is the line I use....imagex /capture /boot /compress maximum c: c:\vistasp1.wim "Base vista sp1 image" /verifyThanks for your help...
cluberti Posted December 11, 2008 Posted December 11, 2008 The error code is STATUS_NO_SUCH_DEVICE, so I'm wondering if you're restoring to hardware that you have drivers integrated for?
randalldale Posted December 11, 2008 Author Posted December 11, 2008 Sorry, forgot to mention that I was restoring immediately on the same device to start the testing. That way I always have a way point so to speak as it is what I do for XP. Just doesn't seem to work for Vista????Really confused here as I've tried it on four different PCs and get the same results.Does anyone have any ideas?Thanks...
cluberti Posted December 11, 2008 Posted December 11, 2008 Are you capturing this from a WinPE disk? It would appear the image is either corrupt or needs drivers for the disk controller (remember, sysprep on Vista kills the drivers installed).
randalldale Posted December 12, 2008 Author Posted December 12, 2008 Yes, I'm capturing from WinPE. Make sure that I'm clear here is I'm not syspreping yet as I want different points to go back to in case of failures or issues. Can you not do that in Vista like you can in XP? I mean it is the same desktop that I just created. I just want to be able to place it back down on the desktop. Never needed to sysprep before.
cluberti Posted December 12, 2008 Posted December 12, 2008 http://social.technet.microsoft.com/forums...1-5df58d846bff/Does that help? Looks like you aren't the only one with the problem, and this guy (same problem, same steps taken to get there) appears to have solved it with bcdedit.
randalldale Posted December 12, 2008 Author Posted December 12, 2008 It does appear to have the most explanation so I will try that and report back.It does make sense that clearing the HDD ID is the issue and I will try just formatting in the future.Thanks, as I stated earlier I will report back what I find.Randy
Tripredacus Posted December 12, 2008 Posted December 12, 2008 Yes, I'm capturing from WinPE. Make sure that I'm clear here is I'm not syspreping yet as I want different points to go back to in case of failures or issues. Can you not do that in Vista like you can in XP? I mean it is the same desktop that I just created. I just want to be able to place it back down on the desktop. Never needed to sysprep before.You need to sysprep, even if bringing down to the same machine. Sometimes a standard sysprep will not redeploy to the hardware it was captured from and you need to do a generalize. You can only do a generalize 3 times, unless you extend the activation period. If you do a generalize, you can create custom sysprep.inf (or whatever it uses now) to reinstall the drivers again when you go through the welcome.
cluberti Posted December 12, 2008 Posted December 12, 2008 He might also want to try building this in a VM - considering it's Vista, a VM package that can take snapshots would probably be better than recapturing images over and over.Since it's Vista, and sysprep'ing a final image removes hardware info, it's far less a problem (perhaps not a problem at all anymore) to build an image from a VM.
Tripredacus Posted December 12, 2008 Posted December 12, 2008 A Generalize doesn't always remove everything tho. If I install all the drivers for a machine, then generalize, capture and redeploy on another machine, it installs all the drivers on the new system automatically, except video. Can't figure out why video is special.
randalldale Posted December 12, 2008 Author Posted December 12, 2008 Ok guys, the link from cluberti was actually correct.http://social.technet.microsoft.com/forums...1-5df58d846bff/If you make a .CMD file and add it to your BOOT.WIM for winpe with the following lines you can lay the image back down on the same PC after running diskpart.exe clean...************************************echo Fixing boot files...c:bcdedit /set {default} device partition=c:bcdedit /set {default} osdevice partition=c:bcdedit /set {bootmgr} device partition=c:bcdedit /set {ntldr} device partition=c:************************************I saved this file as vpartfix.cmd and placed it in the BOOT.WIM system32 folder.If you only format the HDD and not clean it then you can just apply the image back down without a problem.I just checked both senerios and both worked fine.If you want an easy format here is what I built that works fine.*******************************************REM Disk format scriptREM This script will format partition 1 on Disk 0Select Disk 0select Part 1Format Quick FS=NTFSexit*******************************************Name it whatever you like I called mine vdisk.txt now you can call it with diskpart.exediskpart.exe /s vdisk.txtNow regardless of whatever I'm needing to go back to the call tags are built into my BOOT.WIMLastly everyone needs to remember that this only works on the same PC when doing image builds to give you an index you can drop back to if needed. If you want to lay the image down on different hardware you will need to sysprep.Thanks for the help guys,Randy
jaclaz Posted December 17, 2008 Posted December 17, 2008 Very good. Just to add that you can put the diskpart script inside the .cmd :http://www.msfn.org/board/index.php?showto...26069&st=19jaclaz
randalldale Posted December 17, 2008 Author Posted December 17, 2008 Yes that is true, I actually have them inside of .CMD files but wanted to keep the explanation as simple as possible.Thanks for the input.Randy
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now