Solved

bcdboot.exe error:

Posted on 2013-06-03
7
1,721 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 81

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 81

Expert Comment

by:David Johnson, CD, MVP
ID: 39221127
Yes but you are not restoring the system partition which you need to do..
0
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

 

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 81

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 81

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

First some basics on Windows 7 Backup.  It has 2 components one is a file based backup which is stored in .zip files each zip is split at around 200 Megabytes and there is the Image Backup which is as the name implies a total image of the partition …
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
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 how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.

695 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