Can I move any partition freely when using UEFI?
Clash Royale CLAN TAG#URR8PPP
In BIOS,
booting is two or three stages, both of which will end up calling the final-stage bootloader code in the boot block of a partition.
Is that the reason why I need to reinstall GRUB2 when moving
/
partition which contains/boot
(according to https://askubuntu.com/questions/299886/partitions-is-it-safe-to-move-partition-containing-boot and https://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd)?
In UEFI,
some said booting is one stage, because all bootloader code is in a dedicated EFI boot partition. Is that true?
Does that mean I can move any partition (even if Lubuntu is installed on it), and still can boot, without having to do anything with bootloader?
Thanks.
partition grub uefi boot-loader bios
add a comment |
In BIOS,
booting is two or three stages, both of which will end up calling the final-stage bootloader code in the boot block of a partition.
Is that the reason why I need to reinstall GRUB2 when moving
/
partition which contains/boot
(according to https://askubuntu.com/questions/299886/partitions-is-it-safe-to-move-partition-containing-boot and https://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd)?
In UEFI,
some said booting is one stage, because all bootloader code is in a dedicated EFI boot partition. Is that true?
Does that mean I can move any partition (even if Lubuntu is installed on it), and still can boot, without having to do anything with bootloader?
Thanks.
partition grub uefi boot-loader bios
1. Define stage. 2. You have to ensure your firmware can still find your UEFI partition, ie, partition with partition type C12A7328-F81F-11D2-BA4B-00A0C93EC93B
– 炸鱼薯条德里克
Feb 28 at 0:13
(1) Two stag booting: MBR of boot disk -> boot sector of a partition. Three state booting: MBR of boot disk -> some sector following MBR of boot disk -> boot sector of a partition. One stage booting: EFI boot partition? (2) I move my/
partition. Do you imply moving/
partition also moves EFI boot partition?
– Tim
Feb 28 at 0:17
(1) Definition is not an example. UEFI firmware runsgrubx64.efi
, which needs to load other grub modules. You've been told about concepts, I'm not gonna say it again.(2)No. UEFI firmware find your ESP by its partition type in GPT. I assume you've known GPT structure.
– 炸鱼薯条德里克
Feb 28 at 1:26
You might enjoy rodsbooks.com/efi-bootloaders/principles.html; basically "yes, there are no block-related ties but rather filesystem-related ones, as long as you use e.g. UUIDs you should be able to move partitions, maybe excluding ESP".
– Michael Shigorin
Feb 28 at 13:30
add a comment |
In BIOS,
booting is two or three stages, both of which will end up calling the final-stage bootloader code in the boot block of a partition.
Is that the reason why I need to reinstall GRUB2 when moving
/
partition which contains/boot
(according to https://askubuntu.com/questions/299886/partitions-is-it-safe-to-move-partition-containing-boot and https://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd)?
In UEFI,
some said booting is one stage, because all bootloader code is in a dedicated EFI boot partition. Is that true?
Does that mean I can move any partition (even if Lubuntu is installed on it), and still can boot, without having to do anything with bootloader?
Thanks.
partition grub uefi boot-loader bios
In BIOS,
booting is two or three stages, both of which will end up calling the final-stage bootloader code in the boot block of a partition.
Is that the reason why I need to reinstall GRUB2 when moving
/
partition which contains/boot
(according to https://askubuntu.com/questions/299886/partitions-is-it-safe-to-move-partition-containing-boot and https://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd)?
In UEFI,
some said booting is one stage, because all bootloader code is in a dedicated EFI boot partition. Is that true?
Does that mean I can move any partition (even if Lubuntu is installed on it), and still can boot, without having to do anything with bootloader?
Thanks.
partition grub uefi boot-loader bios
partition grub uefi boot-loader bios
asked Feb 27 at 20:40
TimTim
28.1k78269490
28.1k78269490
1. Define stage. 2. You have to ensure your firmware can still find your UEFI partition, ie, partition with partition type C12A7328-F81F-11D2-BA4B-00A0C93EC93B
– 炸鱼薯条德里克
Feb 28 at 0:13
(1) Two stag booting: MBR of boot disk -> boot sector of a partition. Three state booting: MBR of boot disk -> some sector following MBR of boot disk -> boot sector of a partition. One stage booting: EFI boot partition? (2) I move my/
partition. Do you imply moving/
partition also moves EFI boot partition?
– Tim
Feb 28 at 0:17
(1) Definition is not an example. UEFI firmware runsgrubx64.efi
, which needs to load other grub modules. You've been told about concepts, I'm not gonna say it again.(2)No. UEFI firmware find your ESP by its partition type in GPT. I assume you've known GPT structure.
– 炸鱼薯条德里克
Feb 28 at 1:26
You might enjoy rodsbooks.com/efi-bootloaders/principles.html; basically "yes, there are no block-related ties but rather filesystem-related ones, as long as you use e.g. UUIDs you should be able to move partitions, maybe excluding ESP".
– Michael Shigorin
Feb 28 at 13:30
add a comment |
1. Define stage. 2. You have to ensure your firmware can still find your UEFI partition, ie, partition with partition type C12A7328-F81F-11D2-BA4B-00A0C93EC93B
– 炸鱼薯条德里克
Feb 28 at 0:13
(1) Two stag booting: MBR of boot disk -> boot sector of a partition. Three state booting: MBR of boot disk -> some sector following MBR of boot disk -> boot sector of a partition. One stage booting: EFI boot partition? (2) I move my/
partition. Do you imply moving/
partition also moves EFI boot partition?
– Tim
Feb 28 at 0:17
(1) Definition is not an example. UEFI firmware runsgrubx64.efi
, which needs to load other grub modules. You've been told about concepts, I'm not gonna say it again.(2)No. UEFI firmware find your ESP by its partition type in GPT. I assume you've known GPT structure.
– 炸鱼薯条德里克
Feb 28 at 1:26
You might enjoy rodsbooks.com/efi-bootloaders/principles.html; basically "yes, there are no block-related ties but rather filesystem-related ones, as long as you use e.g. UUIDs you should be able to move partitions, maybe excluding ESP".
– Michael Shigorin
Feb 28 at 13:30
1. Define stage. 2. You have to ensure your firmware can still find your UEFI partition, ie, partition with partition type C12A7328-F81F-11D2-BA4B-00A0C93EC93B
– 炸鱼薯条德里克
Feb 28 at 0:13
1. Define stage. 2. You have to ensure your firmware can still find your UEFI partition, ie, partition with partition type C12A7328-F81F-11D2-BA4B-00A0C93EC93B
– 炸鱼薯条德里克
Feb 28 at 0:13
(1) Two stag booting: MBR of boot disk -> boot sector of a partition. Three state booting: MBR of boot disk -> some sector following MBR of boot disk -> boot sector of a partition. One stage booting: EFI boot partition? (2) I move my
/
partition. Do you imply moving /
partition also moves EFI boot partition?– Tim
Feb 28 at 0:17
(1) Two stag booting: MBR of boot disk -> boot sector of a partition. Three state booting: MBR of boot disk -> some sector following MBR of boot disk -> boot sector of a partition. One stage booting: EFI boot partition? (2) I move my
/
partition. Do you imply moving /
partition also moves EFI boot partition?– Tim
Feb 28 at 0:17
(1) Definition is not an example. UEFI firmware runs
grubx64.efi
, which needs to load other grub modules. You've been told about concepts, I'm not gonna say it again.(2)No. UEFI firmware find your ESP by its partition type in GPT. I assume you've known GPT structure.– 炸鱼薯条德里克
Feb 28 at 1:26
(1) Definition is not an example. UEFI firmware runs
grubx64.efi
, which needs to load other grub modules. You've been told about concepts, I'm not gonna say it again.(2)No. UEFI firmware find your ESP by its partition type in GPT. I assume you've known GPT structure.– 炸鱼薯条德里克
Feb 28 at 1:26
You might enjoy rodsbooks.com/efi-bootloaders/principles.html; basically "yes, there are no block-related ties but rather filesystem-related ones, as long as you use e.g. UUIDs you should be able to move partitions, maybe excluding ESP".
– Michael Shigorin
Feb 28 at 13:30
You might enjoy rodsbooks.com/efi-bootloaders/principles.html; basically "yes, there are no block-related ties but rather filesystem-related ones, as long as you use e.g. UUIDs you should be able to move partitions, maybe excluding ESP".
– Michael Shigorin
Feb 28 at 13:30
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%2f503418%2fcan-i-move-any-partition-freely-when-using-uefi%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%2f503418%2fcan-i-move-any-partition-freely-when-using-uefi%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. Define stage. 2. You have to ensure your firmware can still find your UEFI partition, ie, partition with partition type C12A7328-F81F-11D2-BA4B-00A0C93EC93B
– 炸鱼薯条德里克
Feb 28 at 0:13
(1) Two stag booting: MBR of boot disk -> boot sector of a partition. Three state booting: MBR of boot disk -> some sector following MBR of boot disk -> boot sector of a partition. One stage booting: EFI boot partition? (2) I move my
/
partition. Do you imply moving/
partition also moves EFI boot partition?– Tim
Feb 28 at 0:17
(1) Definition is not an example. UEFI firmware runs
grubx64.efi
, which needs to load other grub modules. You've been told about concepts, I'm not gonna say it again.(2)No. UEFI firmware find your ESP by its partition type in GPT. I assume you've known GPT structure.– 炸鱼薯条德里克
Feb 28 at 1:26
You might enjoy rodsbooks.com/efi-bootloaders/principles.html; basically "yes, there are no block-related ties but rather filesystem-related ones, as long as you use e.g. UUIDs you should be able to move partitions, maybe excluding ESP".
– Michael Shigorin
Feb 28 at 13:30