Solved

bcdboot.exe error:

Posted on 2013-06-03
7
1,691 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 80

Expert Comment

by:David Johnson, CD, MVP
ID: 39218108
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
ID: 39219084
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 80

Expert Comment

by:David Johnson, CD, MVP
ID: 39221127
Yes but you are not restoring the system partition which you need to do..
0
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)

 

Author Comment

by:jambar
ID: 39230171
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 80

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 39230223
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 80

Expert Comment

by:David Johnson, CD, MVP
ID: 39230880
0
 

Author Closing Comment

by:jambar
ID: 39245989
Thanks ve3ofa - Your suggestions were very helpful.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Comma and period key both show comma symbol. 1 33
logon time 6 39
how to allow only one intranet website to be accessed 7 34
HP Stream laptop logging in issue 15 37
So many times I have seen the words written in a question "if only I could show you" or " I know how hard it is for you since you can't see it" in any zone. That has inspired me to write about this tool in windows 7 called "Problem Steps Recorder…
One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

820 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