Steps to make native boot vhd boot in virtual box
Apologies in advance if this has been previously discussed, I did my best attempt at searching and could not find what I was looking for.
My issue is that I have a windows 8 vhd I want to update to 8.1 and from what I understand the only way to do this is with a virtual box vm because windows will think its not a virtual drive and it will install (I also hope to be able to native boot the vhd again once updated to 8.1). When I try to boot the vhd in virtual machine I get the error "The boot configuration data file doesnt contain valid information for an operating system, error 0xc0000098. I have been trying to follow this suggestion: https://superuser.com/a/571912/317553 but I am stuck where it says to "Select the file "BCD" in the folder "BCD" and click "open". Take note that the file has no file ending." because I cant find any bcd file or folder. So my question is, is what is the simplest way to accomplish this, and more importantly is it possible ?
What I have tried so far:
"Use a tool to install a BCD-Bootsector to the drive. I used NeoSmart's EasyBCD: Start the tool and choose BCD Deployment. Under "Create Bootable External Media" choose the drive name of the mounted VHD and click on "Install BCD"." -from the answer in the provided link, and this produces the error I mentioned
windows-7 boot virtualbox virtualization
add a comment |
Apologies in advance if this has been previously discussed, I did my best attempt at searching and could not find what I was looking for.
My issue is that I have a windows 8 vhd I want to update to 8.1 and from what I understand the only way to do this is with a virtual box vm because windows will think its not a virtual drive and it will install (I also hope to be able to native boot the vhd again once updated to 8.1). When I try to boot the vhd in virtual machine I get the error "The boot configuration data file doesnt contain valid information for an operating system, error 0xc0000098. I have been trying to follow this suggestion: https://superuser.com/a/571912/317553 but I am stuck where it says to "Select the file "BCD" in the folder "BCD" and click "open". Take note that the file has no file ending." because I cant find any bcd file or folder. So my question is, is what is the simplest way to accomplish this, and more importantly is it possible ?
What I have tried so far:
"Use a tool to install a BCD-Bootsector to the drive. I used NeoSmart's EasyBCD: Start the tool and choose BCD Deployment. Under "Create Bootable External Media" choose the drive name of the mounted VHD and click on "Install BCD"." -from the answer in the provided link, and this produces the error I mentioned
windows-7 boot virtualbox virtualization
add a comment |
Apologies in advance if this has been previously discussed, I did my best attempt at searching and could not find what I was looking for.
My issue is that I have a windows 8 vhd I want to update to 8.1 and from what I understand the only way to do this is with a virtual box vm because windows will think its not a virtual drive and it will install (I also hope to be able to native boot the vhd again once updated to 8.1). When I try to boot the vhd in virtual machine I get the error "The boot configuration data file doesnt contain valid information for an operating system, error 0xc0000098. I have been trying to follow this suggestion: https://superuser.com/a/571912/317553 but I am stuck where it says to "Select the file "BCD" in the folder "BCD" and click "open". Take note that the file has no file ending." because I cant find any bcd file or folder. So my question is, is what is the simplest way to accomplish this, and more importantly is it possible ?
What I have tried so far:
"Use a tool to install a BCD-Bootsector to the drive. I used NeoSmart's EasyBCD: Start the tool and choose BCD Deployment. Under "Create Bootable External Media" choose the drive name of the mounted VHD and click on "Install BCD"." -from the answer in the provided link, and this produces the error I mentioned
windows-7 boot virtualbox virtualization
Apologies in advance if this has been previously discussed, I did my best attempt at searching and could not find what I was looking for.
My issue is that I have a windows 8 vhd I want to update to 8.1 and from what I understand the only way to do this is with a virtual box vm because windows will think its not a virtual drive and it will install (I also hope to be able to native boot the vhd again once updated to 8.1). When I try to boot the vhd in virtual machine I get the error "The boot configuration data file doesnt contain valid information for an operating system, error 0xc0000098. I have been trying to follow this suggestion: https://superuser.com/a/571912/317553 but I am stuck where it says to "Select the file "BCD" in the folder "BCD" and click "open". Take note that the file has no file ending." because I cant find any bcd file or folder. So my question is, is what is the simplest way to accomplish this, and more importantly is it possible ?
What I have tried so far:
"Use a tool to install a BCD-Bootsector to the drive. I used NeoSmart's EasyBCD: Start the tool and choose BCD Deployment. Under "Create Bootable External Media" choose the drive name of the mounted VHD and click on "Install BCD"." -from the answer in the provided link, and this produces the error I mentioned
windows-7 boot virtualbox virtualization
windows-7 boot virtualbox virtualization
edited Mar 20 '17 at 10:17
Community♦
1
1
asked May 4 '14 at 1:07
ez4nick
127128
127128
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Using a VM for updating would considerably slow the update process but it seems to be the only way
to update Win 8 VHD to Win 8.1. HYPER-V can run Windows 8 VHD so a second native installation of Windows 8 could serve as host for the update.
To make VHD bootable in VM use following steps:
A) Write a MBR and PBR record to VHD itself using bootsect:
(In Windows 8 using admin command prompt, assuming VHD is mapped to V:)
bootsect /nt60 v: /mbr
B) Using Disk Management ensure VHD single partition is marked as active, if not mark as active.
C) Create BCD inside VHD:
bcdboot v:windows /s v:
If you are booted in Windows 8 VHD itself then V: would become C: !
One last thing. A Windows VHD installation is a native installation - it uses all computer hardware plus the virtual disk layer. A VM is a different computer hardware so you have to activate Windows again eventually.
add a comment |
It seems you have problems with BCD.
I had the same problems when booting from Windows 7 VHD (created with VirtualBox).
This article from TechNet helped me too much (I will summarize it's content).
All you need to do is:
Attach that VHD using Diskpart (explained in that technet article) or use Disk Management
(press Win+R, typediskmgmt.msc
, hit Enter, chooseAction
menu ->Attach VHD
).
Add boot entry using BCDTool (here is text from article)
Use the BCDboot tool, located in the System32 directory of the VHD
image or in Windows PE to copy the boot environment files and Boot
Configuration Data (BCD) configuration from the Windows directory in
the VHD to the system partition. On a computer with BIOS firmware, the
system partition is the active partition of the first hard disk. For
example, to use BCDboot from the VHD image, at a command prompt, type:
cd v:windowssystem32
bcdboot v:windows
In this step I used Windows 7 installation disk (Win 8 will work the same way), booted from disk, get to Recovery and run command line. Then I typed that last 2 commands.
(There may be a lot of alternative ways of doing this step by using tools, WinPE disks and so on).
Restart the computer, choose the OS and run.
NOTE: If you have UEFI-based computer then this will not work. Look here again for instructions.
Hope it helps!
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f749460%2fsteps-to-make-native-boot-vhd-boot-in-virtual-box%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Using a VM for updating would considerably slow the update process but it seems to be the only way
to update Win 8 VHD to Win 8.1. HYPER-V can run Windows 8 VHD so a second native installation of Windows 8 could serve as host for the update.
To make VHD bootable in VM use following steps:
A) Write a MBR and PBR record to VHD itself using bootsect:
(In Windows 8 using admin command prompt, assuming VHD is mapped to V:)
bootsect /nt60 v: /mbr
B) Using Disk Management ensure VHD single partition is marked as active, if not mark as active.
C) Create BCD inside VHD:
bcdboot v:windows /s v:
If you are booted in Windows 8 VHD itself then V: would become C: !
One last thing. A Windows VHD installation is a native installation - it uses all computer hardware plus the virtual disk layer. A VM is a different computer hardware so you have to activate Windows again eventually.
add a comment |
Using a VM for updating would considerably slow the update process but it seems to be the only way
to update Win 8 VHD to Win 8.1. HYPER-V can run Windows 8 VHD so a second native installation of Windows 8 could serve as host for the update.
To make VHD bootable in VM use following steps:
A) Write a MBR and PBR record to VHD itself using bootsect:
(In Windows 8 using admin command prompt, assuming VHD is mapped to V:)
bootsect /nt60 v: /mbr
B) Using Disk Management ensure VHD single partition is marked as active, if not mark as active.
C) Create BCD inside VHD:
bcdboot v:windows /s v:
If you are booted in Windows 8 VHD itself then V: would become C: !
One last thing. A Windows VHD installation is a native installation - it uses all computer hardware plus the virtual disk layer. A VM is a different computer hardware so you have to activate Windows again eventually.
add a comment |
Using a VM for updating would considerably slow the update process but it seems to be the only way
to update Win 8 VHD to Win 8.1. HYPER-V can run Windows 8 VHD so a second native installation of Windows 8 could serve as host for the update.
To make VHD bootable in VM use following steps:
A) Write a MBR and PBR record to VHD itself using bootsect:
(In Windows 8 using admin command prompt, assuming VHD is mapped to V:)
bootsect /nt60 v: /mbr
B) Using Disk Management ensure VHD single partition is marked as active, if not mark as active.
C) Create BCD inside VHD:
bcdboot v:windows /s v:
If you are booted in Windows 8 VHD itself then V: would become C: !
One last thing. A Windows VHD installation is a native installation - it uses all computer hardware plus the virtual disk layer. A VM is a different computer hardware so you have to activate Windows again eventually.
Using a VM for updating would considerably slow the update process but it seems to be the only way
to update Win 8 VHD to Win 8.1. HYPER-V can run Windows 8 VHD so a second native installation of Windows 8 could serve as host for the update.
To make VHD bootable in VM use following steps:
A) Write a MBR and PBR record to VHD itself using bootsect:
(In Windows 8 using admin command prompt, assuming VHD is mapped to V:)
bootsect /nt60 v: /mbr
B) Using Disk Management ensure VHD single partition is marked as active, if not mark as active.
C) Create BCD inside VHD:
bcdboot v:windows /s v:
If you are booted in Windows 8 VHD itself then V: would become C: !
One last thing. A Windows VHD installation is a native installation - it uses all computer hardware plus the virtual disk layer. A VM is a different computer hardware so you have to activate Windows again eventually.
edited May 12 '14 at 13:04
answered May 9 '14 at 12:57
snayob
3,84911018
3,84911018
add a comment |
add a comment |
It seems you have problems with BCD.
I had the same problems when booting from Windows 7 VHD (created with VirtualBox).
This article from TechNet helped me too much (I will summarize it's content).
All you need to do is:
Attach that VHD using Diskpart (explained in that technet article) or use Disk Management
(press Win+R, typediskmgmt.msc
, hit Enter, chooseAction
menu ->Attach VHD
).
Add boot entry using BCDTool (here is text from article)
Use the BCDboot tool, located in the System32 directory of the VHD
image or in Windows PE to copy the boot environment files and Boot
Configuration Data (BCD) configuration from the Windows directory in
the VHD to the system partition. On a computer with BIOS firmware, the
system partition is the active partition of the first hard disk. For
example, to use BCDboot from the VHD image, at a command prompt, type:
cd v:windowssystem32
bcdboot v:windows
In this step I used Windows 7 installation disk (Win 8 will work the same way), booted from disk, get to Recovery and run command line. Then I typed that last 2 commands.
(There may be a lot of alternative ways of doing this step by using tools, WinPE disks and so on).
Restart the computer, choose the OS and run.
NOTE: If you have UEFI-based computer then this will not work. Look here again for instructions.
Hope it helps!
add a comment |
It seems you have problems with BCD.
I had the same problems when booting from Windows 7 VHD (created with VirtualBox).
This article from TechNet helped me too much (I will summarize it's content).
All you need to do is:
Attach that VHD using Diskpart (explained in that technet article) or use Disk Management
(press Win+R, typediskmgmt.msc
, hit Enter, chooseAction
menu ->Attach VHD
).
Add boot entry using BCDTool (here is text from article)
Use the BCDboot tool, located in the System32 directory of the VHD
image or in Windows PE to copy the boot environment files and Boot
Configuration Data (BCD) configuration from the Windows directory in
the VHD to the system partition. On a computer with BIOS firmware, the
system partition is the active partition of the first hard disk. For
example, to use BCDboot from the VHD image, at a command prompt, type:
cd v:windowssystem32
bcdboot v:windows
In this step I used Windows 7 installation disk (Win 8 will work the same way), booted from disk, get to Recovery and run command line. Then I typed that last 2 commands.
(There may be a lot of alternative ways of doing this step by using tools, WinPE disks and so on).
Restart the computer, choose the OS and run.
NOTE: If you have UEFI-based computer then this will not work. Look here again for instructions.
Hope it helps!
add a comment |
It seems you have problems with BCD.
I had the same problems when booting from Windows 7 VHD (created with VirtualBox).
This article from TechNet helped me too much (I will summarize it's content).
All you need to do is:
Attach that VHD using Diskpart (explained in that technet article) or use Disk Management
(press Win+R, typediskmgmt.msc
, hit Enter, chooseAction
menu ->Attach VHD
).
Add boot entry using BCDTool (here is text from article)
Use the BCDboot tool, located in the System32 directory of the VHD
image or in Windows PE to copy the boot environment files and Boot
Configuration Data (BCD) configuration from the Windows directory in
the VHD to the system partition. On a computer with BIOS firmware, the
system partition is the active partition of the first hard disk. For
example, to use BCDboot from the VHD image, at a command prompt, type:
cd v:windowssystem32
bcdboot v:windows
In this step I used Windows 7 installation disk (Win 8 will work the same way), booted from disk, get to Recovery and run command line. Then I typed that last 2 commands.
(There may be a lot of alternative ways of doing this step by using tools, WinPE disks and so on).
Restart the computer, choose the OS and run.
NOTE: If you have UEFI-based computer then this will not work. Look here again for instructions.
Hope it helps!
It seems you have problems with BCD.
I had the same problems when booting from Windows 7 VHD (created with VirtualBox).
This article from TechNet helped me too much (I will summarize it's content).
All you need to do is:
Attach that VHD using Diskpart (explained in that technet article) or use Disk Management
(press Win+R, typediskmgmt.msc
, hit Enter, chooseAction
menu ->Attach VHD
).
Add boot entry using BCDTool (here is text from article)
Use the BCDboot tool, located in the System32 directory of the VHD
image or in Windows PE to copy the boot environment files and Boot
Configuration Data (BCD) configuration from the Windows directory in
the VHD to the system partition. On a computer with BIOS firmware, the
system partition is the active partition of the first hard disk. For
example, to use BCDboot from the VHD image, at a command prompt, type:
cd v:windowssystem32
bcdboot v:windows
In this step I used Windows 7 installation disk (Win 8 will work the same way), booted from disk, get to Recovery and run command line. Then I typed that last 2 commands.
(There may be a lot of alternative ways of doing this step by using tools, WinPE disks and so on).
Restart the computer, choose the OS and run.
NOTE: If you have UEFI-based computer then this will not work. Look here again for instructions.
Hope it helps!
answered Jul 4 '14 at 11:10
Jet
1,9941832
1,9941832
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f749460%2fsteps-to-make-native-boot-vhd-boot-in-virtual-box%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown