From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Dual Booting - selection from command line
Date: Wed, 17 Jan 2024 10:21:42 -0700 [thread overview]
Message-ID: <CAK2H+ecer71YqudiBotO0hmAiFpYzw60zimvGGVy_H00NjkfkQ@mail.gmail.com> (raw)
In-Reply-To: <213b2fd0-d2fd-4c5e-8105-b580d3082087@sys-concept.com>
[-- Attachment #1: Type: text/plain, Size: 1840 bytes --]
On Wed, Jan 17, 2024 at 9:58 AM <thelma@sys-concept.com> wrote:
>
> On 1/10/24 15:14, Mark Knecht wrote:
> >
> >
> > On Wed, Jan 10, 2024 at 2:38 PM <thelma@sys-concept.com <mailto:
thelma@sys-concept.com>> wrote:
<SNIP>
>
> Thank you, yes that work perfectly
>
> "efibootmgr -n " is one time entry for one reboot; to set it permanently
one should use:
> "efibootmgr -o + arrange entries"
>
> Does anybody know how to rename the boot entries, in my case I have:
>
> efibootmgr
> BootCurrent: 0004
> Timeout: 1 seconds
> BootOrder: 0000,0004,0002
> Boot0000* rEFInd Boot Manager
HD(1,GPT,87a5c5b6-c0a8-024c-b1c0-622907add992,0x800,0x200000)/File(\EFI\REFIND\REFIND_X64.EFI)
> Boot0002* UEFI OS
HD(1,GPT,87a5c5b6-c0a8-024c-b1c0-622907add992,0x800,0x200000)/File(\EFI\BOOT\BOOTX64.EFI)0000424f
> Boot0004* rEFInd Boot Manager
HD(1,GPT,9d2481cf-8c35-4d9d-88ee-1d0d6e06cc68,0x800,0x1dc800)/File(\EFI\refind\refind_x64.efi)
>
> This is cryptic,
> 0000 - is sda disk
> 0004 - nvme disk
>
> How to rename them to SDA and NVME respectively
man efibootmgr shows a 'label' option but
I've never used it. Try it at your own risk.
If I was going to try it I would first create the
new one with the new label using the data from
an existing option, test it, and if it worked then
delete the one with the less useful name.
From Google Bard:
<QUOTE>
Use efibootmgr -c -d <disk> -p <partition> -l <new_label> -L <loader_path>
to create a new entry with the desired label and correct path to the
bootloader:
<disk>: The disk where the bootloader resides (e.g., /dev/sda)
<partition>: The partition number where the bootloader is located (e.g., 1)
<new_label>: The desired label for the boot option
<loader_path>: The full path to the bootloader file (e.g.,
\\EFI\\ubuntu\\shimx64.efi)
</QUOTE>
[-- Attachment #2: Type: text/html, Size: 2375 bytes --]
next prev parent reply other threads:[~2024-01-17 17:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-10 0:18 [gentoo-user] Dual Booting - selection from command line thelma
2024-01-10 2:22 ` [gentoo-user] " Nikos Chantziaras
2024-01-10 17:23 ` thelma
2024-01-10 22:14 ` Mark Knecht
2024-01-17 15:40 ` thelma
2024-01-17 16:54 ` Michael
2024-01-17 17:21 ` Mark Knecht [this message]
2024-01-17 18:54 ` thelma
2024-01-17 19:24 ` Peter Humphrey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAK2H+ecer71YqudiBotO0hmAiFpYzw60zimvGGVy_H00NjkfkQ@mail.gmail.com \
--to=markknecht@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox