Grub - How can a new menu.lst file be automatically generated when running 18.04?
When on Ubuntu 16.04, if any unintentional edits were made to my /boot/grub/menu.lst file I was able to delete the file, and then run "update-grub" and I was prompted to generate a new file. After upgrading to 18.04, however, it appears that grub gets uninstalled and this command is unavailable (unless choosing to reinstall grub).
Taking this into account, what is now the suggested way of carrying out the above?
boot grub2
|
show 4 more comments
When on Ubuntu 16.04, if any unintentional edits were made to my /boot/grub/menu.lst file I was able to delete the file, and then run "update-grub" and I was prompted to generate a new file. After upgrading to 18.04, however, it appears that grub gets uninstalled and this command is unavailable (unless choosing to reinstall grub).
Taking this into account, what is now the suggested way of carrying out the above?
boot grub2
Grub2 doesn't use a/boot/grub/menu.list
file but uses the configuration file/boot/grub/grub.cfg
. This is the case for 16.04 and 18.04. I also don't see why upgrading from 16.04 to 18.04 should uninstall grub in any way, that's not the case. Did you have an older version of Grub installed in 16.04 before upgrading? That would explain the confusion.
– mook765
Dec 14 '18 at 11:51
@mook765 actually, there is a/boot/grub/menu.lst
file even with grub2.
– terdon♦
Dec 14 '18 at 12:18
@terdon I don't have/boot/grub/menu.list
in any of my installations, yours might be a left-over from upgrading. gnu.org/software/grub/manual/grub/html_node/…
– mook765
Dec 14 '18 at 12:22
@mook765 yes, you must be right. I checked on another machine and that one didn't have it. I was actually about to write the same basic comment you did but checked just in case and was surprised to find the file! I know I haven't used themenu.lst
file in several years, not since the switch to grub2 anyway.
– terdon♦
Dec 14 '18 at 12:39
@elliott94 what is the problem ifupdate-grub
works after choosing to reinstall grub?
– Vijay
Dec 14 '18 at 12:46
|
show 4 more comments
When on Ubuntu 16.04, if any unintentional edits were made to my /boot/grub/menu.lst file I was able to delete the file, and then run "update-grub" and I was prompted to generate a new file. After upgrading to 18.04, however, it appears that grub gets uninstalled and this command is unavailable (unless choosing to reinstall grub).
Taking this into account, what is now the suggested way of carrying out the above?
boot grub2
When on Ubuntu 16.04, if any unintentional edits were made to my /boot/grub/menu.lst file I was able to delete the file, and then run "update-grub" and I was prompted to generate a new file. After upgrading to 18.04, however, it appears that grub gets uninstalled and this command is unavailable (unless choosing to reinstall grub).
Taking this into account, what is now the suggested way of carrying out the above?
boot grub2
boot grub2
asked Dec 14 '18 at 11:31
elliott94elliott94
1
1
Grub2 doesn't use a/boot/grub/menu.list
file but uses the configuration file/boot/grub/grub.cfg
. This is the case for 16.04 and 18.04. I also don't see why upgrading from 16.04 to 18.04 should uninstall grub in any way, that's not the case. Did you have an older version of Grub installed in 16.04 before upgrading? That would explain the confusion.
– mook765
Dec 14 '18 at 11:51
@mook765 actually, there is a/boot/grub/menu.lst
file even with grub2.
– terdon♦
Dec 14 '18 at 12:18
@terdon I don't have/boot/grub/menu.list
in any of my installations, yours might be a left-over from upgrading. gnu.org/software/grub/manual/grub/html_node/…
– mook765
Dec 14 '18 at 12:22
@mook765 yes, you must be right. I checked on another machine and that one didn't have it. I was actually about to write the same basic comment you did but checked just in case and was surprised to find the file! I know I haven't used themenu.lst
file in several years, not since the switch to grub2 anyway.
– terdon♦
Dec 14 '18 at 12:39
@elliott94 what is the problem ifupdate-grub
works after choosing to reinstall grub?
– Vijay
Dec 14 '18 at 12:46
|
show 4 more comments
Grub2 doesn't use a/boot/grub/menu.list
file but uses the configuration file/boot/grub/grub.cfg
. This is the case for 16.04 and 18.04. I also don't see why upgrading from 16.04 to 18.04 should uninstall grub in any way, that's not the case. Did you have an older version of Grub installed in 16.04 before upgrading? That would explain the confusion.
– mook765
Dec 14 '18 at 11:51
@mook765 actually, there is a/boot/grub/menu.lst
file even with grub2.
– terdon♦
Dec 14 '18 at 12:18
@terdon I don't have/boot/grub/menu.list
in any of my installations, yours might be a left-over from upgrading. gnu.org/software/grub/manual/grub/html_node/…
– mook765
Dec 14 '18 at 12:22
@mook765 yes, you must be right. I checked on another machine and that one didn't have it. I was actually about to write the same basic comment you did but checked just in case and was surprised to find the file! I know I haven't used themenu.lst
file in several years, not since the switch to grub2 anyway.
– terdon♦
Dec 14 '18 at 12:39
@elliott94 what is the problem ifupdate-grub
works after choosing to reinstall grub?
– Vijay
Dec 14 '18 at 12:46
Grub2 doesn't use a
/boot/grub/menu.list
file but uses the configuration file /boot/grub/grub.cfg
. This is the case for 16.04 and 18.04. I also don't see why upgrading from 16.04 to 18.04 should uninstall grub in any way, that's not the case. Did you have an older version of Grub installed in 16.04 before upgrading? That would explain the confusion.– mook765
Dec 14 '18 at 11:51
Grub2 doesn't use a
/boot/grub/menu.list
file but uses the configuration file /boot/grub/grub.cfg
. This is the case for 16.04 and 18.04. I also don't see why upgrading from 16.04 to 18.04 should uninstall grub in any way, that's not the case. Did you have an older version of Grub installed in 16.04 before upgrading? That would explain the confusion.– mook765
Dec 14 '18 at 11:51
@mook765 actually, there is a
/boot/grub/menu.lst
file even with grub2.– terdon♦
Dec 14 '18 at 12:18
@mook765 actually, there is a
/boot/grub/menu.lst
file even with grub2.– terdon♦
Dec 14 '18 at 12:18
@terdon I don't have
/boot/grub/menu.list
in any of my installations, yours might be a left-over from upgrading. gnu.org/software/grub/manual/grub/html_node/…– mook765
Dec 14 '18 at 12:22
@terdon I don't have
/boot/grub/menu.list
in any of my installations, yours might be a left-over from upgrading. gnu.org/software/grub/manual/grub/html_node/…– mook765
Dec 14 '18 at 12:22
@mook765 yes, you must be right. I checked on another machine and that one didn't have it. I was actually about to write the same basic comment you did but checked just in case and was surprised to find the file! I know I haven't used the
menu.lst
file in several years, not since the switch to grub2 anyway.– terdon♦
Dec 14 '18 at 12:39
@mook765 yes, you must be right. I checked on another machine and that one didn't have it. I was actually about to write the same basic comment you did but checked just in case and was surprised to find the file! I know I haven't used the
menu.lst
file in several years, not since the switch to grub2 anyway.– terdon♦
Dec 14 '18 at 12:39
@elliott94 what is the problem if
update-grub
works after choosing to reinstall grub?– Vijay
Dec 14 '18 at 12:46
@elliott94 what is the problem if
update-grub
works after choosing to reinstall grub?– Vijay
Dec 14 '18 at 12:46
|
show 4 more comments
0
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
});
}
});
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%2f1100842%2fgrub-how-can-a-new-menu-lst-file-be-automatically-generated-when-running-18-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f1100842%2fgrub-how-can-a-new-menu-lst-file-be-automatically-generated-when-running-18-04%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
Grub2 doesn't use a
/boot/grub/menu.list
file but uses the configuration file/boot/grub/grub.cfg
. This is the case for 16.04 and 18.04. I also don't see why upgrading from 16.04 to 18.04 should uninstall grub in any way, that's not the case. Did you have an older version of Grub installed in 16.04 before upgrading? That would explain the confusion.– mook765
Dec 14 '18 at 11:51
@mook765 actually, there is a
/boot/grub/menu.lst
file even with grub2.– terdon♦
Dec 14 '18 at 12:18
@terdon I don't have
/boot/grub/menu.list
in any of my installations, yours might be a left-over from upgrading. gnu.org/software/grub/manual/grub/html_node/…– mook765
Dec 14 '18 at 12:22
@mook765 yes, you must be right. I checked on another machine and that one didn't have it. I was actually about to write the same basic comment you did but checked just in case and was surprised to find the file! I know I haven't used the
menu.lst
file in several years, not since the switch to grub2 anyway.– terdon♦
Dec 14 '18 at 12:39
@elliott94 what is the problem if
update-grub
works after choosing to reinstall grub?– Vijay
Dec 14 '18 at 12:46