How can I change the names of items in the EFI/UEFI boot menu?












0















I use Ubuntu 18.04 on my computer. This Ubuntu installation appears as ubuntu at system EFI boot menus.



I also have a external USB storage that has a EFI Ubuntu installation. This external USB storage also appears with the name ubuntu at system EFI.



I see two ubuntu menus at system EFI boot menus when external USB storage is attached. This makes it hard to figure out which ubuntu menu item points to the Ubuntu installation on the computer, and which one points to the Ubuntu installation on the external USB storage.



How I can change the EFI boot label to something different?



For example, how can I change ubuntu EFI boot label on the external USB storage to appear as External Ubuntu at system EFI boot menus?



The Ubuntu on my external USB storage has its own EFI partition.



This question is different from How to safely change OS name in grub boot menu?



This question is about how to change the Efi Boot name that appears in the EFI Firmware setup and not in the GRUB boot menu.



Picture of EFI Firmware setup










share|improve this question

























  • can you attach a pic please?

    – PRATAP
    Mar 15 at 13:48






  • 2





    Old bug, not resolved. bugs.launchpad.net/ubuntu/+source/grub2/+bug/1561712 Your two entries are grub & shim from last installed Ubuntu. You currently cannot have two entries with default installs. But if external drive you can boot it directly, if you have ESP on external and move boot files/ESP to it as external drives boot from /EFI/Boot/bootx64.efi as fallback entry. And that goes by drive name.

    – oldfred
    Mar 15 at 14:48











  • Thanks @oldfred for comments. Those two "Ubuntu" entries are not from same Ubuntu installation on same storage. The external drive is portable and independent. it has its own ESP. It can be booted on different computer. As soon as I boot from external device, it add its own "Ubuntu" entries to the list. Both "Ubuntu" entries works and point to right Ubuntu installation, they just have same name. My question is how I can change that "Ubuntu" entry to something different when I connect my external device to a different computer.

    – askquestion
    Mar 15 at 15:01













  • Then link to duplicate should work. I have changed name, but with multiple ubuntu installs in one ESP different name shows up, but /EFI/ubuntu/grub is only file used to boot. If separate UEFI, then each should use the GRUB_DISTRIBUTOR= setting. Its just in grub and UEFI it really is a "efi_distributor" variable which we cannot reset to enable separate labels in one ESP.

    – oldfred
    Mar 15 at 15:16











  • @oldfred I applied following after booting into external storage: sudo nano /etc/default/grub # GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian GRUB_DISTRIBUTOR="EXTERNAL UBUNTU" sudo update-grub After shutdown, replug and restart, again same second "Ubuntu" entry added to EFI firmware boot menu followed by displaying "EXTERNAL UBUNTU" when grub menu appeared after boot. The link to duplicate post only change the Ubuntu name when grub menu appear. It does not change the "Ubuntu" entry at system firmware Efi menu that displays before grub menu.

    – askquestion
    Mar 15 at 16:17
















0















I use Ubuntu 18.04 on my computer. This Ubuntu installation appears as ubuntu at system EFI boot menus.



I also have a external USB storage that has a EFI Ubuntu installation. This external USB storage also appears with the name ubuntu at system EFI.



I see two ubuntu menus at system EFI boot menus when external USB storage is attached. This makes it hard to figure out which ubuntu menu item points to the Ubuntu installation on the computer, and which one points to the Ubuntu installation on the external USB storage.



How I can change the EFI boot label to something different?



For example, how can I change ubuntu EFI boot label on the external USB storage to appear as External Ubuntu at system EFI boot menus?



The Ubuntu on my external USB storage has its own EFI partition.



This question is different from How to safely change OS name in grub boot menu?



This question is about how to change the Efi Boot name that appears in the EFI Firmware setup and not in the GRUB boot menu.



Picture of EFI Firmware setup










share|improve this question

























  • can you attach a pic please?

    – PRATAP
    Mar 15 at 13:48






  • 2





    Old bug, not resolved. bugs.launchpad.net/ubuntu/+source/grub2/+bug/1561712 Your two entries are grub & shim from last installed Ubuntu. You currently cannot have two entries with default installs. But if external drive you can boot it directly, if you have ESP on external and move boot files/ESP to it as external drives boot from /EFI/Boot/bootx64.efi as fallback entry. And that goes by drive name.

    – oldfred
    Mar 15 at 14:48











  • Thanks @oldfred for comments. Those two "Ubuntu" entries are not from same Ubuntu installation on same storage. The external drive is portable and independent. it has its own ESP. It can be booted on different computer. As soon as I boot from external device, it add its own "Ubuntu" entries to the list. Both "Ubuntu" entries works and point to right Ubuntu installation, they just have same name. My question is how I can change that "Ubuntu" entry to something different when I connect my external device to a different computer.

    – askquestion
    Mar 15 at 15:01













  • Then link to duplicate should work. I have changed name, but with multiple ubuntu installs in one ESP different name shows up, but /EFI/ubuntu/grub is only file used to boot. If separate UEFI, then each should use the GRUB_DISTRIBUTOR= setting. Its just in grub and UEFI it really is a "efi_distributor" variable which we cannot reset to enable separate labels in one ESP.

    – oldfred
    Mar 15 at 15:16











  • @oldfred I applied following after booting into external storage: sudo nano /etc/default/grub # GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian GRUB_DISTRIBUTOR="EXTERNAL UBUNTU" sudo update-grub After shutdown, replug and restart, again same second "Ubuntu" entry added to EFI firmware boot menu followed by displaying "EXTERNAL UBUNTU" when grub menu appeared after boot. The link to duplicate post only change the Ubuntu name when grub menu appear. It does not change the "Ubuntu" entry at system firmware Efi menu that displays before grub menu.

    – askquestion
    Mar 15 at 16:17














0












0








0








I use Ubuntu 18.04 on my computer. This Ubuntu installation appears as ubuntu at system EFI boot menus.



I also have a external USB storage that has a EFI Ubuntu installation. This external USB storage also appears with the name ubuntu at system EFI.



I see two ubuntu menus at system EFI boot menus when external USB storage is attached. This makes it hard to figure out which ubuntu menu item points to the Ubuntu installation on the computer, and which one points to the Ubuntu installation on the external USB storage.



How I can change the EFI boot label to something different?



For example, how can I change ubuntu EFI boot label on the external USB storage to appear as External Ubuntu at system EFI boot menus?



The Ubuntu on my external USB storage has its own EFI partition.



This question is different from How to safely change OS name in grub boot menu?



This question is about how to change the Efi Boot name that appears in the EFI Firmware setup and not in the GRUB boot menu.



Picture of EFI Firmware setup










share|improve this question
















I use Ubuntu 18.04 on my computer. This Ubuntu installation appears as ubuntu at system EFI boot menus.



I also have a external USB storage that has a EFI Ubuntu installation. This external USB storage also appears with the name ubuntu at system EFI.



I see two ubuntu menus at system EFI boot menus when external USB storage is attached. This makes it hard to figure out which ubuntu menu item points to the Ubuntu installation on the computer, and which one points to the Ubuntu installation on the external USB storage.



How I can change the EFI boot label to something different?



For example, how can I change ubuntu EFI boot label on the external USB storage to appear as External Ubuntu at system EFI boot menus?



The Ubuntu on my external USB storage has its own EFI partition.



This question is different from How to safely change OS name in grub boot menu?



This question is about how to change the Efi Boot name that appears in the EFI Firmware setup and not in the GRUB boot menu.



Picture of EFI Firmware setup







uefi






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 18 at 0:34









Zanna

51.1k13138242




51.1k13138242










asked Mar 15 at 13:33









askquestionaskquestion

11




11













  • can you attach a pic please?

    – PRATAP
    Mar 15 at 13:48






  • 2





    Old bug, not resolved. bugs.launchpad.net/ubuntu/+source/grub2/+bug/1561712 Your two entries are grub & shim from last installed Ubuntu. You currently cannot have two entries with default installs. But if external drive you can boot it directly, if you have ESP on external and move boot files/ESP to it as external drives boot from /EFI/Boot/bootx64.efi as fallback entry. And that goes by drive name.

    – oldfred
    Mar 15 at 14:48











  • Thanks @oldfred for comments. Those two "Ubuntu" entries are not from same Ubuntu installation on same storage. The external drive is portable and independent. it has its own ESP. It can be booted on different computer. As soon as I boot from external device, it add its own "Ubuntu" entries to the list. Both "Ubuntu" entries works and point to right Ubuntu installation, they just have same name. My question is how I can change that "Ubuntu" entry to something different when I connect my external device to a different computer.

    – askquestion
    Mar 15 at 15:01













  • Then link to duplicate should work. I have changed name, but with multiple ubuntu installs in one ESP different name shows up, but /EFI/ubuntu/grub is only file used to boot. If separate UEFI, then each should use the GRUB_DISTRIBUTOR= setting. Its just in grub and UEFI it really is a "efi_distributor" variable which we cannot reset to enable separate labels in one ESP.

    – oldfred
    Mar 15 at 15:16











  • @oldfred I applied following after booting into external storage: sudo nano /etc/default/grub # GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian GRUB_DISTRIBUTOR="EXTERNAL UBUNTU" sudo update-grub After shutdown, replug and restart, again same second "Ubuntu" entry added to EFI firmware boot menu followed by displaying "EXTERNAL UBUNTU" when grub menu appeared after boot. The link to duplicate post only change the Ubuntu name when grub menu appear. It does not change the "Ubuntu" entry at system firmware Efi menu that displays before grub menu.

    – askquestion
    Mar 15 at 16:17



















  • can you attach a pic please?

    – PRATAP
    Mar 15 at 13:48






  • 2





    Old bug, not resolved. bugs.launchpad.net/ubuntu/+source/grub2/+bug/1561712 Your two entries are grub & shim from last installed Ubuntu. You currently cannot have two entries with default installs. But if external drive you can boot it directly, if you have ESP on external and move boot files/ESP to it as external drives boot from /EFI/Boot/bootx64.efi as fallback entry. And that goes by drive name.

    – oldfred
    Mar 15 at 14:48











  • Thanks @oldfred for comments. Those two "Ubuntu" entries are not from same Ubuntu installation on same storage. The external drive is portable and independent. it has its own ESP. It can be booted on different computer. As soon as I boot from external device, it add its own "Ubuntu" entries to the list. Both "Ubuntu" entries works and point to right Ubuntu installation, they just have same name. My question is how I can change that "Ubuntu" entry to something different when I connect my external device to a different computer.

    – askquestion
    Mar 15 at 15:01













  • Then link to duplicate should work. I have changed name, but with multiple ubuntu installs in one ESP different name shows up, but /EFI/ubuntu/grub is only file used to boot. If separate UEFI, then each should use the GRUB_DISTRIBUTOR= setting. Its just in grub and UEFI it really is a "efi_distributor" variable which we cannot reset to enable separate labels in one ESP.

    – oldfred
    Mar 15 at 15:16











  • @oldfred I applied following after booting into external storage: sudo nano /etc/default/grub # GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian GRUB_DISTRIBUTOR="EXTERNAL UBUNTU" sudo update-grub After shutdown, replug and restart, again same second "Ubuntu" entry added to EFI firmware boot menu followed by displaying "EXTERNAL UBUNTU" when grub menu appeared after boot. The link to duplicate post only change the Ubuntu name when grub menu appear. It does not change the "Ubuntu" entry at system firmware Efi menu that displays before grub menu.

    – askquestion
    Mar 15 at 16:17

















can you attach a pic please?

– PRATAP
Mar 15 at 13:48





can you attach a pic please?

– PRATAP
Mar 15 at 13:48




2




2





Old bug, not resolved. bugs.launchpad.net/ubuntu/+source/grub2/+bug/1561712 Your two entries are grub & shim from last installed Ubuntu. You currently cannot have two entries with default installs. But if external drive you can boot it directly, if you have ESP on external and move boot files/ESP to it as external drives boot from /EFI/Boot/bootx64.efi as fallback entry. And that goes by drive name.

– oldfred
Mar 15 at 14:48





Old bug, not resolved. bugs.launchpad.net/ubuntu/+source/grub2/+bug/1561712 Your two entries are grub & shim from last installed Ubuntu. You currently cannot have two entries with default installs. But if external drive you can boot it directly, if you have ESP on external and move boot files/ESP to it as external drives boot from /EFI/Boot/bootx64.efi as fallback entry. And that goes by drive name.

– oldfred
Mar 15 at 14:48













Thanks @oldfred for comments. Those two "Ubuntu" entries are not from same Ubuntu installation on same storage. The external drive is portable and independent. it has its own ESP. It can be booted on different computer. As soon as I boot from external device, it add its own "Ubuntu" entries to the list. Both "Ubuntu" entries works and point to right Ubuntu installation, they just have same name. My question is how I can change that "Ubuntu" entry to something different when I connect my external device to a different computer.

– askquestion
Mar 15 at 15:01







Thanks @oldfred for comments. Those two "Ubuntu" entries are not from same Ubuntu installation on same storage. The external drive is portable and independent. it has its own ESP. It can be booted on different computer. As soon as I boot from external device, it add its own "Ubuntu" entries to the list. Both "Ubuntu" entries works and point to right Ubuntu installation, they just have same name. My question is how I can change that "Ubuntu" entry to something different when I connect my external device to a different computer.

– askquestion
Mar 15 at 15:01















Then link to duplicate should work. I have changed name, but with multiple ubuntu installs in one ESP different name shows up, but /EFI/ubuntu/grub is only file used to boot. If separate UEFI, then each should use the GRUB_DISTRIBUTOR= setting. Its just in grub and UEFI it really is a "efi_distributor" variable which we cannot reset to enable separate labels in one ESP.

– oldfred
Mar 15 at 15:16





Then link to duplicate should work. I have changed name, but with multiple ubuntu installs in one ESP different name shows up, but /EFI/ubuntu/grub is only file used to boot. If separate UEFI, then each should use the GRUB_DISTRIBUTOR= setting. Its just in grub and UEFI it really is a "efi_distributor" variable which we cannot reset to enable separate labels in one ESP.

– oldfred
Mar 15 at 15:16













@oldfred I applied following after booting into external storage: sudo nano /etc/default/grub # GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian GRUB_DISTRIBUTOR="EXTERNAL UBUNTU" sudo update-grub After shutdown, replug and restart, again same second "Ubuntu" entry added to EFI firmware boot menu followed by displaying "EXTERNAL UBUNTU" when grub menu appeared after boot. The link to duplicate post only change the Ubuntu name when grub menu appear. It does not change the "Ubuntu" entry at system firmware Efi menu that displays before grub menu.

– askquestion
Mar 15 at 16:17





@oldfred I applied following after booting into external storage: sudo nano /etc/default/grub # GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian GRUB_DISTRIBUTOR="EXTERNAL UBUNTU" sudo update-grub After shutdown, replug and restart, again same second "Ubuntu" entry added to EFI firmware boot menu followed by displaying "EXTERNAL UBUNTU" when grub menu appeared after boot. The link to duplicate post only change the Ubuntu name when grub menu appear. It does not change the "Ubuntu" entry at system firmware Efi menu that displays before grub menu.

– askquestion
Mar 15 at 16:17










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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1125920%2fhow-can-i-change-the-names-of-items-in-the-efi-uefi-boot-menu%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
















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1125920%2fhow-can-i-change-the-names-of-items-in-the-efi-uefi-boot-menu%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局