How to update grub from another distro?
I have three Linux installs and one Windows 8.1 install on my computer. Now, I've only installed Grub2 on one Linux install. So, I always have to login to that one to use update-grub. The problem is, I want to get rid of exactly that Linux install.
So, my goal is it to get it to work, that I can use update-grub from another install, while keeping the grub installation, that is sitting on my EFI partition.
The install that should be the one for updating grub2 from now on is Arch.
Is this somehow possible and if how?
grub2 grub
bumped to the homepage by Community♦ 8 mins 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 have three Linux installs and one Windows 8.1 install on my computer. Now, I've only installed Grub2 on one Linux install. So, I always have to login to that one to use update-grub. The problem is, I want to get rid of exactly that Linux install.
So, my goal is it to get it to work, that I can use update-grub from another install, while keeping the grub installation, that is sitting on my EFI partition.
The install that should be the one for updating grub2 from now on is Arch.
Is this somehow possible and if how?
grub2 grub
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
I'm not quite sure I have understood your question. Do you have three different distros in your HD and you can boot choosing what distro you want to start with or you have only one?
– YoMismo
Oct 23 '14 at 6:51
Do you have a separate boot partition? Also is rEFInd an option?
– DarkSheep
Oct 23 '14 at 15:13
I have 3 different distros and one Win install. I can choose in which one to boot at startup thanks to Grub. Well, at least it was that way, now it seems I messed up.
– fluxkompensator
Oct 24 '14 at 1:00
Yes, I have a separate EFI partition. I don't know, what rEFInd is.
– fluxkompensator
Oct 24 '14 at 1:01
add a comment |
I have three Linux installs and one Windows 8.1 install on my computer. Now, I've only installed Grub2 on one Linux install. So, I always have to login to that one to use update-grub. The problem is, I want to get rid of exactly that Linux install.
So, my goal is it to get it to work, that I can use update-grub from another install, while keeping the grub installation, that is sitting on my EFI partition.
The install that should be the one for updating grub2 from now on is Arch.
Is this somehow possible and if how?
grub2 grub
I have three Linux installs and one Windows 8.1 install on my computer. Now, I've only installed Grub2 on one Linux install. So, I always have to login to that one to use update-grub. The problem is, I want to get rid of exactly that Linux install.
So, my goal is it to get it to work, that I can use update-grub from another install, while keeping the grub installation, that is sitting on my EFI partition.
The install that should be the one for updating grub2 from now on is Arch.
Is this somehow possible and if how?
grub2 grub
grub2 grub
edited Oct 23 '14 at 0:30
Braiam
23.3k1976139
23.3k1976139
asked Oct 23 '14 at 0:27
fluxkompensatorfluxkompensator
185
185
bumped to the homepage by Community♦ 8 mins 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♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
I'm not quite sure I have understood your question. Do you have three different distros in your HD and you can boot choosing what distro you want to start with or you have only one?
– YoMismo
Oct 23 '14 at 6:51
Do you have a separate boot partition? Also is rEFInd an option?
– DarkSheep
Oct 23 '14 at 15:13
I have 3 different distros and one Win install. I can choose in which one to boot at startup thanks to Grub. Well, at least it was that way, now it seems I messed up.
– fluxkompensator
Oct 24 '14 at 1:00
Yes, I have a separate EFI partition. I don't know, what rEFInd is.
– fluxkompensator
Oct 24 '14 at 1:01
add a comment |
I'm not quite sure I have understood your question. Do you have three different distros in your HD and you can boot choosing what distro you want to start with or you have only one?
– YoMismo
Oct 23 '14 at 6:51
Do you have a separate boot partition? Also is rEFInd an option?
– DarkSheep
Oct 23 '14 at 15:13
I have 3 different distros and one Win install. I can choose in which one to boot at startup thanks to Grub. Well, at least it was that way, now it seems I messed up.
– fluxkompensator
Oct 24 '14 at 1:00
Yes, I have a separate EFI partition. I don't know, what rEFInd is.
– fluxkompensator
Oct 24 '14 at 1:01
I'm not quite sure I have understood your question. Do you have three different distros in your HD and you can boot choosing what distro you want to start with or you have only one?
– YoMismo
Oct 23 '14 at 6:51
I'm not quite sure I have understood your question. Do you have three different distros in your HD and you can boot choosing what distro you want to start with or you have only one?
– YoMismo
Oct 23 '14 at 6:51
Do you have a separate boot partition? Also is rEFInd an option?
– DarkSheep
Oct 23 '14 at 15:13
Do you have a separate boot partition? Also is rEFInd an option?
– DarkSheep
Oct 23 '14 at 15:13
I have 3 different distros and one Win install. I can choose in which one to boot at startup thanks to Grub. Well, at least it was that way, now it seems I messed up.
– fluxkompensator
Oct 24 '14 at 1:00
I have 3 different distros and one Win install. I can choose in which one to boot at startup thanks to Grub. Well, at least it was that way, now it seems I messed up.
– fluxkompensator
Oct 24 '14 at 1:00
Yes, I have a separate EFI partition. I don't know, what rEFInd is.
– fluxkompensator
Oct 24 '14 at 1:01
Yes, I have a separate EFI partition. I don't know, what rEFInd is.
– fluxkompensator
Oct 24 '14 at 1:01
add a comment |
2 Answers
2
active
oldest
votes
You have to boot from another Live or installed linux, Then chroot to the given linux(you wan t to install its grub)
Then you have to apply:
grub-install /dev/YOURDEV
such as:
grub-install /dev/sda
add a comment |
Your bootsector uses the files under /boot
and that then uses /boot/grub/grub.cfg
for further menu selection.
Before you do anything make sure you have a bootable CD/USB, in case you make your system unbootable. It is much more easy to make the CD/USB before you break anything. And try it out.
The next thing to do is boot from one of the other Linux installed on your system and do:
sudo update-grub
and inspect the resulting /boot/grub/grub.cfg
, to make sure the three Linux installs are in there as well as the Windows8.1 one. You will notice that the currently booted Linux will be the default in the menu.
Now you can have the boot sector point to this Linux. Assuming you boot from /dev/sda
:
grub-install /dev/sda
This is IMO the simplest way to do this as there is no need to chroot
. Of course it relies on a bootable installation already being available.
I've seem to have done something wrong here. Now, Grub is somehow gone and my laptop just boots into Win 8.1 at startup. Will report back tomorrow with results from Live CD.
– fluxkompensator
Oct 24 '14 at 1:05
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%2f163701%2fhow-to-update-grub-from-another-distro%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You have to boot from another Live or installed linux, Then chroot to the given linux(you wan t to install its grub)
Then you have to apply:
grub-install /dev/YOURDEV
such as:
grub-install /dev/sda
add a comment |
You have to boot from another Live or installed linux, Then chroot to the given linux(you wan t to install its grub)
Then you have to apply:
grub-install /dev/YOURDEV
such as:
grub-install /dev/sda
add a comment |
You have to boot from another Live or installed linux, Then chroot to the given linux(you wan t to install its grub)
Then you have to apply:
grub-install /dev/YOURDEV
such as:
grub-install /dev/sda
You have to boot from another Live or installed linux, Then chroot to the given linux(you wan t to install its grub)
Then you have to apply:
grub-install /dev/YOURDEV
such as:
grub-install /dev/sda
answered Oct 23 '14 at 2:38
PersianGulfPersianGulf
6,93543461
6,93543461
add a comment |
add a comment |
Your bootsector uses the files under /boot
and that then uses /boot/grub/grub.cfg
for further menu selection.
Before you do anything make sure you have a bootable CD/USB, in case you make your system unbootable. It is much more easy to make the CD/USB before you break anything. And try it out.
The next thing to do is boot from one of the other Linux installed on your system and do:
sudo update-grub
and inspect the resulting /boot/grub/grub.cfg
, to make sure the three Linux installs are in there as well as the Windows8.1 one. You will notice that the currently booted Linux will be the default in the menu.
Now you can have the boot sector point to this Linux. Assuming you boot from /dev/sda
:
grub-install /dev/sda
This is IMO the simplest way to do this as there is no need to chroot
. Of course it relies on a bootable installation already being available.
I've seem to have done something wrong here. Now, Grub is somehow gone and my laptop just boots into Win 8.1 at startup. Will report back tomorrow with results from Live CD.
– fluxkompensator
Oct 24 '14 at 1:05
add a comment |
Your bootsector uses the files under /boot
and that then uses /boot/grub/grub.cfg
for further menu selection.
Before you do anything make sure you have a bootable CD/USB, in case you make your system unbootable. It is much more easy to make the CD/USB before you break anything. And try it out.
The next thing to do is boot from one of the other Linux installed on your system and do:
sudo update-grub
and inspect the resulting /boot/grub/grub.cfg
, to make sure the three Linux installs are in there as well as the Windows8.1 one. You will notice that the currently booted Linux will be the default in the menu.
Now you can have the boot sector point to this Linux. Assuming you boot from /dev/sda
:
grub-install /dev/sda
This is IMO the simplest way to do this as there is no need to chroot
. Of course it relies on a bootable installation already being available.
I've seem to have done something wrong here. Now, Grub is somehow gone and my laptop just boots into Win 8.1 at startup. Will report back tomorrow with results from Live CD.
– fluxkompensator
Oct 24 '14 at 1:05
add a comment |
Your bootsector uses the files under /boot
and that then uses /boot/grub/grub.cfg
for further menu selection.
Before you do anything make sure you have a bootable CD/USB, in case you make your system unbootable. It is much more easy to make the CD/USB before you break anything. And try it out.
The next thing to do is boot from one of the other Linux installed on your system and do:
sudo update-grub
and inspect the resulting /boot/grub/grub.cfg
, to make sure the three Linux installs are in there as well as the Windows8.1 one. You will notice that the currently booted Linux will be the default in the menu.
Now you can have the boot sector point to this Linux. Assuming you boot from /dev/sda
:
grub-install /dev/sda
This is IMO the simplest way to do this as there is no need to chroot
. Of course it relies on a bootable installation already being available.
Your bootsector uses the files under /boot
and that then uses /boot/grub/grub.cfg
for further menu selection.
Before you do anything make sure you have a bootable CD/USB, in case you make your system unbootable. It is much more easy to make the CD/USB before you break anything. And try it out.
The next thing to do is boot from one of the other Linux installed on your system and do:
sudo update-grub
and inspect the resulting /boot/grub/grub.cfg
, to make sure the three Linux installs are in there as well as the Windows8.1 one. You will notice that the currently booted Linux will be the default in the menu.
Now you can have the boot sector point to this Linux. Assuming you boot from /dev/sda
:
grub-install /dev/sda
This is IMO the simplest way to do this as there is no need to chroot
. Of course it relies on a bootable installation already being available.
answered Oct 23 '14 at 4:41
AnthonAnthon
60.5k17102165
60.5k17102165
I've seem to have done something wrong here. Now, Grub is somehow gone and my laptop just boots into Win 8.1 at startup. Will report back tomorrow with results from Live CD.
– fluxkompensator
Oct 24 '14 at 1:05
add a comment |
I've seem to have done something wrong here. Now, Grub is somehow gone and my laptop just boots into Win 8.1 at startup. Will report back tomorrow with results from Live CD.
– fluxkompensator
Oct 24 '14 at 1:05
I've seem to have done something wrong here. Now, Grub is somehow gone and my laptop just boots into Win 8.1 at startup. Will report back tomorrow with results from Live CD.
– fluxkompensator
Oct 24 '14 at 1:05
I've seem to have done something wrong here. Now, Grub is somehow gone and my laptop just boots into Win 8.1 at startup. Will report back tomorrow with results from Live CD.
– fluxkompensator
Oct 24 '14 at 1:05
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%2f163701%2fhow-to-update-grub-from-another-distro%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
I'm not quite sure I have understood your question. Do you have three different distros in your HD and you can boot choosing what distro you want to start with or you have only one?
– YoMismo
Oct 23 '14 at 6:51
Do you have a separate boot partition? Also is rEFInd an option?
– DarkSheep
Oct 23 '14 at 15:13
I have 3 different distros and one Win install. I can choose in which one to boot at startup thanks to Grub. Well, at least it was that way, now it seems I messed up.
– fluxkompensator
Oct 24 '14 at 1:00
Yes, I have a separate EFI partition. I don't know, what rEFInd is.
– fluxkompensator
Oct 24 '14 at 1:01