GRUB with two drives and two Ubuntu distros
I have a Core 2 based desktop PC with 4 GB RAM and 160 GB hard drive containing Linux Mint 17.1 Mate which I've been using happily for several years.
I've bought a second, empty, 80 GB hard drive to put into the PC on which I plan to install Ubuntu Mate. I'll remove the 160 GB drive, replace it with the 80 GB drive, install a fresh Ubuntu Mate on the 80 GB drive, then replace the 160 GB drive as the main drive with the 80 GB drive as the "second" drive. They'll both have their own MBR.
I want to be able to switch back and forth "at will" between the two distros as completely separate entities, not sharing any files whatsoever. Is this possible?
I've read a ton of often complex, often differing posts on how to dual boot on one drive, mostly between Linux and Windows, but none begin to explain switching between two Linux distros on two separate drives. I presume it involves some variation of GRUB but am reluctant to try before asking.
Any help would be much appreciated.
boot grub2 hard-drive
add a comment |
I have a Core 2 based desktop PC with 4 GB RAM and 160 GB hard drive containing Linux Mint 17.1 Mate which I've been using happily for several years.
I've bought a second, empty, 80 GB hard drive to put into the PC on which I plan to install Ubuntu Mate. I'll remove the 160 GB drive, replace it with the 80 GB drive, install a fresh Ubuntu Mate on the 80 GB drive, then replace the 160 GB drive as the main drive with the 80 GB drive as the "second" drive. They'll both have their own MBR.
I want to be able to switch back and forth "at will" between the two distros as completely separate entities, not sharing any files whatsoever. Is this possible?
I've read a ton of often complex, often differing posts on how to dual boot on one drive, mostly between Linux and Windows, but none begin to explain switching between two Linux distros on two separate drives. I presume it involves some variation of GRUB but am reluctant to try before asking.
Any help would be much appreciated.
boot grub2 hard-drive
add a comment |
I have a Core 2 based desktop PC with 4 GB RAM and 160 GB hard drive containing Linux Mint 17.1 Mate which I've been using happily for several years.
I've bought a second, empty, 80 GB hard drive to put into the PC on which I plan to install Ubuntu Mate. I'll remove the 160 GB drive, replace it with the 80 GB drive, install a fresh Ubuntu Mate on the 80 GB drive, then replace the 160 GB drive as the main drive with the 80 GB drive as the "second" drive. They'll both have their own MBR.
I want to be able to switch back and forth "at will" between the two distros as completely separate entities, not sharing any files whatsoever. Is this possible?
I've read a ton of often complex, often differing posts on how to dual boot on one drive, mostly between Linux and Windows, but none begin to explain switching between two Linux distros on two separate drives. I presume it involves some variation of GRUB but am reluctant to try before asking.
Any help would be much appreciated.
boot grub2 hard-drive
I have a Core 2 based desktop PC with 4 GB RAM and 160 GB hard drive containing Linux Mint 17.1 Mate which I've been using happily for several years.
I've bought a second, empty, 80 GB hard drive to put into the PC on which I plan to install Ubuntu Mate. I'll remove the 160 GB drive, replace it with the 80 GB drive, install a fresh Ubuntu Mate on the 80 GB drive, then replace the 160 GB drive as the main drive with the 80 GB drive as the "second" drive. They'll both have their own MBR.
I want to be able to switch back and forth "at will" between the two distros as completely separate entities, not sharing any files whatsoever. Is this possible?
I've read a ton of often complex, often differing posts on how to dual boot on one drive, mostly between Linux and Windows, but none begin to explain switching between two Linux distros on two separate drives. I presume it involves some variation of GRUB but am reluctant to try before asking.
Any help would be much appreciated.
boot grub2 hard-drive
boot grub2 hard-drive
asked Nov 17 '16 at 23:27
AndyAndy
361
361
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
You can have two bootable drives and use your BIOS to select which drive to boot from but it is easier just to let Grub handle everything.
If you want grub to select the distro for you:
- Leave your 160 GB as the first drive
- Install you 80 GB as the second drive
- Boot from Live DVD / Live USB and install Ubuntu to the second drive
Although you can remove the 160 GB drive, swap in the 80 GB, install Ubuntu, swap out the 80 GB, swap in the 160 GB and put the 80 GB into second drive bay that would be the last resort if Ubuntu had problems installing to the second drive.
Things to keep in mind when updating grub:
- When you are operating on the first drive use
sudo update-grub
- When you are operating on the second drive use
sudo grub-install
/dev/sda
The first option on grub menu will be first drive (Mint) or second drive (Mate) depending on which drive grub update/install was last run on. The other distribution will be in the advanced options
menu.
Understand this answer is typed from memory as it is impractical to take my laptop apart to swap drives around and repeat my installations. If you encounter any difficulties, no matter how small, don't hesitate to post a comment below.
Thanks for responding so quickly! - I'll try your method and report back.
– Andy
Nov 18 '16 at 4:39
add a comment |
Do you have os-prober
package installed? It allows GRUB to autodetect other Windowses and Linuxes and list them automatically. Redo grub-mkconfig, and it will make os-prober to run.
You must have another Linux partitions not mounted for os-probe to detect.
add a comment |
As per my understanding you will eventually end up with two "independent" disks, each having its own MBR and linux distro installed. Right?
If that's the case you can just select from which disk you want to boot during the BIOS initialization/loading phase. Usually in most BIOSes pressing F12 during that phase, brings up a boot device selection menu.
add a comment |
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%2f850647%2fgrub-with-two-drives-and-two-ubuntu-distros%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can have two bootable drives and use your BIOS to select which drive to boot from but it is easier just to let Grub handle everything.
If you want grub to select the distro for you:
- Leave your 160 GB as the first drive
- Install you 80 GB as the second drive
- Boot from Live DVD / Live USB and install Ubuntu to the second drive
Although you can remove the 160 GB drive, swap in the 80 GB, install Ubuntu, swap out the 80 GB, swap in the 160 GB and put the 80 GB into second drive bay that would be the last resort if Ubuntu had problems installing to the second drive.
Things to keep in mind when updating grub:
- When you are operating on the first drive use
sudo update-grub
- When you are operating on the second drive use
sudo grub-install
/dev/sda
The first option on grub menu will be first drive (Mint) or second drive (Mate) depending on which drive grub update/install was last run on. The other distribution will be in the advanced options
menu.
Understand this answer is typed from memory as it is impractical to take my laptop apart to swap drives around and repeat my installations. If you encounter any difficulties, no matter how small, don't hesitate to post a comment below.
Thanks for responding so quickly! - I'll try your method and report back.
– Andy
Nov 18 '16 at 4:39
add a comment |
You can have two bootable drives and use your BIOS to select which drive to boot from but it is easier just to let Grub handle everything.
If you want grub to select the distro for you:
- Leave your 160 GB as the first drive
- Install you 80 GB as the second drive
- Boot from Live DVD / Live USB and install Ubuntu to the second drive
Although you can remove the 160 GB drive, swap in the 80 GB, install Ubuntu, swap out the 80 GB, swap in the 160 GB and put the 80 GB into second drive bay that would be the last resort if Ubuntu had problems installing to the second drive.
Things to keep in mind when updating grub:
- When you are operating on the first drive use
sudo update-grub
- When you are operating on the second drive use
sudo grub-install
/dev/sda
The first option on grub menu will be first drive (Mint) or second drive (Mate) depending on which drive grub update/install was last run on. The other distribution will be in the advanced options
menu.
Understand this answer is typed from memory as it is impractical to take my laptop apart to swap drives around and repeat my installations. If you encounter any difficulties, no matter how small, don't hesitate to post a comment below.
Thanks for responding so quickly! - I'll try your method and report back.
– Andy
Nov 18 '16 at 4:39
add a comment |
You can have two bootable drives and use your BIOS to select which drive to boot from but it is easier just to let Grub handle everything.
If you want grub to select the distro for you:
- Leave your 160 GB as the first drive
- Install you 80 GB as the second drive
- Boot from Live DVD / Live USB and install Ubuntu to the second drive
Although you can remove the 160 GB drive, swap in the 80 GB, install Ubuntu, swap out the 80 GB, swap in the 160 GB and put the 80 GB into second drive bay that would be the last resort if Ubuntu had problems installing to the second drive.
Things to keep in mind when updating grub:
- When you are operating on the first drive use
sudo update-grub
- When you are operating on the second drive use
sudo grub-install
/dev/sda
The first option on grub menu will be first drive (Mint) or second drive (Mate) depending on which drive grub update/install was last run on. The other distribution will be in the advanced options
menu.
Understand this answer is typed from memory as it is impractical to take my laptop apart to swap drives around and repeat my installations. If you encounter any difficulties, no matter how small, don't hesitate to post a comment below.
You can have two bootable drives and use your BIOS to select which drive to boot from but it is easier just to let Grub handle everything.
If you want grub to select the distro for you:
- Leave your 160 GB as the first drive
- Install you 80 GB as the second drive
- Boot from Live DVD / Live USB and install Ubuntu to the second drive
Although you can remove the 160 GB drive, swap in the 80 GB, install Ubuntu, swap out the 80 GB, swap in the 160 GB and put the 80 GB into second drive bay that would be the last resort if Ubuntu had problems installing to the second drive.
Things to keep in mind when updating grub:
- When you are operating on the first drive use
sudo update-grub
- When you are operating on the second drive use
sudo grub-install
/dev/sda
The first option on grub menu will be first drive (Mint) or second drive (Mate) depending on which drive grub update/install was last run on. The other distribution will be in the advanced options
menu.
Understand this answer is typed from memory as it is impractical to take my laptop apart to swap drives around and repeat my installations. If you encounter any difficulties, no matter how small, don't hesitate to post a comment below.
answered Nov 18 '16 at 0:12
WinEunuuchs2UnixWinEunuuchs2Unix
45.2k1084175
45.2k1084175
Thanks for responding so quickly! - I'll try your method and report back.
– Andy
Nov 18 '16 at 4:39
add a comment |
Thanks for responding so quickly! - I'll try your method and report back.
– Andy
Nov 18 '16 at 4:39
Thanks for responding so quickly! - I'll try your method and report back.
– Andy
Nov 18 '16 at 4:39
Thanks for responding so quickly! - I'll try your method and report back.
– Andy
Nov 18 '16 at 4:39
add a comment |
Do you have os-prober
package installed? It allows GRUB to autodetect other Windowses and Linuxes and list them automatically. Redo grub-mkconfig, and it will make os-prober to run.
You must have another Linux partitions not mounted for os-probe to detect.
add a comment |
Do you have os-prober
package installed? It allows GRUB to autodetect other Windowses and Linuxes and list them automatically. Redo grub-mkconfig, and it will make os-prober to run.
You must have another Linux partitions not mounted for os-probe to detect.
add a comment |
Do you have os-prober
package installed? It allows GRUB to autodetect other Windowses and Linuxes and list them automatically. Redo grub-mkconfig, and it will make os-prober to run.
You must have another Linux partitions not mounted for os-probe to detect.
Do you have os-prober
package installed? It allows GRUB to autodetect other Windowses and Linuxes and list them automatically. Redo grub-mkconfig, and it will make os-prober to run.
You must have another Linux partitions not mounted for os-probe to detect.
answered Nov 17 '16 at 23:42
Barafu AlbinoBarafu Albino
4,98311932
4,98311932
add a comment |
add a comment |
As per my understanding you will eventually end up with two "independent" disks, each having its own MBR and linux distro installed. Right?
If that's the case you can just select from which disk you want to boot during the BIOS initialization/loading phase. Usually in most BIOSes pressing F12 during that phase, brings up a boot device selection menu.
add a comment |
As per my understanding you will eventually end up with two "independent" disks, each having its own MBR and linux distro installed. Right?
If that's the case you can just select from which disk you want to boot during the BIOS initialization/loading phase. Usually in most BIOSes pressing F12 during that phase, brings up a boot device selection menu.
add a comment |
As per my understanding you will eventually end up with two "independent" disks, each having its own MBR and linux distro installed. Right?
If that's the case you can just select from which disk you want to boot during the BIOS initialization/loading phase. Usually in most BIOSes pressing F12 during that phase, brings up a boot device selection menu.
As per my understanding you will eventually end up with two "independent" disks, each having its own MBR and linux distro installed. Right?
If that's the case you can just select from which disk you want to boot during the BIOS initialization/loading phase. Usually in most BIOSes pressing F12 during that phase, brings up a boot device selection menu.
answered Nov 18 '16 at 0:08
jsalatasjsalatas
29129
29129
add a comment |
add a comment |
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%2f850647%2fgrub-with-two-drives-and-two-ubuntu-distros%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