Solved

bcdboot.exe error:

Posted on 2013-06-03
7
1,655 Views
Last Modified: 2013-06-13
Hi-
I'm trying to apply a .wim image I created using imagex. Below are my steps to apply the image:

1)      Format the disk by:
 a)      Type "diskpart"
 b)      Type "list disk" (pc's hard disk should be disk 0 in my case
 c)      Type "select disk 0" (or whatever is your computer's internal disk)
 d)      Type "clean"
 e)      Type "create partition primary size = 100"
 f)      Type "select partition 1"
 g)      Type "Active"
 h)      Type "format quick fs=NTFS label= "system""
 i)      Type "assign letter = s"
 j)      Type "create partition primary"
 k)      Type "select partition 2"
 l)      Type "format quick fs=NTFS label= "Windows7""
 m)      Type "assign letter = c"
 n)      Type "exit"

2)      Apply the image by:
 a)      Type "Imagex /apply <<location of image>> 1 c:"
 b)      After the copy process completes, Type "C:"
 c)      Type "bcdboot c:\windows /s s:
 d)      Type "exit"

When I run "bcdboot c:\windows /s s:" I get the following err msg:
"Failure when attempting to copy boot files."

Any ideas what the problem might be? I've made certain that the system partition is active.

Thanks in advance!
0
Comment
Question by:jambar
  • 4
  • 3
7 Comments
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
Comment Utility
you forgot to restore the system reserved partition.. it is looking for the bcdstore in the first 100mb partition and not finding it, in order to update it.
0
 

Author Comment

by:jambar
Comment Utility
Hi ve3ofa-
Thank you for your assistance. If you look at my steps, I'm creating the a 100mb system partition on partition 1:

 e)     Type "create partition primary size = 100"
 f)      Type "select partition 1"
 g)     Type "Active"
 h)     Type "format quick fs=NTFS label= "system""
 i)      Type "assign letter = s"


Is that what you are talking about?

Thanks - Again
0
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
Comment Utility
Yes but you are not restoring the system partition which you need to do..
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:jambar
Comment Utility
Can you tell me how I would do that (restore the system partition). Because I thought my steps were already doing that so I guess I'm a little confused.

Thanks
0
 
LVL 78

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
Comment Utility
imagex /apply <location of image> 1 s:


On a default installation of windows Vista and above it has two partitions
the system partition and the os partition, you need to image both if you want to restore them
you will have 2 images (1 very small) and one about 8G in size (clean install) and you need to restore both of them using imagex apply.
 refer to my video @ http://www.youtube.com/watch?v=JUI2SFUpqsw  start at 14 minutes into the video.
0
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
Comment Utility
0
 

Author Closing Comment

by:jambar
Comment Utility
Thanks ve3ofa - Your suggestions were very helpful.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

I found out last night windows update has a problem regarding 4 latest updates that fail.  The way to get all 4 them installed is install sp1 first and restart then one by one with a resart in between as they fail every time if all the four updates …
By now, it is common knowledge that Windows 7 has been successfully been able to live up to the hype of being touted as Microsoft’s most anticipated O.S. ever. This latest 2010 Windows release builds up on its predecessor’s positives, adding new…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now