how to repair uefi boot option
I somehow erased all the boot options in my bios (maybe caused by some operation using super-grub disk). I have tried to fix my grub using boot-repair live-usb. After performing recommended repair and reboot, there is still no boot option in the bios, and I'm brought to the bios setup screen itself everytime I boot.
Complete information about my setup is here.
The whole story started when I found my windows cannot boot (BCD broken error). Then I thought it was a grub issue so I used boot-repair in my linux and performed the recommended repair. Then I found I cannot get into my linux either, only left with a grub> prompt. So I tried super-grub disk and super-grub2 disk live. Then I found I've basically erased all my boot-options in the bios/uefi. Now I've installed another linux (kubuntu) in hope that the new installation could fix the grub, but it didn't. So I finally tried boot-repair live usb and performed the recommended repair, but still no luck. Any idea how to fix this?
grub2 dual-boot boot-loader uefi
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I somehow erased all the boot options in my bios (maybe caused by some operation using super-grub disk). I have tried to fix my grub using boot-repair live-usb. After performing recommended repair and reboot, there is still no boot option in the bios, and I'm brought to the bios setup screen itself everytime I boot.
Complete information about my setup is here.
The whole story started when I found my windows cannot boot (BCD broken error). Then I thought it was a grub issue so I used boot-repair in my linux and performed the recommended repair. Then I found I cannot get into my linux either, only left with a grub> prompt. So I tried super-grub disk and super-grub2 disk live. Then I found I've basically erased all my boot-options in the bios/uefi. Now I've installed another linux (kubuntu) in hope that the new installation could fix the grub, but it didn't. So I finally tried boot-repair live usb and performed the recommended repair, but still no luck. Any idea how to fix this?
grub2 dual-boot boot-loader uefi
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I somehow erased all the boot options in my bios (maybe caused by some operation using super-grub disk). I have tried to fix my grub using boot-repair live-usb. After performing recommended repair and reboot, there is still no boot option in the bios, and I'm brought to the bios setup screen itself everytime I boot.
Complete information about my setup is here.
The whole story started when I found my windows cannot boot (BCD broken error). Then I thought it was a grub issue so I used boot-repair in my linux and performed the recommended repair. Then I found I cannot get into my linux either, only left with a grub> prompt. So I tried super-grub disk and super-grub2 disk live. Then I found I've basically erased all my boot-options in the bios/uefi. Now I've installed another linux (kubuntu) in hope that the new installation could fix the grub, but it didn't. So I finally tried boot-repair live usb and performed the recommended repair, but still no luck. Any idea how to fix this?
grub2 dual-boot boot-loader uefi
I somehow erased all the boot options in my bios (maybe caused by some operation using super-grub disk). I have tried to fix my grub using boot-repair live-usb. After performing recommended repair and reboot, there is still no boot option in the bios, and I'm brought to the bios setup screen itself everytime I boot.
Complete information about my setup is here.
The whole story started when I found my windows cannot boot (BCD broken error). Then I thought it was a grub issue so I used boot-repair in my linux and performed the recommended repair. Then I found I cannot get into my linux either, only left with a grub> prompt. So I tried super-grub disk and super-grub2 disk live. Then I found I've basically erased all my boot-options in the bios/uefi. Now I've installed another linux (kubuntu) in hope that the new installation could fix the grub, but it didn't. So I finally tried boot-repair live usb and performed the recommended repair, but still no luck. Any idea how to fix this?
grub2 dual-boot boot-loader uefi
grub2 dual-boot boot-loader uefi
edited Oct 1 '16 at 11:03
GAD3R
26.9k1756111
26.9k1756111
asked Oct 1 '16 at 10:52
KambrianKambrian
11
11
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 1 hour ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
finally fixed it with gdisk. not sure which is the crucial step, but after backing up and restoring the uefi header and partition table, upon reboot my linux will try to fix the disk and then fail to mount the efi system partition. At this stage, running gdisk from the rescue command line automatically discovers an erroneous "active" flag associated with the efi system partition. Just letting it fix the flag solves the problem.
It's not a problem with the bios or uefi. I also tried wiping out the efi system partition and reinstalling windows 10. However, that didn't help.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f313617%2fhow-to-repair-uefi-boot-option%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
finally fixed it with gdisk. not sure which is the crucial step, but after backing up and restoring the uefi header and partition table, upon reboot my linux will try to fix the disk and then fail to mount the efi system partition. At this stage, running gdisk from the rescue command line automatically discovers an erroneous "active" flag associated with the efi system partition. Just letting it fix the flag solves the problem.
It's not a problem with the bios or uefi. I also tried wiping out the efi system partition and reinstalling windows 10. However, that didn't help.
add a comment |
finally fixed it with gdisk. not sure which is the crucial step, but after backing up and restoring the uefi header and partition table, upon reboot my linux will try to fix the disk and then fail to mount the efi system partition. At this stage, running gdisk from the rescue command line automatically discovers an erroneous "active" flag associated with the efi system partition. Just letting it fix the flag solves the problem.
It's not a problem with the bios or uefi. I also tried wiping out the efi system partition and reinstalling windows 10. However, that didn't help.
add a comment |
finally fixed it with gdisk. not sure which is the crucial step, but after backing up and restoring the uefi header and partition table, upon reboot my linux will try to fix the disk and then fail to mount the efi system partition. At this stage, running gdisk from the rescue command line automatically discovers an erroneous "active" flag associated with the efi system partition. Just letting it fix the flag solves the problem.
It's not a problem with the bios or uefi. I also tried wiping out the efi system partition and reinstalling windows 10. However, that didn't help.
finally fixed it with gdisk. not sure which is the crucial step, but after backing up and restoring the uefi header and partition table, upon reboot my linux will try to fix the disk and then fail to mount the efi system partition. At this stage, running gdisk from the rescue command line automatically discovers an erroneous "active" flag associated with the efi system partition. Just letting it fix the flag solves the problem.
It's not a problem with the bios or uefi. I also tried wiping out the efi system partition and reinstalling windows 10. However, that didn't help.
answered Oct 25 '16 at 2:28
KambrianKambrian
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f313617%2fhow-to-repair-uefi-boot-option%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