Dual Boot: Grub does not show windows anymore











up vote
0
down vote

favorite












I have a dual-boot computer and used to be able to boot both to Windows 7 and Ubuntu 18.04.



Since recently the grub selection menu does not show windows anymore. Booting to Ubuntu still works fine.



As I was not able to fix the problem so far, I need your help.



Here is the output of boot-repair:
http://paste.ubuntu.com/p/vVbDwv3948/



Please let me know if you need any additional information or log files.



Thank you!



Best, Christian










share|improve this question


















  • 1




    Try sudo update-grub
    – singrium
    Nov 22 at 15:00










  • didn't work out
    – Christian Zimpelmann
    Nov 22 at 16:29















up vote
0
down vote

favorite












I have a dual-boot computer and used to be able to boot both to Windows 7 and Ubuntu 18.04.



Since recently the grub selection menu does not show windows anymore. Booting to Ubuntu still works fine.



As I was not able to fix the problem so far, I need your help.



Here is the output of boot-repair:
http://paste.ubuntu.com/p/vVbDwv3948/



Please let me know if you need any additional information or log files.



Thank you!



Best, Christian










share|improve this question


















  • 1




    Try sudo update-grub
    – singrium
    Nov 22 at 15:00










  • didn't work out
    – Christian Zimpelmann
    Nov 22 at 16:29













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a dual-boot computer and used to be able to boot both to Windows 7 and Ubuntu 18.04.



Since recently the grub selection menu does not show windows anymore. Booting to Ubuntu still works fine.



As I was not able to fix the problem so far, I need your help.



Here is the output of boot-repair:
http://paste.ubuntu.com/p/vVbDwv3948/



Please let me know if you need any additional information or log files.



Thank you!



Best, Christian










share|improve this question













I have a dual-boot computer and used to be able to boot both to Windows 7 and Ubuntu 18.04.



Since recently the grub selection menu does not show windows anymore. Booting to Ubuntu still works fine.



As I was not able to fix the problem so far, I need your help.



Here is the output of boot-repair:
http://paste.ubuntu.com/p/vVbDwv3948/



Please let me know if you need any additional information or log files.



Thank you!



Best, Christian







boot dual-boot grub2 windows-7






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 22 at 14:01









Christian Zimpelmann

536




536








  • 1




    Try sudo update-grub
    – singrium
    Nov 22 at 15:00










  • didn't work out
    – Christian Zimpelmann
    Nov 22 at 16:29














  • 1




    Try sudo update-grub
    – singrium
    Nov 22 at 15:00










  • didn't work out
    – Christian Zimpelmann
    Nov 22 at 16:29








1




1




Try sudo update-grub
– singrium
Nov 22 at 15:00




Try sudo update-grub
– singrium
Nov 22 at 15:00












didn't work out
– Christian Zimpelmann
Nov 22 at 16:29




didn't work out
– Christian Zimpelmann
Nov 22 at 16:29










1 Answer
1






active

oldest

votes

















up vote
1
down vote













This is really a Windows fix that is required.



Grub2's os-prober looks for Windows boot files.
Vista/7/8/10 BIOS (with 7, 8 or 10 the first two files are usually in a separate 100MB boot partition)
/bootmgr /Boot/BCD /Windows/System32/winload.exe



Windows 7 in BIOS boot mode typically has a separate Boot partition, your sda1 and Windows uses boot flag to know which partition has those boot files.



Your sda1 is not showing any boot files, you need to restore bootmgr &
BCD using a Windows repair disk. You cannot fix it from Linux.



Some alternative fixes here. but best to use Windows repair console from your Windows repair flash drive.



How to remove Ubuntu and put Windows back on?






share|improve this answer





















  • Thank you very much for your answer! Aren't there windows boot files on sda2?
    – Christian Zimpelmann
    Nov 22 at 16:30










  • You are showing winload.exe. There maybe a backup of bootmgr somewhere, but generally you have to recreate BCD. Some third party tools will also work to create new BCD. Always best to back the Windows boot partition up also. Boot-Repair typically copies those boot files to main (c: ) drive so you have copies, but then os-prober sees both sets of boot files and offers two Windows boot options which boot normally work.
    – oldfred
    Nov 22 at 21:16











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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',
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1095117%2fdual-boot-grub-does-not-show-windows-anymore%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote













This is really a Windows fix that is required.



Grub2's os-prober looks for Windows boot files.
Vista/7/8/10 BIOS (with 7, 8 or 10 the first two files are usually in a separate 100MB boot partition)
/bootmgr /Boot/BCD /Windows/System32/winload.exe



Windows 7 in BIOS boot mode typically has a separate Boot partition, your sda1 and Windows uses boot flag to know which partition has those boot files.



Your sda1 is not showing any boot files, you need to restore bootmgr &
BCD using a Windows repair disk. You cannot fix it from Linux.



Some alternative fixes here. but best to use Windows repair console from your Windows repair flash drive.



How to remove Ubuntu and put Windows back on?






share|improve this answer





















  • Thank you very much for your answer! Aren't there windows boot files on sda2?
    – Christian Zimpelmann
    Nov 22 at 16:30










  • You are showing winload.exe. There maybe a backup of bootmgr somewhere, but generally you have to recreate BCD. Some third party tools will also work to create new BCD. Always best to back the Windows boot partition up also. Boot-Repair typically copies those boot files to main (c: ) drive so you have copies, but then os-prober sees both sets of boot files and offers two Windows boot options which boot normally work.
    – oldfred
    Nov 22 at 21:16















up vote
1
down vote













This is really a Windows fix that is required.



Grub2's os-prober looks for Windows boot files.
Vista/7/8/10 BIOS (with 7, 8 or 10 the first two files are usually in a separate 100MB boot partition)
/bootmgr /Boot/BCD /Windows/System32/winload.exe



Windows 7 in BIOS boot mode typically has a separate Boot partition, your sda1 and Windows uses boot flag to know which partition has those boot files.



Your sda1 is not showing any boot files, you need to restore bootmgr &
BCD using a Windows repair disk. You cannot fix it from Linux.



Some alternative fixes here. but best to use Windows repair console from your Windows repair flash drive.



How to remove Ubuntu and put Windows back on?






share|improve this answer





















  • Thank you very much for your answer! Aren't there windows boot files on sda2?
    – Christian Zimpelmann
    Nov 22 at 16:30










  • You are showing winload.exe. There maybe a backup of bootmgr somewhere, but generally you have to recreate BCD. Some third party tools will also work to create new BCD. Always best to back the Windows boot partition up also. Boot-Repair typically copies those boot files to main (c: ) drive so you have copies, but then os-prober sees both sets of boot files and offers two Windows boot options which boot normally work.
    – oldfred
    Nov 22 at 21:16













up vote
1
down vote










up vote
1
down vote









This is really a Windows fix that is required.



Grub2's os-prober looks for Windows boot files.
Vista/7/8/10 BIOS (with 7, 8 or 10 the first two files are usually in a separate 100MB boot partition)
/bootmgr /Boot/BCD /Windows/System32/winload.exe



Windows 7 in BIOS boot mode typically has a separate Boot partition, your sda1 and Windows uses boot flag to know which partition has those boot files.



Your sda1 is not showing any boot files, you need to restore bootmgr &
BCD using a Windows repair disk. You cannot fix it from Linux.



Some alternative fixes here. but best to use Windows repair console from your Windows repair flash drive.



How to remove Ubuntu and put Windows back on?






share|improve this answer












This is really a Windows fix that is required.



Grub2's os-prober looks for Windows boot files.
Vista/7/8/10 BIOS (with 7, 8 or 10 the first two files are usually in a separate 100MB boot partition)
/bootmgr /Boot/BCD /Windows/System32/winload.exe



Windows 7 in BIOS boot mode typically has a separate Boot partition, your sda1 and Windows uses boot flag to know which partition has those boot files.



Your sda1 is not showing any boot files, you need to restore bootmgr &
BCD using a Windows repair disk. You cannot fix it from Linux.



Some alternative fixes here. but best to use Windows repair console from your Windows repair flash drive.



How to remove Ubuntu and put Windows back on?







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 22 at 14:53









oldfred

7,53421221




7,53421221












  • Thank you very much for your answer! Aren't there windows boot files on sda2?
    – Christian Zimpelmann
    Nov 22 at 16:30










  • You are showing winload.exe. There maybe a backup of bootmgr somewhere, but generally you have to recreate BCD. Some third party tools will also work to create new BCD. Always best to back the Windows boot partition up also. Boot-Repair typically copies those boot files to main (c: ) drive so you have copies, but then os-prober sees both sets of boot files and offers two Windows boot options which boot normally work.
    – oldfred
    Nov 22 at 21:16


















  • Thank you very much for your answer! Aren't there windows boot files on sda2?
    – Christian Zimpelmann
    Nov 22 at 16:30










  • You are showing winload.exe. There maybe a backup of bootmgr somewhere, but generally you have to recreate BCD. Some third party tools will also work to create new BCD. Always best to back the Windows boot partition up also. Boot-Repair typically copies those boot files to main (c: ) drive so you have copies, but then os-prober sees both sets of boot files and offers two Windows boot options which boot normally work.
    – oldfred
    Nov 22 at 21:16
















Thank you very much for your answer! Aren't there windows boot files on sda2?
– Christian Zimpelmann
Nov 22 at 16:30




Thank you very much for your answer! Aren't there windows boot files on sda2?
– Christian Zimpelmann
Nov 22 at 16:30












You are showing winload.exe. There maybe a backup of bootmgr somewhere, but generally you have to recreate BCD. Some third party tools will also work to create new BCD. Always best to back the Windows boot partition up also. Boot-Repair typically copies those boot files to main (c: ) drive so you have copies, but then os-prober sees both sets of boot files and offers two Windows boot options which boot normally work.
– oldfred
Nov 22 at 21:16




You are showing winload.exe. There maybe a backup of bootmgr somewhere, but generally you have to recreate BCD. Some third party tools will also work to create new BCD. Always best to back the Windows boot partition up also. Boot-Repair typically copies those boot files to main (c: ) drive so you have copies, but then os-prober sees both sets of boot files and offers two Windows boot options which boot normally work.
– oldfred
Nov 22 at 21:16


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1095117%2fdual-boot-grub-does-not-show-windows-anymore%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Ellipse (mathématiques)

Quarter-circle Tiles

Mont Emei