Where is my (“real”/active) grub.cfg?












0














I'm trying to update to a newer kernel, but have run into some problems - the grub.cfg which is present in /boot/grub/ and which references the new kernel, is not the grub menu that is shown during (re)boot. (When editing grub.cfg using f. ex. ukuu or grub config, it is the /boot/grub/grub.cfg that is being edited.)



As an example, at startup I can choose 4.4.0-93 as latest, but in /boot there is 4.18.10-041810 (among others), and which is referenced to in grub.cfg. (This is what I see at boot, when selecting advanced boot: http://i67.tinypic.com/8ysz9c.jpg)



/etc/default/grub is unedited, and I've tried running update-grub which completes w/o errors.



I've looked for another instance of grub.cfg using locate, but have not found it (except one in /boot/efi/EFI/ubuntu/ which I think references /boot/grub/grub.cfg. What am I missing?



(I'm running ubuntu 16.04.)










share|improve this question







New contributor




No Bagels is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • No Bagels what is your method of adding a newer kernel, generally speaking? You've mentioned several things including ukuu, etc
    – Thomas Byers
    yesterday










  • Numerous people have commented re: the kernel. Some of the comments say you should keep an older kernel(or two) as backup; you have five kernels still listed in grub. Yet the 4.18.xxx kernel is not showing? Is this what you are questioning, how can I boot using the 4.18.xxx kernel?? Also what are you running for Ubuntu, example I am still using 16.04 are you running a later version such as 18.04?
    – Thomas Byers
    yesterday










  • @ThomasByers I've tried using both ukuu and manually downloading from kernel.ubuntu.com/~kernel-ppa/mainline and then dkpg:ing. And yes, I'd like to boot 4.18.xxx, but also to understand why/how the grub 2 menu at boot does not correspond to grub.cfg.. (I'm using ubuntu 16.04.)
    – No Bagels
    yesterday












  • As a baseline, type into the terminal... uname -a and report what you see there
    – Thomas Byers
    yesterday












  • No Bagels here is a link from the Ubuntu community which may prove helpful to you. Pay particular attention to the first paragraph, and then, read on! help.ubuntu.com/community/RemoveOldKernels
    – Thomas Byers
    yesterday


















0














I'm trying to update to a newer kernel, but have run into some problems - the grub.cfg which is present in /boot/grub/ and which references the new kernel, is not the grub menu that is shown during (re)boot. (When editing grub.cfg using f. ex. ukuu or grub config, it is the /boot/grub/grub.cfg that is being edited.)



As an example, at startup I can choose 4.4.0-93 as latest, but in /boot there is 4.18.10-041810 (among others), and which is referenced to in grub.cfg. (This is what I see at boot, when selecting advanced boot: http://i67.tinypic.com/8ysz9c.jpg)



/etc/default/grub is unedited, and I've tried running update-grub which completes w/o errors.



I've looked for another instance of grub.cfg using locate, but have not found it (except one in /boot/efi/EFI/ubuntu/ which I think references /boot/grub/grub.cfg. What am I missing?



(I'm running ubuntu 16.04.)










share|improve this question







New contributor




No Bagels is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • No Bagels what is your method of adding a newer kernel, generally speaking? You've mentioned several things including ukuu, etc
    – Thomas Byers
    yesterday










  • Numerous people have commented re: the kernel. Some of the comments say you should keep an older kernel(or two) as backup; you have five kernels still listed in grub. Yet the 4.18.xxx kernel is not showing? Is this what you are questioning, how can I boot using the 4.18.xxx kernel?? Also what are you running for Ubuntu, example I am still using 16.04 are you running a later version such as 18.04?
    – Thomas Byers
    yesterday










  • @ThomasByers I've tried using both ukuu and manually downloading from kernel.ubuntu.com/~kernel-ppa/mainline and then dkpg:ing. And yes, I'd like to boot 4.18.xxx, but also to understand why/how the grub 2 menu at boot does not correspond to grub.cfg.. (I'm using ubuntu 16.04.)
    – No Bagels
    yesterday












  • As a baseline, type into the terminal... uname -a and report what you see there
    – Thomas Byers
    yesterday












  • No Bagels here is a link from the Ubuntu community which may prove helpful to you. Pay particular attention to the first paragraph, and then, read on! help.ubuntu.com/community/RemoveOldKernels
    – Thomas Byers
    yesterday
















0












0








0







I'm trying to update to a newer kernel, but have run into some problems - the grub.cfg which is present in /boot/grub/ and which references the new kernel, is not the grub menu that is shown during (re)boot. (When editing grub.cfg using f. ex. ukuu or grub config, it is the /boot/grub/grub.cfg that is being edited.)



As an example, at startup I can choose 4.4.0-93 as latest, but in /boot there is 4.18.10-041810 (among others), and which is referenced to in grub.cfg. (This is what I see at boot, when selecting advanced boot: http://i67.tinypic.com/8ysz9c.jpg)



/etc/default/grub is unedited, and I've tried running update-grub which completes w/o errors.



I've looked for another instance of grub.cfg using locate, but have not found it (except one in /boot/efi/EFI/ubuntu/ which I think references /boot/grub/grub.cfg. What am I missing?



(I'm running ubuntu 16.04.)










share|improve this question







New contributor




No Bagels is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I'm trying to update to a newer kernel, but have run into some problems - the grub.cfg which is present in /boot/grub/ and which references the new kernel, is not the grub menu that is shown during (re)boot. (When editing grub.cfg using f. ex. ukuu or grub config, it is the /boot/grub/grub.cfg that is being edited.)



As an example, at startup I can choose 4.4.0-93 as latest, but in /boot there is 4.18.10-041810 (among others), and which is referenced to in grub.cfg. (This is what I see at boot, when selecting advanced boot: http://i67.tinypic.com/8ysz9c.jpg)



/etc/default/grub is unedited, and I've tried running update-grub which completes w/o errors.



I've looked for another instance of grub.cfg using locate, but have not found it (except one in /boot/efi/EFI/ubuntu/ which I think references /boot/grub/grub.cfg. What am I missing?



(I'm running ubuntu 16.04.)







boot grub2






share|improve this question







New contributor




No Bagels is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




No Bagels is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




No Bagels is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









No Bagels

1




1




New contributor




No Bagels is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





No Bagels is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






No Bagels is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • No Bagels what is your method of adding a newer kernel, generally speaking? You've mentioned several things including ukuu, etc
    – Thomas Byers
    yesterday










  • Numerous people have commented re: the kernel. Some of the comments say you should keep an older kernel(or two) as backup; you have five kernels still listed in grub. Yet the 4.18.xxx kernel is not showing? Is this what you are questioning, how can I boot using the 4.18.xxx kernel?? Also what are you running for Ubuntu, example I am still using 16.04 are you running a later version such as 18.04?
    – Thomas Byers
    yesterday










  • @ThomasByers I've tried using both ukuu and manually downloading from kernel.ubuntu.com/~kernel-ppa/mainline and then dkpg:ing. And yes, I'd like to boot 4.18.xxx, but also to understand why/how the grub 2 menu at boot does not correspond to grub.cfg.. (I'm using ubuntu 16.04.)
    – No Bagels
    yesterday












  • As a baseline, type into the terminal... uname -a and report what you see there
    – Thomas Byers
    yesterday












  • No Bagels here is a link from the Ubuntu community which may prove helpful to you. Pay particular attention to the first paragraph, and then, read on! help.ubuntu.com/community/RemoveOldKernels
    – Thomas Byers
    yesterday




















  • No Bagels what is your method of adding a newer kernel, generally speaking? You've mentioned several things including ukuu, etc
    – Thomas Byers
    yesterday










  • Numerous people have commented re: the kernel. Some of the comments say you should keep an older kernel(or two) as backup; you have five kernels still listed in grub. Yet the 4.18.xxx kernel is not showing? Is this what you are questioning, how can I boot using the 4.18.xxx kernel?? Also what are you running for Ubuntu, example I am still using 16.04 are you running a later version such as 18.04?
    – Thomas Byers
    yesterday










  • @ThomasByers I've tried using both ukuu and manually downloading from kernel.ubuntu.com/~kernel-ppa/mainline and then dkpg:ing. And yes, I'd like to boot 4.18.xxx, but also to understand why/how the grub 2 menu at boot does not correspond to grub.cfg.. (I'm using ubuntu 16.04.)
    – No Bagels
    yesterday












  • As a baseline, type into the terminal... uname -a and report what you see there
    – Thomas Byers
    yesterday












  • No Bagels here is a link from the Ubuntu community which may prove helpful to you. Pay particular attention to the first paragraph, and then, read on! help.ubuntu.com/community/RemoveOldKernels
    – Thomas Byers
    yesterday


















No Bagels what is your method of adding a newer kernel, generally speaking? You've mentioned several things including ukuu, etc
– Thomas Byers
yesterday




No Bagels what is your method of adding a newer kernel, generally speaking? You've mentioned several things including ukuu, etc
– Thomas Byers
yesterday












Numerous people have commented re: the kernel. Some of the comments say you should keep an older kernel(or two) as backup; you have five kernels still listed in grub. Yet the 4.18.xxx kernel is not showing? Is this what you are questioning, how can I boot using the 4.18.xxx kernel?? Also what are you running for Ubuntu, example I am still using 16.04 are you running a later version such as 18.04?
– Thomas Byers
yesterday




Numerous people have commented re: the kernel. Some of the comments say you should keep an older kernel(or two) as backup; you have five kernels still listed in grub. Yet the 4.18.xxx kernel is not showing? Is this what you are questioning, how can I boot using the 4.18.xxx kernel?? Also what are you running for Ubuntu, example I am still using 16.04 are you running a later version such as 18.04?
– Thomas Byers
yesterday












@ThomasByers I've tried using both ukuu and manually downloading from kernel.ubuntu.com/~kernel-ppa/mainline and then dkpg:ing. And yes, I'd like to boot 4.18.xxx, but also to understand why/how the grub 2 menu at boot does not correspond to grub.cfg.. (I'm using ubuntu 16.04.)
– No Bagels
yesterday






@ThomasByers I've tried using both ukuu and manually downloading from kernel.ubuntu.com/~kernel-ppa/mainline and then dkpg:ing. And yes, I'd like to boot 4.18.xxx, but also to understand why/how the grub 2 menu at boot does not correspond to grub.cfg.. (I'm using ubuntu 16.04.)
– No Bagels
yesterday














As a baseline, type into the terminal... uname -a and report what you see there
– Thomas Byers
yesterday






As a baseline, type into the terminal... uname -a and report what you see there
– Thomas Byers
yesterday














No Bagels here is a link from the Ubuntu community which may prove helpful to you. Pay particular attention to the first paragraph, and then, read on! help.ubuntu.com/community/RemoveOldKernels
– Thomas Byers
yesterday






No Bagels here is a link from the Ubuntu community which may prove helpful to you. Pay particular attention to the first paragraph, and then, read on! help.ubuntu.com/community/RemoveOldKernels
– Thomas Byers
yesterday

















active

oldest

votes











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


}
});






No Bagels is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1104511%2fwhere-is-my-real-active-grub-cfg%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








No Bagels is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















No Bagels is a new contributor. Be nice, and check out our Code of Conduct.













No Bagels is a new contributor. Be nice, and check out our Code of Conduct.












No Bagels is a new contributor. Be nice, and check out our Code of Conduct.
















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%2f1104511%2fwhere-is-my-real-active-grub-cfg%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

Human spaceflight

Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

張江高科駅