Unable to fix GRUB for dual-boot after BIOS update (using boot-repair)
After my latest update of BIOS (while using Windows) my grub menu went missing.
Previously, I was able to repair GRUB menu this way:
- Booting into Windows
- Going to Advanced Startup options
- Selecting my Ubuntu partition there
- Getting advanced restart -> Seeing my GRUB menu.
Then, I was able to select Ubuntu OS, log in, run boot-repair and get my GRUB menu back.
However, this time when I try to run this command:
sudo apt-get purge -y --force-yes grub* shim-signed linux-signed*
(as boot-repair recommends me), I get an error:
E: Unable to locate package grub-reinstall_programs
So, I can't purge my GRUB and repair its menu... I have no idea how to fix this error and not to mess up with it even more. Please, help!
Additional info:
I have Ubuntu 14.04 and a pre-installed Windows 8.1 on my PC.
dual-boot grub2 bios boot-repair
add a comment |
After my latest update of BIOS (while using Windows) my grub menu went missing.
Previously, I was able to repair GRUB menu this way:
- Booting into Windows
- Going to Advanced Startup options
- Selecting my Ubuntu partition there
- Getting advanced restart -> Seeing my GRUB menu.
Then, I was able to select Ubuntu OS, log in, run boot-repair and get my GRUB menu back.
However, this time when I try to run this command:
sudo apt-get purge -y --force-yes grub* shim-signed linux-signed*
(as boot-repair recommends me), I get an error:
E: Unable to locate package grub-reinstall_programs
So, I can't purge my GRUB and repair its menu... I have no idea how to fix this error and not to mess up with it even more. Please, help!
Additional info:
I have Ubuntu 14.04 and a pre-installed Windows 8.1 on my PC.
dual-boot grub2 bios boot-repair
askubuntu.com/questions/88384/…
– Ulad Kasach
Jun 9 '16 at 3:39
add a comment |
After my latest update of BIOS (while using Windows) my grub menu went missing.
Previously, I was able to repair GRUB menu this way:
- Booting into Windows
- Going to Advanced Startup options
- Selecting my Ubuntu partition there
- Getting advanced restart -> Seeing my GRUB menu.
Then, I was able to select Ubuntu OS, log in, run boot-repair and get my GRUB menu back.
However, this time when I try to run this command:
sudo apt-get purge -y --force-yes grub* shim-signed linux-signed*
(as boot-repair recommends me), I get an error:
E: Unable to locate package grub-reinstall_programs
So, I can't purge my GRUB and repair its menu... I have no idea how to fix this error and not to mess up with it even more. Please, help!
Additional info:
I have Ubuntu 14.04 and a pre-installed Windows 8.1 on my PC.
dual-boot grub2 bios boot-repair
After my latest update of BIOS (while using Windows) my grub menu went missing.
Previously, I was able to repair GRUB menu this way:
- Booting into Windows
- Going to Advanced Startup options
- Selecting my Ubuntu partition there
- Getting advanced restart -> Seeing my GRUB menu.
Then, I was able to select Ubuntu OS, log in, run boot-repair and get my GRUB menu back.
However, this time when I try to run this command:
sudo apt-get purge -y --force-yes grub* shim-signed linux-signed*
(as boot-repair recommends me), I get an error:
E: Unable to locate package grub-reinstall_programs
So, I can't purge my GRUB and repair its menu... I have no idea how to fix this error and not to mess up with it even more. Please, help!
Additional info:
I have Ubuntu 14.04 and a pre-installed Windows 8.1 on my PC.
dual-boot grub2 bios boot-repair
dual-boot grub2 bios boot-repair
edited Nov 7 '14 at 18:18
0lesya
asked Nov 7 '14 at 17:24
0lesya0lesya
6029
6029
askubuntu.com/questions/88384/…
– Ulad Kasach
Jun 9 '16 at 3:39
add a comment |
askubuntu.com/questions/88384/…
– Ulad Kasach
Jun 9 '16 at 3:39
askubuntu.com/questions/88384/…
– Ulad Kasach
Jun 9 '16 at 3:39
askubuntu.com/questions/88384/…
– Ulad Kasach
Jun 9 '16 at 3:39
add a comment |
3 Answers
3
active
oldest
votes
in the command, replace grub*
by grub-common
. The error should disappear.
1
worked perfectly, thanks!
– 0lesya
Nov 8 '14 at 10:38
add a comment |
insert an Ubuntu Live DVD or CD
Choose the Option Try Ubuntu
Allow it to start up. now lets Start
This solution is suitable after a bios update or after repartitioning your hard disk or both. if after one of these actions you get the grub error 17 message kindly follow the steps below. Some situations might not required all the steps, but others might need it. however following these steps will do no harm even if you don't need it.
open a terminal "ctrl + alt + T" then type the following commands within the quotation signs followed by enter
- "sudo fdisk -l"
- "sudo fdisk /dev/hda" OR "sudo fdisk /dev/sda"
Use sda or hda depending on what the output of command line 1. says - "x"
- "f"
- "w"
close the terminal.
open a new terminal "ctrl + alt + T" then type the following command within the quotation signs followed by enter
- "sudo fdisk -l"
Identify the partition with "linux" at the end, not the one with "linux swap/Solaris"
write down the sdaX or hdaX code where "X" is a number
e.g. hda2 is (hd0,1) in grub and
sda2 is (hd0,1) in grub
simillarly sda5 or hda5 is (hd0,4) in grub
it is the grub code you'll need.
your grub code should be in the form (hd0,W) where W is a number
close the terminal
Connect to the internet
open a new terminal "ctrl + alt + T" then type the following commands within the quotation signs followed by enter
- "sudo apt-get install grub"
- "Y"
- "sudo grub"
- "root (hd0,W)"
- "setup (hd0)"
- "quit"
close the terminal
- You might need to run startup repair with your windows installation dvd
- Grub Should be reinstalled and working properly
add a comment |
I don't know if I understood the problem correctly but I lost my grub menu after bios update.There was no grub menu and it directly booted my windows.
(I had dual-booted Ubuntu 18.04 and windows 10). I accessed the advanced startup options after booting into windows(as given above). From the options I accessed the U.E.F.I settings, there I found both my software installed so I changed the priority by making Ubuntu the first one to be booted and when I saved the changes I could see my grub menu after restart.
(I just thought to check out what will happen if I changed this setting.)
I have no clue about boot-repair and don't know if I used it or not.
add a comment |
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
});
}
});
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%2faskubuntu.com%2fquestions%2f546890%2funable-to-fix-grub-for-dual-boot-after-bios-update-using-boot-repair%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
in the command, replace grub*
by grub-common
. The error should disappear.
1
worked perfectly, thanks!
– 0lesya
Nov 8 '14 at 10:38
add a comment |
in the command, replace grub*
by grub-common
. The error should disappear.
1
worked perfectly, thanks!
– 0lesya
Nov 8 '14 at 10:38
add a comment |
in the command, replace grub*
by grub-common
. The error should disappear.
in the command, replace grub*
by grub-common
. The error should disappear.
answered Nov 7 '14 at 21:07
LovinBuntuLovinBuntu
2,85521519
2,85521519
1
worked perfectly, thanks!
– 0lesya
Nov 8 '14 at 10:38
add a comment |
1
worked perfectly, thanks!
– 0lesya
Nov 8 '14 at 10:38
1
1
worked perfectly, thanks!
– 0lesya
Nov 8 '14 at 10:38
worked perfectly, thanks!
– 0lesya
Nov 8 '14 at 10:38
add a comment |
insert an Ubuntu Live DVD or CD
Choose the Option Try Ubuntu
Allow it to start up. now lets Start
This solution is suitable after a bios update or after repartitioning your hard disk or both. if after one of these actions you get the grub error 17 message kindly follow the steps below. Some situations might not required all the steps, but others might need it. however following these steps will do no harm even if you don't need it.
open a terminal "ctrl + alt + T" then type the following commands within the quotation signs followed by enter
- "sudo fdisk -l"
- "sudo fdisk /dev/hda" OR "sudo fdisk /dev/sda"
Use sda or hda depending on what the output of command line 1. says - "x"
- "f"
- "w"
close the terminal.
open a new terminal "ctrl + alt + T" then type the following command within the quotation signs followed by enter
- "sudo fdisk -l"
Identify the partition with "linux" at the end, not the one with "linux swap/Solaris"
write down the sdaX or hdaX code where "X" is a number
e.g. hda2 is (hd0,1) in grub and
sda2 is (hd0,1) in grub
simillarly sda5 or hda5 is (hd0,4) in grub
it is the grub code you'll need.
your grub code should be in the form (hd0,W) where W is a number
close the terminal
Connect to the internet
open a new terminal "ctrl + alt + T" then type the following commands within the quotation signs followed by enter
- "sudo apt-get install grub"
- "Y"
- "sudo grub"
- "root (hd0,W)"
- "setup (hd0)"
- "quit"
close the terminal
- You might need to run startup repair with your windows installation dvd
- Grub Should be reinstalled and working properly
add a comment |
insert an Ubuntu Live DVD or CD
Choose the Option Try Ubuntu
Allow it to start up. now lets Start
This solution is suitable after a bios update or after repartitioning your hard disk or both. if after one of these actions you get the grub error 17 message kindly follow the steps below. Some situations might not required all the steps, but others might need it. however following these steps will do no harm even if you don't need it.
open a terminal "ctrl + alt + T" then type the following commands within the quotation signs followed by enter
- "sudo fdisk -l"
- "sudo fdisk /dev/hda" OR "sudo fdisk /dev/sda"
Use sda or hda depending on what the output of command line 1. says - "x"
- "f"
- "w"
close the terminal.
open a new terminal "ctrl + alt + T" then type the following command within the quotation signs followed by enter
- "sudo fdisk -l"
Identify the partition with "linux" at the end, not the one with "linux swap/Solaris"
write down the sdaX or hdaX code where "X" is a number
e.g. hda2 is (hd0,1) in grub and
sda2 is (hd0,1) in grub
simillarly sda5 or hda5 is (hd0,4) in grub
it is the grub code you'll need.
your grub code should be in the form (hd0,W) where W is a number
close the terminal
Connect to the internet
open a new terminal "ctrl + alt + T" then type the following commands within the quotation signs followed by enter
- "sudo apt-get install grub"
- "Y"
- "sudo grub"
- "root (hd0,W)"
- "setup (hd0)"
- "quit"
close the terminal
- You might need to run startup repair with your windows installation dvd
- Grub Should be reinstalled and working properly
add a comment |
insert an Ubuntu Live DVD or CD
Choose the Option Try Ubuntu
Allow it to start up. now lets Start
This solution is suitable after a bios update or after repartitioning your hard disk or both. if after one of these actions you get the grub error 17 message kindly follow the steps below. Some situations might not required all the steps, but others might need it. however following these steps will do no harm even if you don't need it.
open a terminal "ctrl + alt + T" then type the following commands within the quotation signs followed by enter
- "sudo fdisk -l"
- "sudo fdisk /dev/hda" OR "sudo fdisk /dev/sda"
Use sda or hda depending on what the output of command line 1. says - "x"
- "f"
- "w"
close the terminal.
open a new terminal "ctrl + alt + T" then type the following command within the quotation signs followed by enter
- "sudo fdisk -l"
Identify the partition with "linux" at the end, not the one with "linux swap/Solaris"
write down the sdaX or hdaX code where "X" is a number
e.g. hda2 is (hd0,1) in grub and
sda2 is (hd0,1) in grub
simillarly sda5 or hda5 is (hd0,4) in grub
it is the grub code you'll need.
your grub code should be in the form (hd0,W) where W is a number
close the terminal
Connect to the internet
open a new terminal "ctrl + alt + T" then type the following commands within the quotation signs followed by enter
- "sudo apt-get install grub"
- "Y"
- "sudo grub"
- "root (hd0,W)"
- "setup (hd0)"
- "quit"
close the terminal
- You might need to run startup repair with your windows installation dvd
- Grub Should be reinstalled and working properly
insert an Ubuntu Live DVD or CD
Choose the Option Try Ubuntu
Allow it to start up. now lets Start
This solution is suitable after a bios update or after repartitioning your hard disk or both. if after one of these actions you get the grub error 17 message kindly follow the steps below. Some situations might not required all the steps, but others might need it. however following these steps will do no harm even if you don't need it.
open a terminal "ctrl + alt + T" then type the following commands within the quotation signs followed by enter
- "sudo fdisk -l"
- "sudo fdisk /dev/hda" OR "sudo fdisk /dev/sda"
Use sda or hda depending on what the output of command line 1. says - "x"
- "f"
- "w"
close the terminal.
open a new terminal "ctrl + alt + T" then type the following command within the quotation signs followed by enter
- "sudo fdisk -l"
Identify the partition with "linux" at the end, not the one with "linux swap/Solaris"
write down the sdaX or hdaX code where "X" is a number
e.g. hda2 is (hd0,1) in grub and
sda2 is (hd0,1) in grub
simillarly sda5 or hda5 is (hd0,4) in grub
it is the grub code you'll need.
your grub code should be in the form (hd0,W) where W is a number
close the terminal
Connect to the internet
open a new terminal "ctrl + alt + T" then type the following commands within the quotation signs followed by enter
- "sudo apt-get install grub"
- "Y"
- "sudo grub"
- "root (hd0,W)"
- "setup (hd0)"
- "quit"
close the terminal
- You might need to run startup repair with your windows installation dvd
- Grub Should be reinstalled and working properly
edited Aug 4 '15 at 13:18
answered Aug 4 '15 at 13:12
Emmanuel OfomanaEmmanuel Ofomana
112
112
add a comment |
add a comment |
I don't know if I understood the problem correctly but I lost my grub menu after bios update.There was no grub menu and it directly booted my windows.
(I had dual-booted Ubuntu 18.04 and windows 10). I accessed the advanced startup options after booting into windows(as given above). From the options I accessed the U.E.F.I settings, there I found both my software installed so I changed the priority by making Ubuntu the first one to be booted and when I saved the changes I could see my grub menu after restart.
(I just thought to check out what will happen if I changed this setting.)
I have no clue about boot-repair and don't know if I used it or not.
add a comment |
I don't know if I understood the problem correctly but I lost my grub menu after bios update.There was no grub menu and it directly booted my windows.
(I had dual-booted Ubuntu 18.04 and windows 10). I accessed the advanced startup options after booting into windows(as given above). From the options I accessed the U.E.F.I settings, there I found both my software installed so I changed the priority by making Ubuntu the first one to be booted and when I saved the changes I could see my grub menu after restart.
(I just thought to check out what will happen if I changed this setting.)
I have no clue about boot-repair and don't know if I used it or not.
add a comment |
I don't know if I understood the problem correctly but I lost my grub menu after bios update.There was no grub menu and it directly booted my windows.
(I had dual-booted Ubuntu 18.04 and windows 10). I accessed the advanced startup options after booting into windows(as given above). From the options I accessed the U.E.F.I settings, there I found both my software installed so I changed the priority by making Ubuntu the first one to be booted and when I saved the changes I could see my grub menu after restart.
(I just thought to check out what will happen if I changed this setting.)
I have no clue about boot-repair and don't know if I used it or not.
I don't know if I understood the problem correctly but I lost my grub menu after bios update.There was no grub menu and it directly booted my windows.
(I had dual-booted Ubuntu 18.04 and windows 10). I accessed the advanced startup options after booting into windows(as given above). From the options I accessed the U.E.F.I settings, there I found both my software installed so I changed the priority by making Ubuntu the first one to be booted and when I saved the changes I could see my grub menu after restart.
(I just thought to check out what will happen if I changed this setting.)
I have no clue about boot-repair and don't know if I used it or not.
answered Jan 11 at 5:53
Shakti RatanShakti Ratan
1
1
add a comment |
add a comment |
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.
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%2faskubuntu.com%2fquestions%2f546890%2funable-to-fix-grub-for-dual-boot-after-bios-update-using-boot-repair%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
askubuntu.com/questions/88384/…
– Ulad Kasach
Jun 9 '16 at 3:39