Windows has many tools that you can use to deploy an operating system image to other computer systems without having to do it manually one by one.. However, sometimes things may not go so well and you get an error message that says $ 0027 Could not copy boot files from $ 0027. This happens when you try to apply bcdboot to a new image. Some of you may face the problem when trying double boot.
Error trying to copy boot files
Bcdboot is a command line utility that can be used to configure the operating system boot files. You can configure hard drive partitions or even repair damaged boot files. The cause of the error message is the idle state of the system partition. When you get the error message mentioned above, your operating system won't start and all you can do is look at the error message. However, That's not true at all, as we will show you how to get rid of the problem with a simple solution.
What causes the error message to fail when trying to copy the boot files?
The error message seems to be due to one main reason, namely, the system partition is set to idle. If you are deploying an image on different computers at the same time, you will need to make sure that the system partition is set to active or, otherwise, the bcdboot command will prompt you for the error message. There are also chances that the error message is due to damaged or corrupted boot files, but the possibility is very remote. However, we will also show you how to deal with it.
Marking the partition as active
To solve the problem, make sure you have a Windows installation DVD or USB drive. Thereafter, follow the steps indicated:
-
Insert Windows installation DVD or USB drive into your system and boot into it.
-
Once the Windows installation window appears, click on Repair your computer option.
-
Later, go to Troubleshooting> Advanced options and finally open a command prompt.
Windows PE advanced options
-
After the command prompt loads, type diskpart to open DiskPart utility.
-
Then type select disk 0 (assuming you only have one hard drive connected to your system). If you are using multiple discs, select the disk where the Windows files reside.
-
Enter partition from list.
-
Then type select partition X (X is the partition where Windows is installed).
Using DiskPart to select the system partition
-
To mark the partition as active, just type active.
-
Exit the DiskPart utility by typing exit.
-
Finally, enter the bcdboot command again, for example:
c:|windows system 32bcdboot.exe c:|windows
In case this doesn't work for you, the boot files could be damaged or corrupted. In that case, you will have to rebuild it using bootrec command. Here's how to do it:
-
Access a command prompt using the installation media as shown above.
-
Scribe, cd C: EFIN-MicrosoftNBoot (C is the drive where Windows is installed).
-
Delete the bootsect.exe file by typing $ 0027 del bootsect.exe $ 0027.
-
Then, enter the following commands one by one:
Bootrec / fixboot Bootrec / fixmbr Bootrec / rebuildbcd
Fixing the boot files
Once this is done, reboot your system.