Solved

bcdboot.exe error:

Posted on 2013-06-03
7
1,677 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 79

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 79

Expert Comment

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

 

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 79

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 79

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

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…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on 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.

778 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