[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-user
Subject:    Re: [gentoo-user] Re: Dual Booting - selection from command line
From:       Mark Knecht <markknecht () gmail ! com>
Date:       2024-01-17 17:21:42
Message-ID: CAK2H+ecer71YqudiBotO0hmAiFpYzw60zimvGGVy_H00NjkfkQ () mail ! gmail ! com
[Download RAW message or body]

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 #3 (text/html)]

<div dir="ltr"><br><br>On Wed, Jan 17, 2024 at 9:58 AM &lt;<a \
href="mailto:thelma@sys-concept.com">thelma@sys-concept.com</a>&gt; \
wrote:<br>&gt;<br>&gt; On 1/10/24 15:14, Mark Knecht wrote:<br>&gt; &gt;<br>&gt; \
&gt;<br>&gt; &gt; On Wed, Jan 10, 2024 at 2:38 PM &lt;<a \
href="mailto:thelma@sys-concept.com">thelma@sys-concept.com</a> &lt;mailto:<a \
href="mailto:thelma@sys-concept.com">thelma@sys-concept.com</a>&gt;&gt; \
wrote:<br>&lt;SNIP&gt;<br>&gt;<br>&gt; Thank you, yes that work \
perfectly<br>&gt;<br>&gt; &quot;efibootmgr -n &quot;   is one time entry for one \
reboot; to set it permanently one should use:<br>&gt; &quot;efibootmgr -o + arrange \
entries&quot;<br>&gt;<br>&gt; Does anybody know how to rename the boot entries, in my \
case I have:<br>&gt;<br>&gt; efibootmgr<br>&gt; BootCurrent: 0004<br>&gt; Timeout: 1 \
seconds<br>&gt; BootOrder: 0000,0004,0002<br>&gt; Boot0000* rEFInd Boot Manager    \
HD(1,GPT,87a5c5b6-c0a8-024c-b1c0-622907add992,0x800,0x200000)/File(\EFI\REFIND\REFIND_X64.EFI)<br>&gt; \
Boot0002* UEFI OS          \
HD(1,GPT,87a5c5b6-c0a8-024c-b1c0-622907add992,0x800,0x200000)/File(\EFI\BOOT\BOOTX64.EFI)0000424f<br>&gt; \
Boot0004* rEFInd Boot Manager    \
HD(1,GPT,9d2481cf-8c35-4d9d-88ee-1d0d6e06cc68,0x800,0x1dc800)/File(\EFI\refind\refind_x64.efi)<br>&gt;<br>&gt; \
This is cryptic,<br>&gt; 0000 - is sda disk<br>&gt; 0004 - nvme disk<br>&gt;<br>&gt; \
How to rename them to SDA   and NVME respectively<br><br>man efibootmgr shows a \
&#39;label&#39; option but <br>I&#39;ve never used it. Try it at your own \
risk.<div><br></div><div>If I was going to try it I would first create \
the</div><div>new one with the new label using the data from</div><div>an existing \
option, test it, and if it worked then</div><div>delete the one with the less useful \
name.<br><div><br></div><div>From Google Bard:<br>&lt;QUOTE&gt;<br>Use efibootmgr -c \
-d &lt;disk&gt; -p &lt;partition&gt; -l &lt;new_label&gt; -L &lt;loader_path&gt; to \
create a new entry with the desired label and correct path to the \
bootloader:<br><br>&lt;disk&gt;: The disk where the bootloader resides (e.g., \
/dev/sda)<br>&lt;partition&gt;: The partition number where the bootloader is located \
(e.g., 1)<br>&lt;new_label&gt;: The desired label for the boot \
option<br>&lt;loader_path&gt;: The full path to the bootloader file (e.g., \
\\EFI\\ubuntu\\shimx64.efi)<br></div><div>&lt;/QUOTE&gt;</div></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic