How do I prevent a second install of Ubuntu from modifying GRUB
I have one hard drive with my main Linux Mint install. I have a second hard drive in my system. I then installed Ubuntu on the second hard drive. My motherboard is UEFI.
I assumed that these OS partitions on separate drives would not influence each other. I thought I could just load to my bios boot menu, and select the drive I want. My assumptions were incorrect.
When I installed the second Ubuntu, it manipulated GRUB (which I understand very little about). I then formatted the drive with Ubuntu on it, and my grub is now corrupt because it points to an unknown partition. Just to be clear, my question is not about how to fix my currently broken GRUB.
My question is, how can I install different Ubuntu flavours on my second hard drive, without it in any way jeopardising whether my main primary OS drive will correctly boot?
I would just like to be able to tell my motherboard which device to boot from, and then have it boot from that, I don't want the second drive somehow breaking the boot of the first drive.
boot dual-boot grub2 grub-efi
|
show 3 more comments
I have one hard drive with my main Linux Mint install. I have a second hard drive in my system. I then installed Ubuntu on the second hard drive. My motherboard is UEFI.
I assumed that these OS partitions on separate drives would not influence each other. I thought I could just load to my bios boot menu, and select the drive I want. My assumptions were incorrect.
When I installed the second Ubuntu, it manipulated GRUB (which I understand very little about). I then formatted the drive with Ubuntu on it, and my grub is now corrupt because it points to an unknown partition. Just to be clear, my question is not about how to fix my currently broken GRUB.
My question is, how can I install different Ubuntu flavours on my second hard drive, without it in any way jeopardising whether my main primary OS drive will correctly boot?
I would just like to be able to tell my motherboard which device to boot from, and then have it boot from that, I don't want the second drive somehow breaking the boot of the first drive.
boot dual-boot grub2 grub-efi
1
while installing OS on other drive, create a EFI system partition on it and choose "bootloader for installation" the same drive. this will still grab the entry of OS on primary drive and give you options for dual boot. when you choose the primary drive from boot menu it acts as single boot untill the grub update occurs in primary drive..
– PRATAP
Jan 23 at 22:25
1
Also, in addition to the above comment, do not runupdate-grub
on the primary 1st drive or it will pick up the other drives and add them to the existing grub.
– Terrance
Jan 23 at 22:27
The comment is more a full fledged answer. If you add it as an answer I can flag it as the answer. in addition, could you provide more details about the steps you specified? For example, When are where specifically do I create the EFI system partition, and when and where do I choose "bootloaded for installation".
– ScottF
Jan 23 at 22:29
the installation procedure is just as you install ubuntu in uefi mode on single harddrive as a single boot. choose it from something elase screen the EFI and bootloader.
– PRATAP
Jan 23 at 22:39
askubuntu.com/a/1045035/739431 just for reference..
– PRATAP
Jan 23 at 22:41
|
show 3 more comments
I have one hard drive with my main Linux Mint install. I have a second hard drive in my system. I then installed Ubuntu on the second hard drive. My motherboard is UEFI.
I assumed that these OS partitions on separate drives would not influence each other. I thought I could just load to my bios boot menu, and select the drive I want. My assumptions were incorrect.
When I installed the second Ubuntu, it manipulated GRUB (which I understand very little about). I then formatted the drive with Ubuntu on it, and my grub is now corrupt because it points to an unknown partition. Just to be clear, my question is not about how to fix my currently broken GRUB.
My question is, how can I install different Ubuntu flavours on my second hard drive, without it in any way jeopardising whether my main primary OS drive will correctly boot?
I would just like to be able to tell my motherboard which device to boot from, and then have it boot from that, I don't want the second drive somehow breaking the boot of the first drive.
boot dual-boot grub2 grub-efi
I have one hard drive with my main Linux Mint install. I have a second hard drive in my system. I then installed Ubuntu on the second hard drive. My motherboard is UEFI.
I assumed that these OS partitions on separate drives would not influence each other. I thought I could just load to my bios boot menu, and select the drive I want. My assumptions were incorrect.
When I installed the second Ubuntu, it manipulated GRUB (which I understand very little about). I then formatted the drive with Ubuntu on it, and my grub is now corrupt because it points to an unknown partition. Just to be clear, my question is not about how to fix my currently broken GRUB.
My question is, how can I install different Ubuntu flavours on my second hard drive, without it in any way jeopardising whether my main primary OS drive will correctly boot?
I would just like to be able to tell my motherboard which device to boot from, and then have it boot from that, I don't want the second drive somehow breaking the boot of the first drive.
boot dual-boot grub2 grub-efi
boot dual-boot grub2 grub-efi
edited Jan 24 at 6:41
Codito ergo sum
1,5023825
1,5023825
asked Jan 23 at 22:07
ScottFScottF
2571316
2571316
1
while installing OS on other drive, create a EFI system partition on it and choose "bootloader for installation" the same drive. this will still grab the entry of OS on primary drive and give you options for dual boot. when you choose the primary drive from boot menu it acts as single boot untill the grub update occurs in primary drive..
– PRATAP
Jan 23 at 22:25
1
Also, in addition to the above comment, do not runupdate-grub
on the primary 1st drive or it will pick up the other drives and add them to the existing grub.
– Terrance
Jan 23 at 22:27
The comment is more a full fledged answer. If you add it as an answer I can flag it as the answer. in addition, could you provide more details about the steps you specified? For example, When are where specifically do I create the EFI system partition, and when and where do I choose "bootloaded for installation".
– ScottF
Jan 23 at 22:29
the installation procedure is just as you install ubuntu in uefi mode on single harddrive as a single boot. choose it from something elase screen the EFI and bootloader.
– PRATAP
Jan 23 at 22:39
askubuntu.com/a/1045035/739431 just for reference..
– PRATAP
Jan 23 at 22:41
|
show 3 more comments
1
while installing OS on other drive, create a EFI system partition on it and choose "bootloader for installation" the same drive. this will still grab the entry of OS on primary drive and give you options for dual boot. when you choose the primary drive from boot menu it acts as single boot untill the grub update occurs in primary drive..
– PRATAP
Jan 23 at 22:25
1
Also, in addition to the above comment, do not runupdate-grub
on the primary 1st drive or it will pick up the other drives and add them to the existing grub.
– Terrance
Jan 23 at 22:27
The comment is more a full fledged answer. If you add it as an answer I can flag it as the answer. in addition, could you provide more details about the steps you specified? For example, When are where specifically do I create the EFI system partition, and when and where do I choose "bootloaded for installation".
– ScottF
Jan 23 at 22:29
the installation procedure is just as you install ubuntu in uefi mode on single harddrive as a single boot. choose it from something elase screen the EFI and bootloader.
– PRATAP
Jan 23 at 22:39
askubuntu.com/a/1045035/739431 just for reference..
– PRATAP
Jan 23 at 22:41
1
1
while installing OS on other drive, create a EFI system partition on it and choose "bootloader for installation" the same drive. this will still grab the entry of OS on primary drive and give you options for dual boot. when you choose the primary drive from boot menu it acts as single boot untill the grub update occurs in primary drive..
– PRATAP
Jan 23 at 22:25
while installing OS on other drive, create a EFI system partition on it and choose "bootloader for installation" the same drive. this will still grab the entry of OS on primary drive and give you options for dual boot. when you choose the primary drive from boot menu it acts as single boot untill the grub update occurs in primary drive..
– PRATAP
Jan 23 at 22:25
1
1
Also, in addition to the above comment, do not run
update-grub
on the primary 1st drive or it will pick up the other drives and add them to the existing grub.– Terrance
Jan 23 at 22:27
Also, in addition to the above comment, do not run
update-grub
on the primary 1st drive or it will pick up the other drives and add them to the existing grub.– Terrance
Jan 23 at 22:27
The comment is more a full fledged answer. If you add it as an answer I can flag it as the answer. in addition, could you provide more details about the steps you specified? For example, When are where specifically do I create the EFI system partition, and when and where do I choose "bootloaded for installation".
– ScottF
Jan 23 at 22:29
The comment is more a full fledged answer. If you add it as an answer I can flag it as the answer. in addition, could you provide more details about the steps you specified? For example, When are where specifically do I create the EFI system partition, and when and where do I choose "bootloaded for installation".
– ScottF
Jan 23 at 22:29
the installation procedure is just as you install ubuntu in uefi mode on single harddrive as a single boot. choose it from something elase screen the EFI and bootloader.
– PRATAP
Jan 23 at 22:39
the installation procedure is just as you install ubuntu in uefi mode on single harddrive as a single boot. choose it from something elase screen the EFI and bootloader.
– PRATAP
Jan 23 at 22:39
askubuntu.com/a/1045035/739431 just for reference..
– PRATAP
Jan 23 at 22:41
askubuntu.com/a/1045035/739431 just for reference..
– PRATAP
Jan 23 at 22:41
|
show 3 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%2f1112346%2fhow-do-i-prevent-a-second-install-of-ubuntu-from-modifying-grub%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%2f1112346%2fhow-do-i-prevent-a-second-install-of-ubuntu-from-modifying-grub%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
1
while installing OS on other drive, create a EFI system partition on it and choose "bootloader for installation" the same drive. this will still grab the entry of OS on primary drive and give you options for dual boot. when you choose the primary drive from boot menu it acts as single boot untill the grub update occurs in primary drive..
– PRATAP
Jan 23 at 22:25
1
Also, in addition to the above comment, do not run
update-grub
on the primary 1st drive or it will pick up the other drives and add them to the existing grub.– Terrance
Jan 23 at 22:27
The comment is more a full fledged answer. If you add it as an answer I can flag it as the answer. in addition, could you provide more details about the steps you specified? For example, When are where specifically do I create the EFI system partition, and when and where do I choose "bootloaded for installation".
– ScottF
Jan 23 at 22:29
the installation procedure is just as you install ubuntu in uefi mode on single harddrive as a single boot. choose it from something elase screen the EFI and bootloader.
– PRATAP
Jan 23 at 22:39
askubuntu.com/a/1045035/739431 just for reference..
– PRATAP
Jan 23 at 22:41