How to restore Windows boot option in grub2












0















I used to have two harddrives sda (Ubuntu 12.04LTS) and sdb (Window 7). I used grub2 to boot between both of them.



Then, I did a clean install of Ubuntu 13.10 on sda replacing the old Ubuntu version. I think, this install automatically changed boot to UEFI if I'm not mistaken.



Now, the Windows boot option doesn't show up anymore in grub menu and I have no way to boot into my Windows 7 installation anymore, which I need to do occassionally.



How can I restore it? Do I need to revert back to a previous boot mechanism prior UEFI (which one?)? What would be of interest to debug this?



sdb1 is the boot partition of Windows 7 (ntfs)



My Linux partitions are encrypted.










share|improve this question























  • Your EFI-vs-BIOS configuration is not 100% clear, but the proper solution is reliant on getting this detail right. Thus, I recommend you run the Boot Info Script, post the RESULTS.txt file it generates to a pastebin site, and post the resulting URL here. That should clarify the issue and avoid dead-ends caused by people making incorrect guesses about your configuration.

    – Rod Smith
    Dec 2 '13 at 0:33
















0















I used to have two harddrives sda (Ubuntu 12.04LTS) and sdb (Window 7). I used grub2 to boot between both of them.



Then, I did a clean install of Ubuntu 13.10 on sda replacing the old Ubuntu version. I think, this install automatically changed boot to UEFI if I'm not mistaken.



Now, the Windows boot option doesn't show up anymore in grub menu and I have no way to boot into my Windows 7 installation anymore, which I need to do occassionally.



How can I restore it? Do I need to revert back to a previous boot mechanism prior UEFI (which one?)? What would be of interest to debug this?



sdb1 is the boot partition of Windows 7 (ntfs)



My Linux partitions are encrypted.










share|improve this question























  • Your EFI-vs-BIOS configuration is not 100% clear, but the proper solution is reliant on getting this detail right. Thus, I recommend you run the Boot Info Script, post the RESULTS.txt file it generates to a pastebin site, and post the resulting URL here. That should clarify the issue and avoid dead-ends caused by people making incorrect guesses about your configuration.

    – Rod Smith
    Dec 2 '13 at 0:33














0












0








0








I used to have two harddrives sda (Ubuntu 12.04LTS) and sdb (Window 7). I used grub2 to boot between both of them.



Then, I did a clean install of Ubuntu 13.10 on sda replacing the old Ubuntu version. I think, this install automatically changed boot to UEFI if I'm not mistaken.



Now, the Windows boot option doesn't show up anymore in grub menu and I have no way to boot into my Windows 7 installation anymore, which I need to do occassionally.



How can I restore it? Do I need to revert back to a previous boot mechanism prior UEFI (which one?)? What would be of interest to debug this?



sdb1 is the boot partition of Windows 7 (ntfs)



My Linux partitions are encrypted.










share|improve this question














I used to have two harddrives sda (Ubuntu 12.04LTS) and sdb (Window 7). I used grub2 to boot between both of them.



Then, I did a clean install of Ubuntu 13.10 on sda replacing the old Ubuntu version. I think, this install automatically changed boot to UEFI if I'm not mistaken.



Now, the Windows boot option doesn't show up anymore in grub menu and I have no way to boot into my Windows 7 installation anymore, which I need to do occassionally.



How can I restore it? Do I need to revert back to a previous boot mechanism prior UEFI (which one?)? What would be of interest to debug this?



sdb1 is the boot partition of Windows 7 (ntfs)



My Linux partitions are encrypted.







dual-boot grub2 uefi






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 1 '13 at 11:02









SebiSebi

22618




22618













  • Your EFI-vs-BIOS configuration is not 100% clear, but the proper solution is reliant on getting this detail right. Thus, I recommend you run the Boot Info Script, post the RESULTS.txt file it generates to a pastebin site, and post the resulting URL here. That should clarify the issue and avoid dead-ends caused by people making incorrect guesses about your configuration.

    – Rod Smith
    Dec 2 '13 at 0:33



















  • Your EFI-vs-BIOS configuration is not 100% clear, but the proper solution is reliant on getting this detail right. Thus, I recommend you run the Boot Info Script, post the RESULTS.txt file it generates to a pastebin site, and post the resulting URL here. That should clarify the issue and avoid dead-ends caused by people making incorrect guesses about your configuration.

    – Rod Smith
    Dec 2 '13 at 0:33

















Your EFI-vs-BIOS configuration is not 100% clear, but the proper solution is reliant on getting this detail right. Thus, I recommend you run the Boot Info Script, post the RESULTS.txt file it generates to a pastebin site, and post the resulting URL here. That should clarify the issue and avoid dead-ends caused by people making incorrect guesses about your configuration.

– Rod Smith
Dec 2 '13 at 0:33





Your EFI-vs-BIOS configuration is not 100% clear, but the proper solution is reliant on getting this detail right. Thus, I recommend you run the Boot Info Script, post the RESULTS.txt file it generates to a pastebin site, and post the resulting URL here. That should clarify the issue and avoid dead-ends caused by people making incorrect guesses about your configuration.

– Rod Smith
Dec 2 '13 at 0:33










1 Answer
1






active

oldest

votes


















0














Grub2 should be able to find windows using sudo update-grub. If that does not work, maybe your partition table is damaged and you should use a livecd or a tool like super grub disk to recover it.



More info: http://ubuntuforums.org/showthread.php?t=1657134



Edit: You cannot have both OS with different boot system. If one is with EFI/UEFI, the other should be installed using the same system.






share|improve this answer


























  • sudo update-grub didn't help, so I will look into the thread you linked later today. But in general, it should work that I can still use my old Windows boot-table even now grub uses the EFI stuff?

    – Sebi
    Dec 1 '13 at 12:05













  • It should work in both methods (EFI and BIOS) but the UEFI is the currently recommended method, as theorically it's better than the BIOS. I've found more information here (it's for ArchLinux, but should be very similar)

    – elboletaire
    Dec 2 '13 at 14:19











  • After learning a bit more... You cannot have two OS installed using different BIOS systems. Both must be in the same system (or BIOS or EFI/UEFI).

    – elboletaire
    Jun 19 '14 at 14:12











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',
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f384532%2fhow-to-restore-windows-boot-option-in-grub2%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









0














Grub2 should be able to find windows using sudo update-grub. If that does not work, maybe your partition table is damaged and you should use a livecd or a tool like super grub disk to recover it.



More info: http://ubuntuforums.org/showthread.php?t=1657134



Edit: You cannot have both OS with different boot system. If one is with EFI/UEFI, the other should be installed using the same system.






share|improve this answer


























  • sudo update-grub didn't help, so I will look into the thread you linked later today. But in general, it should work that I can still use my old Windows boot-table even now grub uses the EFI stuff?

    – Sebi
    Dec 1 '13 at 12:05













  • It should work in both methods (EFI and BIOS) but the UEFI is the currently recommended method, as theorically it's better than the BIOS. I've found more information here (it's for ArchLinux, but should be very similar)

    – elboletaire
    Dec 2 '13 at 14:19











  • After learning a bit more... You cannot have two OS installed using different BIOS systems. Both must be in the same system (or BIOS or EFI/UEFI).

    – elboletaire
    Jun 19 '14 at 14:12
















0














Grub2 should be able to find windows using sudo update-grub. If that does not work, maybe your partition table is damaged and you should use a livecd or a tool like super grub disk to recover it.



More info: http://ubuntuforums.org/showthread.php?t=1657134



Edit: You cannot have both OS with different boot system. If one is with EFI/UEFI, the other should be installed using the same system.






share|improve this answer


























  • sudo update-grub didn't help, so I will look into the thread you linked later today. But in general, it should work that I can still use my old Windows boot-table even now grub uses the EFI stuff?

    – Sebi
    Dec 1 '13 at 12:05













  • It should work in both methods (EFI and BIOS) but the UEFI is the currently recommended method, as theorically it's better than the BIOS. I've found more information here (it's for ArchLinux, but should be very similar)

    – elboletaire
    Dec 2 '13 at 14:19











  • After learning a bit more... You cannot have two OS installed using different BIOS systems. Both must be in the same system (or BIOS or EFI/UEFI).

    – elboletaire
    Jun 19 '14 at 14:12














0












0








0







Grub2 should be able to find windows using sudo update-grub. If that does not work, maybe your partition table is damaged and you should use a livecd or a tool like super grub disk to recover it.



More info: http://ubuntuforums.org/showthread.php?t=1657134



Edit: You cannot have both OS with different boot system. If one is with EFI/UEFI, the other should be installed using the same system.






share|improve this answer















Grub2 should be able to find windows using sudo update-grub. If that does not work, maybe your partition table is damaged and you should use a livecd or a tool like super grub disk to recover it.



More info: http://ubuntuforums.org/showthread.php?t=1657134



Edit: You cannot have both OS with different boot system. If one is with EFI/UEFI, the other should be installed using the same system.







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 16 at 13:24

























answered Dec 1 '13 at 11:35









elboletaireelboletaire

1074




1074













  • sudo update-grub didn't help, so I will look into the thread you linked later today. But in general, it should work that I can still use my old Windows boot-table even now grub uses the EFI stuff?

    – Sebi
    Dec 1 '13 at 12:05













  • It should work in both methods (EFI and BIOS) but the UEFI is the currently recommended method, as theorically it's better than the BIOS. I've found more information here (it's for ArchLinux, but should be very similar)

    – elboletaire
    Dec 2 '13 at 14:19











  • After learning a bit more... You cannot have two OS installed using different BIOS systems. Both must be in the same system (or BIOS or EFI/UEFI).

    – elboletaire
    Jun 19 '14 at 14:12



















  • sudo update-grub didn't help, so I will look into the thread you linked later today. But in general, it should work that I can still use my old Windows boot-table even now grub uses the EFI stuff?

    – Sebi
    Dec 1 '13 at 12:05













  • It should work in both methods (EFI and BIOS) but the UEFI is the currently recommended method, as theorically it's better than the BIOS. I've found more information here (it's for ArchLinux, but should be very similar)

    – elboletaire
    Dec 2 '13 at 14:19











  • After learning a bit more... You cannot have two OS installed using different BIOS systems. Both must be in the same system (or BIOS or EFI/UEFI).

    – elboletaire
    Jun 19 '14 at 14:12

















sudo update-grub didn't help, so I will look into the thread you linked later today. But in general, it should work that I can still use my old Windows boot-table even now grub uses the EFI stuff?

– Sebi
Dec 1 '13 at 12:05







sudo update-grub didn't help, so I will look into the thread you linked later today. But in general, it should work that I can still use my old Windows boot-table even now grub uses the EFI stuff?

– Sebi
Dec 1 '13 at 12:05















It should work in both methods (EFI and BIOS) but the UEFI is the currently recommended method, as theorically it's better than the BIOS. I've found more information here (it's for ArchLinux, but should be very similar)

– elboletaire
Dec 2 '13 at 14:19





It should work in both methods (EFI and BIOS) but the UEFI is the currently recommended method, as theorically it's better than the BIOS. I've found more information here (it's for ArchLinux, but should be very similar)

– elboletaire
Dec 2 '13 at 14:19













After learning a bit more... You cannot have two OS installed using different BIOS systems. Both must be in the same system (or BIOS or EFI/UEFI).

– elboletaire
Jun 19 '14 at 14:12





After learning a bit more... You cannot have two OS installed using different BIOS systems. Both must be in the same system (or BIOS or EFI/UEFI).

– elboletaire
Jun 19 '14 at 14:12


















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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f384532%2fhow-to-restore-windows-boot-option-in-grub2%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

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局