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 A1F0315800F for ; Fri, 10 Feb 2023 13:11:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 143E2E07EE; Fri, 10 Feb 2023 13:10:55 +0000 (UTC) Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2097.outbound.protection.outlook.com [40.107.105.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4A363E07D0 for ; Fri, 10 Feb 2023 13:10:54 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HQHjyWt5d/KwSrPCvhkyevMt9Mha4bXnPsawKIAAXLFLvcPZXAQwQmoOpWLMA4GC4/dwq+J1rVq2i8MECAEywGb1/OoGF8Lyxe9nZT7meE5VotLDq/7OUZy7pJa3MKsPw0YuqIzCvnXvcKoVFbCY5e/UrhXkma5/VZIfR/m9yr/JTrOk81sM3fg3K9Wb284a4cxw9iLV3gXIa89XufLRZMQV5cCZ6eVTvAXY+kCKXoUIR2px+nog5o3eY4rj1lgcuAKsyujU5ZoPcVORisfTkg1XAuH8rCXCVwfzAW0FydrUXJCps8RTuzp5pshXEHKLij1ylLpjTBN8vj20lYRBGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nSNrwZUshlRrrL6gCBV9n7wrCvkG6NUHguoKhafxakM=; b=BtJev3IpbCGaLPg5j1r/+oc+LPHlcaSIfjullmTOPkOPODTTdPRLZh+JCYAkChVynvYk+1ZVKOMnxs1NsVHBZS2hpgkTJz5nQEKaNydo4lHzYOPY91bBjvloeehs6fqwn7z/MtLBa3njraDbpbBDf3B8lnejxudZZICIhw8S/R5S97oZecrjmeZjKPCmuSGA/gsIUwe5ky3OWHW+p931DOIb5JIznNsuIosL5iUK+2xr6rkDzdDOdEbjDIFT34oYMn4bvxTyv6xRopEZO3Bbqhq0pA1HFceUkip8GkzIzXMLVhrzImxw9JihoprFsYCxbb+W82ZNAB7vY5ZIfmOVbg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=abhinav.pro; dmarc=pass action=none header.from=abhinav.pro; dkim=pass header.d=abhinav.pro; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NETORGFT2804435.onmicrosoft.com; s=selector2-NETORGFT2804435-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nSNrwZUshlRrrL6gCBV9n7wrCvkG6NUHguoKhafxakM=; b=jS5xLnlMrtiYOaE3gXZLQy7T5cgOfbLB6z7ust7nOt574OHYYH8s2Ek1QHra97RFXeMRywtfQsnosh629HDGA/2knF9VigJ6L2FAB/L2x2zkaCZBIeBngUYPjSM0dDofONX7f8LINSA0SMYfnhLuWxF9/4rQrxj4861NIO0Gw3I= Received: from LO0P265MB3401.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:186::11) by LO0P265MB6129.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:24e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.21; Fri, 10 Feb 2023 13:10:39 +0000 Received: from LO0P265MB3401.GBRP265.PROD.OUTLOOK.COM ([fe80::4fea:31f:f2b7:1a95]) by LO0P265MB3401.GBRP265.PROD.OUTLOOK.COM ([fe80::4fea:31f:f2b7:1a95%4]) with mapi id 15.20.6086.019; Fri, 10 Feb 2023 13:10:39 +0000 From: Abhinav Praveen To: "gentoo-user@lists.gentoo.org" Subject: Re: [gentoo-user] Anybody using refind? Thread-Topic: [gentoo-user] Anybody using refind? Thread-Index: AQHZNure7tWqJLJkCUynummtgvHcuq67agCAgAAZh4CAAALhAIAAC/CAgAAEWYCAACxgAIAMcFEL Date: Fri, 10 Feb 2023 13:10:39 +0000 Message-ID: References: <01af6462-54a4-3164-0afe-d149cb83e6c1@t-online.de> <5908321.lOV4Wx5bFT@iris> <6e9d017c-79e7-b203-421d-acf85f5bcc46@t-online.de> <4782296.GXAFRqVoOG@iris> <18778c02-21ce-9fb4-9e66-705578a4f0e7@t-online.de> In-Reply-To: <18778c02-21ce-9fb4-9e66-705578a4f0e7@t-online.de> Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=abhinav.pro; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: LO0P265MB3401:EE_|LO0P265MB6129:EE_ x-ms-office365-filtering-correlation-id: b54339aa-6084-4499-091a-08db0b6834b7 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: u3AhpBQFPPZTDuojc8LlkbKs7SsXpPZ/1ZVmcfPxOYbLCwnfJAH/M01WbqiBhto7+tuhSXju65GJTMBLWLExBcE/GDLUi369xsTmH2x9f/ovU5gOQkLvwksohWu9ofxCCs0fkZkgT5Q1s4K+YAiljfKoCj9DZJzvuuzozkZjg00aMucDat/FmIv+PZfTC2exgfQfRYVsEjraI8pgOzaLuF6z/i1RKKfBqUOUUPK8XV1fJtVwuTO6/TP9dbCTe8kzzaCQ2ULRuJx191B9OrLONIApkn/wYFo90mQ7ZNEdxIQZyJB1Lr3EHQsPAWR5u+Kiu4BZ1uJ5RL3tAJfX6oDURqd6JQfGhUlYiV/ZU0ngfg8YOKFidp7tex2w7W4rWWe9PSv8Fly3nxzmZaeVQtwoTxlEoYKxUmA1MzYvuhhA1GYYcjyUpcymf9ljIRkOJzvo0buaifg3z0hx64zIbclbFfpKuXehyHaogtHEqwi9XVxIbt8c2sy3fc2AbA8XopD42JCe7ISu3wIiM9CNu/fX8To9jRGSjvSo9BU2rTeIyDbxs5eZ8jSwlkgAOjddeJTCgVh83gwVVCMPg+gBMxbM7JOh5nYTA8mZQdcFUQLfUlt1WM29ewgLGJCTcfjeYWmztFogGlxbzSQrhEsjU9I4/RSBLcLh8Ry4UyzqQMtKiRp6FhK9jplADEj9w5koIK4NhOomPuhGsiOa6qH7cEBeA8qBAb/UedabPO9uN4D+SxTfGTUS8oGJ2ESopwK6emZlLhPC+qEZjRk1a4/PvSz8ew== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:LO0P265MB3401.GBRP265.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230025)(366004)(39830400003)(376002)(136003)(396003)(346002)(451199018)(83380400001)(66476007)(66946007)(76116006)(64756008)(66556008)(316002)(8676002)(52536014)(8936002)(5660300002)(41300700001)(6916009)(66446008)(478600001)(6506007)(9686003)(186003)(53546011)(26005)(966005)(7696005)(166002)(38070700005)(33656002)(55016003)(86362001)(2906002)(21615005)(38100700002)(122000001)(71200400001)(19627405001)(55480200007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?koi8-r?Q?0FWO6Jvxj4nmCcve191irhgSAnx6VVBcmReD4GNdZu8xkVYjJhkdLj/xLavkEM?= =?koi8-r?Q?WAVZGnouwQrjpOHOikIkiPHp7z5X77Z/YH+wlYlQute4Z6sxso5+qbu/RTJMUf?= =?koi8-r?Q?ObmOz3iDC8hPkK3TZm08GLpfjVOAJq0BjXSMiyacZdCF8U9vRIAq5wimNgRCUH?= =?koi8-r?Q?Pk+Wems05OfnqZ5NaGzjuNHUfSDQ8gABu3Qx+B/Gkn+87xGea7b50695T/d4zM?= =?koi8-r?Q?03XhqUrbDpwCNbVSghTFKPLvyVxdQq1n+uPcSFYricKwSM+KiJcedoWw0tOlFQ?= =?koi8-r?Q?BYwJpohKktoQ9obKMW4zGLL8AmRaL+oWJDWVwUGH+OfbOglVAhH+pNnyz0hJci?= =?koi8-r?Q?fp05flEy2BTrmFgGWe2+Totb/NjnQ64HW+AefH0O44BBhwCul3BbfNk2jlGE1g?= =?koi8-r?Q?p3E3PmScXUrmUHJ/mvRIgGRA3cXIG1IZ/tszlcrv4v0Q5LxmvYBimkJ/gGnnU6?= =?koi8-r?Q?wQMxU7YK8H6IShQ9Iev2AgKiZXInfROdSdPnk4oMyLJwI9clWm0ooawJbAXtd4?= =?koi8-r?Q?XQgrWgNtpj755mbvlWvpvfg5vCIOlvP/nXOmghOgTulvI2hsYYSxOJ9dBaZ+ui?= =?koi8-r?Q?nL3yfLk3vm3pP+JNZCDl4HWeIRWGmuWwFkFoYmdaL1WQc7QBM9PlLDnk2bjTfx?= =?koi8-r?Q?zd6Ju+fw4x/yddT1XKBa/pIwzh+zKirkECcm4O3TPSvEVMtPkGscrN1CRxlchW?= =?koi8-r?Q?fXksJqHEDO94kj3REJQ5QxB18w/sEURCYIG84tVqpbaxApV6kwhlyYt+GxPVL2?= =?koi8-r?Q?J6QQO9BD6dgqoNQJpJKR2vbM2GGkjN0Ij4ZECxySH2hmFn+AJCalGGqWrjcrDy?= =?koi8-r?Q?3gb8VUEd7kovdnN1fTs9nDf1xufpb6jIN+DOUkgVB8j4TUvJdpw4WeogTkUFmD?= =?koi8-r?Q?G5Xl2dqP+UmgvmhFUp9gp7iwWNRtLs/g05nyCeOv6r8/IchKLxFuC0ieK78HJH?= =?koi8-r?Q?fU2/WiyfvIIKc65o7GR4YHh8AE9a1Oix749tOBNGOb8ER8IvYUAV29KcpwRA0Y?= =?koi8-r?Q?py3bAp8EhOMSkgXJ7DifFeGvOFh1rJ5x6KPqLokpj7fPSiTzbFLkY9n4TkrNs3?= =?koi8-r?Q?oM+A5vPZSKn1eqOUiaroXS6lcwE/WuAyyHJA01q9uFkRh+4EEIvnN6g97vr7jc?= =?koi8-r?Q?/JlJY69/x+Wb9ZFjZJHj5/b0k+6k71aVSutx7j/XCcbN4eM+jGV973SI+zcrRx?= =?koi8-r?Q?2Sf4qkvTb6VaIqTnOFLaflqTN0eDrc7W+5vPOIWYcZ6CnkY6Q+e3M3r53djMvz?= =?koi8-r?Q?r9ndWpBM3bMzqWPN2Py8Dhl/8JkEz8oDJhET8yTPeYqckbzT5z7P6lkeOQHkXV?= =?koi8-r?Q?v1sxlH23Zyv1scY3Vo3Jdio9SfxCoZylo7A2i8o1rlPWof9Br6mXs57Swr36g0?= =?koi8-r?Q?7D+CH8tZDbPV55LLZoNZu0AfXpqVIap1cZMt3z7ADnhV9wyLf5YNaGTRS3YDzL?= =?koi8-r?Q?e6USy5889JdU1RtTrr40ICJMXJJwObGrV7KMDlLpkLaZ5Y8TWq/70ZmZ9+WIu2?= =?koi8-r?Q?jXVGhrq1UxKMro0WxztNSc6OI0l2m77DwAj8zBBsOtapnEsvCY?= Content-Type: multipart/alternative; boundary="_000_LO0P265MB34012A82C8991757A0DBC2B0B9DE9LO0P265MB3401GBRP_" 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 X-OriginatorOrg: abhinav.pro X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: LO0P265MB3401.GBRP265.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: b54339aa-6084-4499-091a-08db0b6834b7 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Feb 2023 13:10:39.1347 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 1b0ca7ce-934f-4738-a307-37cb7a47d395 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: mMABTffYjJUVz4PGHQAyPeb2+M7h8ctJYC8cBv0vjgQ2Mxs3PmML4lQBDH6x8EfGOd/FNvheGEiKqCaMNuI/qA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LO0P265MB6129 X-Archives-Salt: 07a4c5ef-16bb-4bef-9305-bfbd3ac09a54 X-Archives-Hash: 4dcdcbed1264c5aaf54c57ad93da2f8c --_000_LO0P265MB34012A82C8991757A0DBC2B0B9DE9LO0P265MB3401GBRP_ Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable It is not possible to mount with LABEL only with kernel only. See https://s= uperuser.com/a/1625723. I would create a small initramfs using https://wiki= .gentoo.org/wiki/Custom_Initramfs#Mount_by_UUID_or_label and build it into = the kernel with CONFIG_INITRAMFS_SOURCE Abhinav Praveen ________________________________ From: Klaus Dittrich Sent: 02 February 2023 15:10 To: gentoo-user@lists.gentoo.org ; J. Roeleve= ld Subject: Re: [gentoo-user] Anybody using refind? On 02.02.23 13:31, J. Roeleveld wrote: > On Thursday, February 2, 2023 1:15:51 PM CET Klaus Dittrich wrote: >> On 02.02.23 12:33, J. Roeleveld wrote: >>> Please only send mails to the list. >>> There is no need to add me to the TO or CC lists. >>> >>> On Thursday, February 2, 2023 12:22:49 PM CET Klaus Dittrich wrote: >>>> On 02.02.23 10:51, J. Roeleveld wrote: >>>>> On Thursday, February 2, 2023 10:42:40 AM CET Klaus Dittrich wrote: >>>>>> Is there andbody using refind? Especially in Germany? >>>>>> I have some questions about. >>>>> >>>>> If you have questions, feel free to ask on this list. >>>>> I am sure I am not the only one using it. >>>>> >>>>> -- >>>>> Joost >>>> >>>> Joost, >>>> >>>> my current system boots from bios(mbr) not uefi. >>>> >>>> My knowlege of uefi is poor and uefi is still confusing me. >>>> So it may be some of my questions will looking silly for you. >>> >>> Did you read the well-written howto on the Gentoo website? >>> >>> https://wiki.gentoo.org/wiki/Refind[1] >>> >>> >>> >>> -------- >>> [1] https://wiki.gentoo.org/wiki/Refind >> >> Joost, >> >> no. Thanks for the hint, I had just a short look into at it. >> >> There is presupposed that one is at a uefi system already. >> >> I have to install refind to a disk mounted to my mbr-booted-system, >> make all necessary adjustments there and then put it to the uefi-only >> machine and boot it there. >> >> So I cannot call efibootmanger to pin refind to nvram of the uefi-system= . > > Use a USB boot-stick with EFI image, like the gentoo one. See the relevan= t section in the > Gentoo installguide: > > https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Media[1] > > > -------- > [1] https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Media > Joost, I installed refind to the esp partition of my disk according to what I have understood so far from https://wiki.gentoo.org/wiki/Refind and the meanwhile up again site https://www.rodsbooks.com/refind/installing.html The disk is a nvme disk put into an nvme-to-usb adapter, so I can easily move it between my existing (mbr) machine and the new uefi-machine. The efi partition looks like this now: . =84=80=80 EFI =86=80=80 BOOT =81 =86=80=80 BOOT.CSV =81 =86=80=80 bootx64.efi =81 =86=80=80 icons =81 =81 =81 =86=80=80 refind.conf =81 =86=80=80 refind.conf-sample =81 =86=80=80 refind.log =81 =86=80=80 refind.log-old =81 =84=80=80 vars =81 =84=80=80 PreviousBoot =86=80=80 myBackup =81 =86=80=80 System.map-6.1.9 =81 =84=80=80 vmlinuz-6.1.9 =86=80=80 mySystem =81 =86=80=80 System.map-6.1.9 =81 =84=80=80 vmlinuz-6.1.9 =86=80=80 refind =84=80=80 tools I left out the numerous contents of icons. refind is installed to teh default BOOT/bootx64.efi as I have no access to nvram up to now. The disk looks like this:( gdisk /dev/sda) Number Start (sector) End (sector) Size Code Name 1 2048 452607 220.0 MiB EF00 PEFI 2 452608 461826047 220.0 GiB 8300 PSYS My EFI/BOOT/refind.conf has this entry: menuentry Linux { icon EFI/refind/icons/os_linux.png volume PSYS loader vmlinuz-6.1.9 options "root=3DLABEL=3DPSYS ro rootfstype=3Dext4 mds=3Dfull" } And /etc/fstab :(the essential parts only) LABEL=3DPSYS / ext4 defaults,noatime,nodiscard 1 1 LABEL=3DPEFI /boot/efi vfat umask=3D00755 0 0 efivarfs /sys/firmware/efi/efivars efivarfs nosuid,nodev,noexec,noatime 0 0 When I am trying to boot this (uefi-machine) I get /dev/root can't open block device or please append correct root=3Dboot option. The kernel is compiled with all necessary drivers built in not using modules. I don't like initrd or intramfs. I decided to use the partition label PSYS because I cannot see (like in legacy bios) to which device my disk got connected. So I relay on refind which can pass partition labels to the "root=3D" option of the kernel as I have read. Do you or anyone reading this thread know what mistake I have made in this configuration of refind. -- Regards Klaus --_000_LO0P265MB34012A82C8991757A0DBC2B0B9DE9LO0P265MB3401GBRP_ Content-Type: text/html; charset="koi8-r" Content-Transfer-Encoding: quoted-printable
It is not possible to mount with LABEL only with kernel only. See https://superuser.com/a/1625723. I would create a small initramfs using= https://wiki.gentoo.org/wiki/Custom_Initramfs#Mount_by_UUID_or_label an= d build it into the kernel with CONFIG_INITRAMFS_SOURCE

Abhinav Praveen

From: Klaus Dittrich <kl= adit@t-online.de>
Sent: 02 February 2023 15:10
To: gentoo-user@lists.gentoo.org <gentoo-user@lists.gentoo.org>= ;; J. Roeleveld <joost@antarean.org>
Subject: Re: [gentoo-user] Anybody using refind?
 
On 02.02.23 13:31, J. Roeleveld wrote:
> On Thursday, February 2, 2023 1:15:51 PM CET Klaus Dittrich wrote:
>> On 02.02.23 12:33, J. Roeleveld wrote:
>>> Please only send mails to the list.
>>> There is no need to add me to the TO or CC lists.
>>>
>>> On Thursday, February 2, 2023 12:22:49 PM CET Klaus Dittrich w= rote:
>>>> On 02.02.23 10:51, J. Roeleveld wrote:
>>>>> On Thursday, February 2, 2023 10:42:40 AM CET Klaus Di= ttrich wrote:
>>>>>> Is there andbody using refind? Especially in Germa= ny?
>>>>>> I have some questions about.
>>>>>
>>>>> If you have questions, feel free to ask on this list.<= br> >>>>> I am sure I am not the only one using it.
>>>>>
>>>>> --
>>>>> Joost
>>>>
>>>> Joost,
>>>>
>>>> my current system boots from bios(mbr) not uefi.
>>>>
>>>> My knowlege of uefi is poor and uefi is still confusing me= .
>>>> So it may be some of my questions will looking silly for y= ou.
>>>
>>> Did you read the well-written howto on the Gentoo website?
>>>
>>> https://wik= i.gentoo.org/wiki/Refind[1]
>>>
>>>
>>>
>>> --------
>>> [1] https://wi= ki.gentoo.org/wiki/Refind
>>
>> Joost,
>>
>> no. Thanks for the hint, I had just a short look into at it.
>>
>> There is presupposed that one is at a uefi system already.
>>
>> I have to install refind to a disk mounted to my mbr-booted-system= ,
>> make all necessary adjustments there and then put it to the uefi-o= nly
>> machine and boot it there.
>>
>> So I cannot call efibootmanger to pin refind to nvram of the uefi-= system.
>
> Use a USB boot-stick with EFI image, like the gentoo one. See the rele= vant section in the
> Gentoo installguide:
>
> https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Media[1]
>
>
> --------
> [1]
https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Media=
>
Joost,

I installed refind to the esp partition of my disk according to what I
have understood so far from https://wiki.gentoo.org/wiki/Refind and the
meanwhile up again site https://www.rodsbooks.com/refind/installing.html

The disk is a nvme disk put into an nvme-to-usb adapter, so I can easily move it between my existing (mbr) machine and the new uefi-machine.

The efi partition looks like this now:

.
=84=80=80 EFI
     =86=80=80 BOOT
     =81   =86=80=80 BOOT.CSV
     =81   =86=80=80 bootx64.efi
     =81   =86=80=80 icons
     =81   =81
     =81   =86=80=80 refind.conf
     =81   =86=80=80 refind.conf-sample
     =81   =86=80=80 refind.log
     =81   =86=80=80 refind.log-old
     =81   =84=80=80 vars
     =81       =84=80=80 = PreviousBoot
     =86=80=80 myBackup
     =81   =86=80=80 System.map-6.1.9
     =81   =84=80=80 vmlinuz-6.1.9
     =86=80=80 mySystem
     =81   =86=80=80 System.map-6.1.9
     =81   =84=80=80 vmlinuz-6.1.9
     =86=80=80 refind
     =84=80=80 tools

I left out the numerous contents of icons.
refind is installed to teh default BOOT/bootx64.efi as I have no access to nvram up to now.

The disk looks like this:( gdisk /dev/sda)
Number  Start (sector)    End (sector)  Size =       Code  Name
    1         &= nbsp;  2048          4526= 07   220.0 MiB   EF00  PEFI
    2          = 452608       461826047   220.0 GiB&= nbsp;  8300  PSYS



My EFI/BOOT/refind.conf has this entry:

menuentry Linux {
     icon EFI/refind/icons/os_linux.png
     volume PSYS
     loader vmlinuz-6.1.9
     options "root=3DLABEL=3DPSYS ro rootfstype=3D= ext4 mds=3Dfull"
}

And /etc/fstab :(the essential parts only)

LABEL=3DPSYS  /         &= nbsp; ext4   defaults,noatime,nodiscard     1=        1
LABEL=3DPEFI  /boot/efi   vfat   umask=3D00755&nbs= p;            &= nbsp;      0       0=
efivarfs /sys/firmware/efi/efivars efivarfs nosuid,nodev,noexec,noatime
0 0

When I am trying to boot this (uefi-machine) I get

/dev/root can't open block device

or

please append correct root=3Dboot option.


The kernel is compiled with all necessary drivers built in not using
modules. I don't like initrd or intramfs.

I decided to use the partition label PSYS because I cannot see
(like in legacy bios) to which device my disk got connected.
So I relay on refind which can pass partition labels to the "root=3D&q= uot;
option of the kernel as I have read.

Do you or anyone reading this thread know what mistake I have made
in this configuration of refind.

--
Regards Klaus


--_000_LO0P265MB34012A82C8991757A0DBC2B0B9DE9LO0P265MB3401GBRP_--