?
Solved

bcdboot.exe error:

Posted on 2013-06-03
7
Medium Priority
?
1,738 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 82

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 82

Expert Comment

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

 

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 82

Accepted Solution

by:
David Johnson, CD, MVP earned 1500 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 82

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Article by: Lee
Windows 7 Ultimate and Enterprise (and 2008 R2) introduced a new feature you may not be aware of - Boot from VHD.   Boot from VHD (or what Microsoft refers to asNative Boot allows you to install Windows to a VHD (Virtual Hard Disk) file that is t…
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
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.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Suggested Courses

800 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