How can I load an operating system from a certain partition with GRUB?
Clash Royale CLAN TAG#URR8PPP
My understanding is that the UEFI/BIOS will boot into a certain storage device, whether it be HDD, SSD, USB, DVD, etc. Then this will pass control to the boot-loader, which is GRUB in Linux operating systems. (additional question: do other Linux OS's require different bootstrap loaders?)
Does GRUB load an OS from a specific partition on the drive? If so, how can I direct it to boot from a specific partition? Will installing certain ISOs in certain partitions using GParted work? I am currently running Ubuntu on a USB SD Card Reader with a MicroSD card temporarily.
grub gparted
add a comment |
My understanding is that the UEFI/BIOS will boot into a certain storage device, whether it be HDD, SSD, USB, DVD, etc. Then this will pass control to the boot-loader, which is GRUB in Linux operating systems. (additional question: do other Linux OS's require different bootstrap loaders?)
Does GRUB load an OS from a specific partition on the drive? If so, how can I direct it to boot from a specific partition? Will installing certain ISOs in certain partitions using GParted work? I am currently running Ubuntu on a USB SD Card Reader with a MicroSD card temporarily.
grub gparted
so just bear with me
...... +1 for spelling "bear" correctly ... the question is also a good one
– jsotola
Jan 8 at 2:25
GRUB is able to boot any linux kernel stored on almost any filesystem. Then OS booting process is handled by the kernel itself. What do you mean by "direct it to boot from a specific partition"?
– 炸鱼薯条德里克
Jan 8 at 2:27
I'm not exactly sure how GRUB knows where the OS is located, so I assumed it would locate the correct partition on the drive to load the OS from. I'm not sure how GPT cooperates with GRUB, and I'm not sure where GRUB is located -- whether it's stored in its own partition or not. Help with that would also be useful and appreciated if necessary to know for my main question.
– TheRyGuy
Jan 8 at 3:03
I figured you could have multiple partitions with a different OS in each one and tell GRUB to load data from a specific partition.
– TheRyGuy
Jan 8 at 3:36
The usual way this works is that grub loads agrub.cfg
script which is generated. This is a script which loads a kernel fromdevices
which are specified likehd(1,gpt4)/boot/wibble
to specify the file /boot/wibble from 4th partition in a disk formatted with a gpt partition on the second disk. This script is frequently available in /boot/grub/grub.cfg. The script can get grub to put up menus to select different partitions and versions.
– icarus
Jan 8 at 6:14
add a comment |
My understanding is that the UEFI/BIOS will boot into a certain storage device, whether it be HDD, SSD, USB, DVD, etc. Then this will pass control to the boot-loader, which is GRUB in Linux operating systems. (additional question: do other Linux OS's require different bootstrap loaders?)
Does GRUB load an OS from a specific partition on the drive? If so, how can I direct it to boot from a specific partition? Will installing certain ISOs in certain partitions using GParted work? I am currently running Ubuntu on a USB SD Card Reader with a MicroSD card temporarily.
grub gparted
My understanding is that the UEFI/BIOS will boot into a certain storage device, whether it be HDD, SSD, USB, DVD, etc. Then this will pass control to the boot-loader, which is GRUB in Linux operating systems. (additional question: do other Linux OS's require different bootstrap loaders?)
Does GRUB load an OS from a specific partition on the drive? If so, how can I direct it to boot from a specific partition? Will installing certain ISOs in certain partitions using GParted work? I am currently running Ubuntu on a USB SD Card Reader with a MicroSD card temporarily.
grub gparted
grub gparted
edited Jan 14 at 8:54
Rui F Ribeiro
39.6k1479132
39.6k1479132
asked Jan 8 at 2:09
TheRyGuyTheRyGuy
122
122
so just bear with me
...... +1 for spelling "bear" correctly ... the question is also a good one
– jsotola
Jan 8 at 2:25
GRUB is able to boot any linux kernel stored on almost any filesystem. Then OS booting process is handled by the kernel itself. What do you mean by "direct it to boot from a specific partition"?
– 炸鱼薯条德里克
Jan 8 at 2:27
I'm not exactly sure how GRUB knows where the OS is located, so I assumed it would locate the correct partition on the drive to load the OS from. I'm not sure how GPT cooperates with GRUB, and I'm not sure where GRUB is located -- whether it's stored in its own partition or not. Help with that would also be useful and appreciated if necessary to know for my main question.
– TheRyGuy
Jan 8 at 3:03
I figured you could have multiple partitions with a different OS in each one and tell GRUB to load data from a specific partition.
– TheRyGuy
Jan 8 at 3:36
The usual way this works is that grub loads agrub.cfg
script which is generated. This is a script which loads a kernel fromdevices
which are specified likehd(1,gpt4)/boot/wibble
to specify the file /boot/wibble from 4th partition in a disk formatted with a gpt partition on the second disk. This script is frequently available in /boot/grub/grub.cfg. The script can get grub to put up menus to select different partitions and versions.
– icarus
Jan 8 at 6:14
add a comment |
so just bear with me
...... +1 for spelling "bear" correctly ... the question is also a good one
– jsotola
Jan 8 at 2:25
GRUB is able to boot any linux kernel stored on almost any filesystem. Then OS booting process is handled by the kernel itself. What do you mean by "direct it to boot from a specific partition"?
– 炸鱼薯条德里克
Jan 8 at 2:27
I'm not exactly sure how GRUB knows where the OS is located, so I assumed it would locate the correct partition on the drive to load the OS from. I'm not sure how GPT cooperates with GRUB, and I'm not sure where GRUB is located -- whether it's stored in its own partition or not. Help with that would also be useful and appreciated if necessary to know for my main question.
– TheRyGuy
Jan 8 at 3:03
I figured you could have multiple partitions with a different OS in each one and tell GRUB to load data from a specific partition.
– TheRyGuy
Jan 8 at 3:36
The usual way this works is that grub loads agrub.cfg
script which is generated. This is a script which loads a kernel fromdevices
which are specified likehd(1,gpt4)/boot/wibble
to specify the file /boot/wibble from 4th partition in a disk formatted with a gpt partition on the second disk. This script is frequently available in /boot/grub/grub.cfg. The script can get grub to put up menus to select different partitions and versions.
– icarus
Jan 8 at 6:14
so just bear with me
...... +1 for spelling "bear" correctly ... the question is also a good one– jsotola
Jan 8 at 2:25
so just bear with me
...... +1 for spelling "bear" correctly ... the question is also a good one– jsotola
Jan 8 at 2:25
GRUB is able to boot any linux kernel stored on almost any filesystem. Then OS booting process is handled by the kernel itself. What do you mean by "direct it to boot from a specific partition"?
– 炸鱼薯条德里克
Jan 8 at 2:27
GRUB is able to boot any linux kernel stored on almost any filesystem. Then OS booting process is handled by the kernel itself. What do you mean by "direct it to boot from a specific partition"?
– 炸鱼薯条德里克
Jan 8 at 2:27
I'm not exactly sure how GRUB knows where the OS is located, so I assumed it would locate the correct partition on the drive to load the OS from. I'm not sure how GPT cooperates with GRUB, and I'm not sure where GRUB is located -- whether it's stored in its own partition or not. Help with that would also be useful and appreciated if necessary to know for my main question.
– TheRyGuy
Jan 8 at 3:03
I'm not exactly sure how GRUB knows where the OS is located, so I assumed it would locate the correct partition on the drive to load the OS from. I'm not sure how GPT cooperates with GRUB, and I'm not sure where GRUB is located -- whether it's stored in its own partition or not. Help with that would also be useful and appreciated if necessary to know for my main question.
– TheRyGuy
Jan 8 at 3:03
I figured you could have multiple partitions with a different OS in each one and tell GRUB to load data from a specific partition.
– TheRyGuy
Jan 8 at 3:36
I figured you could have multiple partitions with a different OS in each one and tell GRUB to load data from a specific partition.
– TheRyGuy
Jan 8 at 3:36
The usual way this works is that grub loads a
grub.cfg
script which is generated. This is a script which loads a kernel from devices
which are specified like hd(1,gpt4)/boot/wibble
to specify the file /boot/wibble from 4th partition in a disk formatted with a gpt partition on the second disk. This script is frequently available in /boot/grub/grub.cfg. The script can get grub to put up menus to select different partitions and versions.– icarus
Jan 8 at 6:14
The usual way this works is that grub loads a
grub.cfg
script which is generated. This is a script which loads a kernel from devices
which are specified like hd(1,gpt4)/boot/wibble
to specify the file /boot/wibble from 4th partition in a disk formatted with a gpt partition on the second disk. This script is frequently available in /boot/grub/grub.cfg. The script can get grub to put up menus to select different partitions and versions.– icarus
Jan 8 at 6:14
add a comment |
0
active
oldest
votes
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%2f493129%2fhow-can-i-load-an-operating-system-from-a-certain-partition-with-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 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%2f493129%2fhow-can-i-load-an-operating-system-from-a-certain-partition-with-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
so just bear with me
...... +1 for spelling "bear" correctly ... the question is also a good one– jsotola
Jan 8 at 2:25
GRUB is able to boot any linux kernel stored on almost any filesystem. Then OS booting process is handled by the kernel itself. What do you mean by "direct it to boot from a specific partition"?
– 炸鱼薯条德里克
Jan 8 at 2:27
I'm not exactly sure how GRUB knows where the OS is located, so I assumed it would locate the correct partition on the drive to load the OS from. I'm not sure how GPT cooperates with GRUB, and I'm not sure where GRUB is located -- whether it's stored in its own partition or not. Help with that would also be useful and appreciated if necessary to know for my main question.
– TheRyGuy
Jan 8 at 3:03
I figured you could have multiple partitions with a different OS in each one and tell GRUB to load data from a specific partition.
– TheRyGuy
Jan 8 at 3:36
The usual way this works is that grub loads a
grub.cfg
script which is generated. This is a script which loads a kernel fromdevices
which are specified likehd(1,gpt4)/boot/wibble
to specify the file /boot/wibble from 4th partition in a disk formatted with a gpt partition on the second disk. This script is frequently available in /boot/grub/grub.cfg. The script can get grub to put up menus to select different partitions and versions.– icarus
Jan 8 at 6:14