Labels on UEFI Boot Entries -- using efibootmgr -L
... and How to "change" an "ubuntu" label (/EFI/ubuntu)
How to create a label for a UEFI firmware NVRAM variable so you can recognize it in the UEFI firmware boot menus and the BootOrder efibootmgr listing.
Fact:
You can't change or edit an existing UEFI boot entry to add a label or change the current label.
Instead, you must create a new boot variable (pointing at the same EFI subdirectory and the same UEFI bootloader files as the existing boot variable) labeled whatever you wish to use for a label. Then, if you wish, you can delete the old boot variable.
Bottom-line command solution:
I gave a Quick Summary Version and then a (much) longer Details, tutorial version.
About halfway through this, I realized that understanding this simple task (creating a label for a boot entry) requires a good understanding of how the UEFI and ESP works, if anyone cares, but it is a good exercise.
I also address how rEFInd sees things. And this business about how all Ubuntu derivative OSs share the same EFI subdirectory /EFI/ubuntu, and so have the same label "ubuntu" in the UEFI boot menu. There are at least three solutions for this, and I explain them all.
The link to this one:
Labels on UEFI Boot Entries -- using efibootmgr -L
How to "change" an "ubuntu" label (/EFI/ubuntu)
https://www.kubuntuforums.net/showth...229#post378229
////////////////////////////////////
(hope you don't mind ...)
A list of my recent UEFI, booting, Kubuntu how-to's:
UEFI for Kubuntu--simplified. And ... some dual-booting tips for Kubuntu
https://www.kubuntuforums.net/showth...l=1#post373198
GPT, UEFI -- Study Guide
https://www.kubuntuforums.net/showth...l=1#post346604
A new PC build and Kubuntu-only UEFI installation
https://www.kubuntuforums.net/showth...l=1#post368216
Dual-booting: How to Use Multiple ESPs
https://www.kubuntuforums.net/showth...l=1#post376040
Dual-booting Kubuntu: A summary of your options
https://www.kubuntuforums.net/showth...l=1#post376269
Labels on UEFI Boot Entries -- using efibootmgr -L
https://www.kubuntuforums.net/showth...229#post378229
rEFInd
https://www.kubuntuforums.net/showth...l=1#post372221
rEFInd: Make a live CD to boot into your system
https://www.kubuntuforums.net/showth...l=1#post376838
Fix UEFI+GPT with Testdisk & gdisk -- Deleted partitions & damaged GPT structure
https://www.kubuntuforums.net/showth...417#post372417
Re-install GRUB2 from Live DVD/USB flash drive
https://www.kubuntuforums.net/showth...l=1#post374017
Building a Kubuntu live USB installer using dd
https://www.kubuntuforums.net/showth...aller-using-dd
Installing Kubuntu -- Using the "Manual" Installation Type, with your own partitioning
https://www.kubuntuforums.net/showth...688#post377688
... and How to "change" an "ubuntu" label (/EFI/ubuntu)
How to create a label for a UEFI firmware NVRAM variable so you can recognize it in the UEFI firmware boot menus and the BootOrder efibootmgr listing.
Fact:
You can't change or edit an existing UEFI boot entry to add a label or change the current label.
Instead, you must create a new boot variable (pointing at the same EFI subdirectory and the same UEFI bootloader files as the existing boot variable) labeled whatever you wish to use for a label. Then, if you wish, you can delete the old boot variable.
Bottom-line command solution:
Code:
sudo efibootmgr -c -d /dev/sdx -p n -L NewLabel -l \\EFI\\<directory_current>[B]\\[/B]<boot_loader>
I gave a Quick Summary Version and then a (much) longer Details, tutorial version.
About halfway through this, I realized that understanding this simple task (creating a label for a boot entry) requires a good understanding of how the UEFI and ESP works, if anyone cares, but it is a good exercise.
I also address how rEFInd sees things. And this business about how all Ubuntu derivative OSs share the same EFI subdirectory /EFI/ubuntu, and so have the same label "ubuntu" in the UEFI boot menu. There are at least three solutions for this, and I explain them all.
The link to this one:
Labels on UEFI Boot Entries -- using efibootmgr -L
How to "change" an "ubuntu" label (/EFI/ubuntu)
https://www.kubuntuforums.net/showth...229#post378229
////////////////////////////////////
(hope you don't mind ...)
A list of my recent UEFI, booting, Kubuntu how-to's:
UEFI for Kubuntu--simplified. And ... some dual-booting tips for Kubuntu
https://www.kubuntuforums.net/showth...l=1#post373198
GPT, UEFI -- Study Guide
https://www.kubuntuforums.net/showth...l=1#post346604
A new PC build and Kubuntu-only UEFI installation
https://www.kubuntuforums.net/showth...l=1#post368216
Dual-booting: How to Use Multiple ESPs
https://www.kubuntuforums.net/showth...l=1#post376040
Dual-booting Kubuntu: A summary of your options
https://www.kubuntuforums.net/showth...l=1#post376269
Labels on UEFI Boot Entries -- using efibootmgr -L
https://www.kubuntuforums.net/showth...229#post378229
rEFInd
https://www.kubuntuforums.net/showth...l=1#post372221
rEFInd: Make a live CD to boot into your system
https://www.kubuntuforums.net/showth...l=1#post376838
Fix UEFI+GPT with Testdisk & gdisk -- Deleted partitions & damaged GPT structure
https://www.kubuntuforums.net/showth...417#post372417
Re-install GRUB2 from Live DVD/USB flash drive
https://www.kubuntuforums.net/showth...l=1#post374017
Building a Kubuntu live USB installer using dd
https://www.kubuntuforums.net/showth...aller-using-dd
Installing Kubuntu -- Using the "Manual" Installation Type, with your own partitioning
https://www.kubuntuforums.net/showth...688#post377688