Grub2 of previous OS controls the boot process
I have 3 OS's on my computer.
First, I installed windows 10.
Secondly, Ubuntu 16.04 LTS (with GUI).
Thirdly, CentOS 7 (without GUI).
During Ubuntu installation, I installed Grub2 into MBR and it was taking care of booting.
Then, during CentOS installation I again installed Grub2 into MBR, so that CentOS controls booting. And it was controlling for a year or so.
However, recently, I've used such commands as apt-update and apt-upgrade while on Ubuntu system, and now the boot process is controlled by Ubuntu. How do I know ? Well, when the booting process starts and I get to choose which OS I want to load, the background of the menu is in Ubuntu colors. Previously, when CentOS installation based Grub2 was in control of booting everything was in black and white.
How do I make CentOS Grub2 be responsible for the booting process again ?
I've tried to login to CentOS and do something like :
grub2-mkconfig -o /boot/grub2/grub.cfg
But this didn't do anything.
multi-boot centos-7 grub2 ubuntu-16.04
add a comment |
I have 3 OS's on my computer.
First, I installed windows 10.
Secondly, Ubuntu 16.04 LTS (with GUI).
Thirdly, CentOS 7 (without GUI).
During Ubuntu installation, I installed Grub2 into MBR and it was taking care of booting.
Then, during CentOS installation I again installed Grub2 into MBR, so that CentOS controls booting. And it was controlling for a year or so.
However, recently, I've used such commands as apt-update and apt-upgrade while on Ubuntu system, and now the boot process is controlled by Ubuntu. How do I know ? Well, when the booting process starts and I get to choose which OS I want to load, the background of the menu is in Ubuntu colors. Previously, when CentOS installation based Grub2 was in control of booting everything was in black and white.
How do I make CentOS Grub2 be responsible for the booting process again ?
I've tried to login to CentOS and do something like :
grub2-mkconfig -o /boot/grub2/grub.cfg
But this didn't do anything.
multi-boot centos-7 grub2 ubuntu-16.04
add a comment |
I have 3 OS's on my computer.
First, I installed windows 10.
Secondly, Ubuntu 16.04 LTS (with GUI).
Thirdly, CentOS 7 (without GUI).
During Ubuntu installation, I installed Grub2 into MBR and it was taking care of booting.
Then, during CentOS installation I again installed Grub2 into MBR, so that CentOS controls booting. And it was controlling for a year or so.
However, recently, I've used such commands as apt-update and apt-upgrade while on Ubuntu system, and now the boot process is controlled by Ubuntu. How do I know ? Well, when the booting process starts and I get to choose which OS I want to load, the background of the menu is in Ubuntu colors. Previously, when CentOS installation based Grub2 was in control of booting everything was in black and white.
How do I make CentOS Grub2 be responsible for the booting process again ?
I've tried to login to CentOS and do something like :
grub2-mkconfig -o /boot/grub2/grub.cfg
But this didn't do anything.
multi-boot centos-7 grub2 ubuntu-16.04
I have 3 OS's on my computer.
First, I installed windows 10.
Secondly, Ubuntu 16.04 LTS (with GUI).
Thirdly, CentOS 7 (without GUI).
During Ubuntu installation, I installed Grub2 into MBR and it was taking care of booting.
Then, during CentOS installation I again installed Grub2 into MBR, so that CentOS controls booting. And it was controlling for a year or so.
However, recently, I've used such commands as apt-update and apt-upgrade while on Ubuntu system, and now the boot process is controlled by Ubuntu. How do I know ? Well, when the booting process starts and I get to choose which OS I want to load, the background of the menu is in Ubuntu colors. Previously, when CentOS installation based Grub2 was in control of booting everything was in black and white.
How do I make CentOS Grub2 be responsible for the booting process again ?
I've tried to login to CentOS and do something like :
grub2-mkconfig -o /boot/grub2/grub.cfg
But this didn't do anything.
multi-boot centos-7 grub2 ubuntu-16.04
multi-boot centos-7 grub2 ubuntu-16.04
asked Dec 2 at 18:15
Tomas.R
92
92
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Since you chose to install grub for both Linux distros you end up in a "winner takes it all" situation: Whichever GRUB is reinstalled last (e.g. because of an update in the distro) controlls the boot process.
By running install-grub /dev/sdX
in the distro of your choice you can force it to be the current winner - until the next update. If you want to make sure Ubuntu takes over never again, just uninstall GRUB or add grub
to the update blacklist
Thanks Eugen, it worked ! :]
– Tomas.R
Dec 2 at 18:34
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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%2fsuperuser.com%2fquestions%2f1380232%2fgrub2-of-previous-os-controls-the-boot-process%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
Since you chose to install grub for both Linux distros you end up in a "winner takes it all" situation: Whichever GRUB is reinstalled last (e.g. because of an update in the distro) controlls the boot process.
By running install-grub /dev/sdX
in the distro of your choice you can force it to be the current winner - until the next update. If you want to make sure Ubuntu takes over never again, just uninstall GRUB or add grub
to the update blacklist
Thanks Eugen, it worked ! :]
– Tomas.R
Dec 2 at 18:34
add a comment |
Since you chose to install grub for both Linux distros you end up in a "winner takes it all" situation: Whichever GRUB is reinstalled last (e.g. because of an update in the distro) controlls the boot process.
By running install-grub /dev/sdX
in the distro of your choice you can force it to be the current winner - until the next update. If you want to make sure Ubuntu takes over never again, just uninstall GRUB or add grub
to the update blacklist
Thanks Eugen, it worked ! :]
– Tomas.R
Dec 2 at 18:34
add a comment |
Since you chose to install grub for both Linux distros you end up in a "winner takes it all" situation: Whichever GRUB is reinstalled last (e.g. because of an update in the distro) controlls the boot process.
By running install-grub /dev/sdX
in the distro of your choice you can force it to be the current winner - until the next update. If you want to make sure Ubuntu takes over never again, just uninstall GRUB or add grub
to the update blacklist
Since you chose to install grub for both Linux distros you end up in a "winner takes it all" situation: Whichever GRUB is reinstalled last (e.g. because of an update in the distro) controlls the boot process.
By running install-grub /dev/sdX
in the distro of your choice you can force it to be the current winner - until the next update. If you want to make sure Ubuntu takes over never again, just uninstall GRUB or add grub
to the update blacklist
answered Dec 2 at 18:22
Eugen Rieck
9,58022127
9,58022127
Thanks Eugen, it worked ! :]
– Tomas.R
Dec 2 at 18:34
add a comment |
Thanks Eugen, it worked ! :]
– Tomas.R
Dec 2 at 18:34
Thanks Eugen, it worked ! :]
– Tomas.R
Dec 2 at 18:34
Thanks Eugen, it worked ! :]
– Tomas.R
Dec 2 at 18:34
add a comment |
Thanks for contributing an answer to Super User!
- 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.
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%2fsuperuser.com%2fquestions%2f1380232%2fgrub2-of-previous-os-controls-the-boot-process%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