From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5504A15838C for ; Wed, 17 Jan 2024 17:22:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD8BEE2B73; Wed, 17 Jan 2024 17:21:56 +0000 (UTC) Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5E2C5E2B66 for ; Wed, 17 Jan 2024 17:21:56 +0000 (UTC) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-50eabfac2b7so13445053e87.0 for ; Wed, 17 Jan 2024 09:21:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705512114; x=1706116914; darn=lists.gentoo.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=iy8rL9M5K/LtU2bHPzq9bolaIQoQ1C1o952usXotMnc=; b=PFZH1F87aSqHG0rG4fQQi1phe1xQ6FAIJyUdW86dzBgeHwJIdSXSU9U0RpYXDeIrtx BqroVwLUdWLPhToO5au+4dIv0JbXrqkj0bwfFmiDAiOKR+4NA26MdU1GxCJvzP7GnbQG b5aTPP3zguDaR1v9UsFnvG8zTlPE3G7g+tTv1TZq+qnChcCnfsN4Ft41uG379bMWEsza yAKuly1cWCQcwsfB+/MzD+nMKVsPjBek2bPyQxEtgkwtNHlTqZIyj6VuVmskWdQxR60w G+BAVefXNzniVSSHdro09PgRdGFRbSHWvHQVYHr176jV7qi0TZqMWIf8ro1y2+2Un4iq 0Bcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705512114; x=1706116914; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=iy8rL9M5K/LtU2bHPzq9bolaIQoQ1C1o952usXotMnc=; b=KQ3qki8Ffj3PrAGCHyDOXODIK1AoDvjmXerrH2/D7YMsDVQHpaqRdEfdSIyMMPyzTk FZQXDttZRuaNwgGYKbQFpNK3nc2CfOomjvqorXW7I4/7uEa3/aGUuq4S0saxRLKdx5Ja tOiKFhBbd9WY2u6x0G+nmxxUtmws2Tr4fQG64qX84AyaD8jb+zCo3rYlSl+VE9baKlco dQjbLoim1PS1PRA6qa9igz5oQUWspTKrwNAoWtJApD6wiHh2oq7dLxq2LmfFUe22x9Cz 2yQEMfB2lr+zoaX9eRaCNeSNqeTAXMVth7//eW+/LHQELIRkdFI6wadstDVo4s9siYct KG9A== X-Gm-Message-State: AOJu0Yya1loOZqT43go98LhBUu75OecOw3yn/0ftto1+iHSObk28GWZz QdQC/Hlf01F8yWhpqXhvE2wop6QwhutO6zmIdQNeCX4eOMA= X-Google-Smtp-Source: AGHT+IFliSHcyBvTQmIy/9AUZf0rHIf3BcY3AsUWmF45j7pr5DSYWzizzpkxisSi2lSRD06oO1mhykqeqWxY/MLlRSo= X-Received: by 2002:ac2:59cb:0:b0:50e:7711:45c with SMTP id x11-20020ac259cb000000b0050e7711045cmr3784651lfn.77.1705512114203; Wed, 17 Jan 2024 09:21:54 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <562cae04-6ba3-42cb-b19f-4af2b6cb1b8c@sys-concept.com> <213b2fd0-d2fd-4c5e-8105-b580d3082087@sys-concept.com> In-Reply-To: <213b2fd0-d2fd-4c5e-8105-b580d3082087@sys-concept.com> From: Mark Knecht Date: Wed, 17 Jan 2024 10:21:42 -0700 Message-ID: Subject: Re: [gentoo-user] Re: Dual Booting - selection from command line To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="000000000000ba3379060f277b9b" X-Archives-Salt: 900fbcf0-126f-44da-9fba-4adb72fb70e3 X-Archives-Hash: d204785561fb6f6117b725f3424e773f --000000000000ba3379060f277b9b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jan 17, 2024 at 9:58=E2=80=AFAM wrote: > > On 1/10/24 15:14, Mark Knecht wrote: > > > > > > On Wed, Jan 10, 2024 at 2:38=E2=80=AFPM > wrote: > > 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\REF= IND\REFIND_X64.EFI) > Boot0002* UEFI OS HD(1,GPT,87a5c5b6-c0a8-024c-b1c0-622907add992,0x800,0x200000)/File(\EFI\BOO= T\BOOTX64.EFI)0000424f > Boot0004* rEFInd Boot Manager HD(1,GPT,9d2481cf-8c35-4d9d-88ee-1d0d6e06cc68,0x800,0x1dc800)/File(\EFI\ref= ind\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: Use efibootmgr -c -d -p -l -L to create a new entry with the desired label and correct path to the bootloader: : The disk where the bootloader resides (e.g., /dev/sda) : The partition number where the bootloader is located (e.g., 1) : The desired label for the boot option : The full path to the bootloader file (e.g., \\EFI\\ubuntu\\shimx64.efi) --000000000000ba3379060f277b9b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Wed, Jan 17, 2024 at 9:58=E2=80=AFAM <thelma@sys-concept.com> wrote:>
> On 1/10/24 15:14, Mark Knecht wrote:
> >
> &g= t;
> > On Wed, Jan 10, 2024 at 2:38=E2=80=AFPM <thelma@sys-concept.com <mailto:thelma@sys-concept.com>> wrote:<SNIP>
>
> Thank you, yes that work perfectly
>> "efibootmgr -n " =C2=A0is one time entry for one reboot; t= o set it permanently one should use:
> "efibootmgr -o + arrange = entries"
>
> Does anybody know how to rename the boot entr= ies, in my case I have:
>
> efibootmgr
> BootCurrent: 000= 4
> Timeout: 1 seconds
> BootOrder: 0000,0004,0002
> Boot= 0000* rEFInd Boot Manager =C2=A0 HD(1,GPT,87a5c5b6-c0a8-024c-b1c0-622907add= 992,0x800,0x200000)/File(\EFI\REFIND\REFIND_X64.EFI)
> Boot0002* UEFI= OS =C2=A0 =C2=A0 =C2=A0 HD(1,GPT,87a5c5b6-c0a8-024c-b1c0-622907add992,0x80= 0,0x200000)/File(\EFI\BOOT\BOOTX64.EFI)0000424f
> Boot0004* rEFInd Bo= ot Manager =C2=A0 HD(1,GPT,9d2481cf-8c35-4d9d-88ee-1d0d6e06cc68,0x800,0x1dc= 800)/File(\EFI\refind\refind_x64.efi)
>
> This is cryptic,
&= gt; 0000 - is sda disk
> 0004 - nvme disk
>
> How to rena= me them to SDA =C2=A0and NVME respectively

man efibootmgr shows a &#= 39;label' option but
I've never used it. Try it at your own ris= k.

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 l= ess useful name.

From Google Bard:
<QUOTE><= br>Use efibootmgr -c -d <disk> -p <partition> -l <new_label&= gt; -L <loader_path> to create a new entry with the desired label and= correct path to the bootloader:

<disk>: The disk where the bo= otloader resides (e.g., /dev/sda)
<partition>: The partition numbe= r where the bootloader is located (e.g., 1)
<new_label>: The desir= ed label for the boot option
<loader_path>: The full path to the b= ootloader file (e.g., \\EFI\\ubuntu\\shimx64.efi)
</QUOTE&= gt;
--000000000000ba3379060f277b9b--