SEARCH

The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Windows 8

Failure attempting to copy boot files

(17 posts)
  • Started 1 year ago by jpxgen
  • Latest reply from raphoenix
  • Topic Viewed 11755 times

jpxgen
Posts: 12

Hi

I followed the article How to Dual Boot Windows 7 and 8 Without Re-Partitioning (Using VHD)

But in the last step I am getting the error: Failure attempting to copy boot files. Please help

Thanks,
JP

Posted 1 year ago
Top
 
whs
whs
Posts: 17584

The command when you copy from a Windows8 is:

bcdboot F:\windows /s F: /f ALL

The command when you copy from a Windows7 is:

bcdboot F:\windows /s F:

F is the VHD

Posted 1 year ago
Top
 
jpxgen
Posts: 12

Thanks. I tried your suggestion but it didn't work getting the same error message "Failure when attempting to copy boot files." any help please.

Posted 1 year ago
Top
 
jpxgen
Posts: 12

Tried this command bcdboot K:\windows /s K: /v and got the error message

BFSVC: No process found using \\?\GLOBALROOT\Device\HarddiskVolume12\Boot file.
BFSVC: BfspSetSecurityDescriptor(\\?\GLOBALROOT\Device\HarddiskVolume12\Boot) fa
iled! Last Error = 0x5
BFSVC: Error copying boot files from K:\windows\boot\PCAT to \\?\GLOBALROOT\Devi
ce\HarddiskVolume12\Boot! Last Error = 0x5
Failure when attempting to copy boot files.

Posted 1 year ago
Top
 
jpxgen
Posts: 12

Got it to work. You need to run the cmd prompt in administrative mode and used this command

bootbcd.exe K:\Windows /s K:

Where K is your VHD.

Thanks you guys Rock!

Posted 1 year ago
Top
 
raphoenix
raphoenix
Posts: 14920

Updated: August 15, 2012
Command-Line Reference
http://technet.microsoft.com/e.....54340.aspx

Bcdboot
http://technet.microsoft.com/e.....24874.aspx

Posted 1 year ago
Top
 
jpxgen
Posts: 12

Everything went fine till the bootbcd but no entries were created in the MSCONFIG (Boot tab) any help?

Posted 1 year ago
Top
 
jpxgen
Posts: 12

Raphoenix: I followed your suggestions and still windows 8 is not booting when I restart the machine.

Posted 1 year ago
Top
 
raphoenix
raphoenix
Posts: 14920

Yeah I just took a nap. Give me a few minutes to catch up. :)

Posted 1 year ago
Top
 
jpxgen
Posts: 12

Sure Raphoenix. Awaiting to know your findings.

Posted 1 year ago
Top
 
jpxgen
Posts: 12

Boot for windows 8 is created in the MSCONFIG (Boot tab) but it seems like VHD is not available when I restart. I have attached the VHD again after restarting. I am gonna restart and give a try once again.

Posted 1 year ago
Top
 
jpxgen
Posts: 12

Installed EasyBCD tool and still no success with the availability of VHD in the boot.

Posted 1 year ago
Top
 
raphoenix
raphoenix
Posts: 14920

In an Administrative Command Prompt, type in:

BCDEDIT /ENUM ALL /V

Please Post a screen shot.

Posted 1 year ago
Top
 
jpxgen
Posts: 12

Here is the screen shot.

Posted 1 year ago
Top
 
jpxgen
Posts: 12

Raphoenix: Any luck?

Posted 1 year ago
Top
 
jpxgen
Posts: 12

Here is the complete details.

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>bcdedit /enum all

Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=\Device\HarddiskVolume1
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {default}
resumeobject {7cf03b01-d0fe-11e0-bfbc-ff52c5bca033}
displayorder {current}
{7cf03b07-d0fe-11e0-bfbc-ff52c5bca033}
{default}
toolsdisplayorder {memdiag}
timeout 12
displaybootmenu Yes

Windows Boot Loader
-------------------
identifier {7cf03aff-d0fe-11e0-bfbc-ff52c5bca033}
device ramdisk=[C:]\Recovery\7cf03aff-d0fe-11e0-bfbc-ff52c5bca0
33\Winre.wim,{7cf03b00-d0fe-11e0-bfbc-ff52c5bca033}
path \windows\system32\winload.exe
description Windows Recovery Environment
inherit {bootloadersettings}
osdevice ramdisk=[C:]\Recovery\7cf03aff-d0fe-11e0-bfbc-ff52c5bca0
33\Winre.wim,{7cf03b00-d0fe-11e0-bfbc-ff52c5bca033}
systemroot \windows
nx OptIn
winpe Yes

Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 7
locale en-US
inherit {bootloadersettings}
recoverysequence {7cf03b03-d0fe-11e0-bfbc-ff52c5bca033}
truncatememory 0x177000000
recoveryenabled Yes
osdevice partition=C:
systemroot \Windows
resumeobject {7cf03b01-d0fe-11e0-bfbc-ff52c5bca033}
nx OptIn
pae ForceEnable
usefirmwarepcisettings No

Windows Boot Loader
-------------------
identifier {7cf03b03-d0fe-11e0-bfbc-ff52c5bca033}
device ramdisk=[C:]\Recovery\7cf03b03-d0fe-11e0-bfbc-ff52c5bca0
33\Winre.wim,{7cf03b04-d0fe-11e0-bfbc-ff52c5bca033}
path \windows\system32\winload.exe
description Windows Recovery Environment
inherit {bootloadersettings}
osdevice ramdisk=[C:]\Recovery\7cf03b03-d0fe-11e0-bfbc-ff52c5bca0
33\Winre.wim,{7cf03b04-d0fe-11e0-bfbc-ff52c5bca033}
systemroot \windows
nx OptIn
winpe Yes

Windows Boot Loader
-------------------
identifier {7cf03b07-d0fe-11e0-bfbc-ff52c5bca033}
device vhd=[locate]\windows8.vhdx
path \Windows\system32\winload.exe
description Windows 8 Release Preview
locale en-US
inherit {bootloadersettings}
recoverysequence {7cf03b03-d0fe-11e0-bfbc-ff52c5bca033}
truncatememory 0x177000000
recoveryenabled Yes
osdevice vhd=[locate]\windows8.vhdx
systemroot \Windows
resumeobject {7cf03b01-d0fe-11e0-bfbc-ff52c5bca033}
nx OptIn
pae ForceEnable
detecthal Yes
usefirmwarepcisettings No

Windows Boot Loader
-------------------
identifier {default}
path \Windows\system32\winload.exe
description NeoSmart VHD Image
locale en-US
systemroot \Windows
detecthal Yes

Resume from Hibernate
---------------------
identifier {7cf03b01-d0fe-11e0-bfbc-ff52c5bca033}
device partition=C:
path \Windows\system32\winresume.exe
description Windows Resume Application
locale en-US
inherit {resumeloadersettings}
filedevice partition=C:
filepath \hiberfil.sys
pae Yes
debugoptionenabled No

Resume from Hibernate
---------------------
identifier {7cf03b06-d0fe-11e0-bfbc-ff52c5bca033}
description Windows Resume Application
locale en-US
inherit {resumeloadersettings}
custom:17000077 352321653
filepath \hiberfil.sys
custom:25000008 1

Resume from Hibernate
---------------------
identifier {7cf03b08-d0fe-11e0-bfbc-ff52c5bca033}
description Windows Resume Application
locale en-US
inherit {resumeloadersettings}
custom:17000077 352321653
filepath \hiberfil.sys
custom:25000008 1

Windows Memory Tester
---------------------
identifier {memdiag}
device partition=\Device\HarddiskVolume1
path \boot\memtest.exe
description Windows Memory Diagnostic
locale en-US
inherit {globalsettings}
badmemoryaccess Yes

EMS Settings
------------
identifier {emssettings}
bootems No

Debugger Settings
-----------------
identifier {dbgsettings}
debugtype Serial
debugport 1
baudrate 115200

RAM Defects
-----------
identifier {badmemory}

Global Settings
---------------
identifier {globalsettings}
inherit {dbgsettings}
{emssettings}
{badmemory}

Boot Loader Settings
--------------------
identifier {bootloadersettings}
inherit {globalsettings}
{hypervisorsettings}

Hypervisor Settings
-------------------
identifier {hypervisorsettings}
hypervisordebugtype Serial
hypervisordebugport 1
hypervisorbaudrate 115200

Resume Loader Settings
----------------------
identifier {resumeloadersettings}
inherit {globalsettings}

Device options
--------------
identifier {7cf03b00-d0fe-11e0-bfbc-ff52c5bca033}
description Ramdisk Options
ramdisksdidevice partition=C:
ramdisksdipath \Recovery\7cf03aff-d0fe-11e0-bfbc-ff52c5bca033\boot.sdi

Device options
--------------
identifier {7cf03b04-d0fe-11e0-bfbc-ff52c5bca033}
description Ramdisk Options
ramdisksdidevice partition=C:
ramdisksdipath \Recovery\7cf03b03-d0fe-11e0-bfbc-ff52c5bca033\boot.sdi

C:\Windows\system32>

Posted 1 year ago
Top
 
raphoenix
raphoenix
Posts: 14920

Get rid of old VHD and try this simple VHD method without scripting.

Install Windows 8 to VHD for Easy Dual Booting
http://tweaks.com/windows/6291.....l-booting/

Posted 1 year ago
Top
 



Topic Closed

This topic has been closed to new replies.

Enter Your Email Here to Get Access for Free:

Go check your email!