From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WK6oFLle7mLhXAAAbAwnHQ (envelope-from ) for ; Sat, 06 Aug 2022 14:29:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KHS5E7le7mIxMwAAG6o9tA (envelope-from ) for ; Sat, 06 Aug 2022 14:29:45 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0297494AB for ; Sat, 6 Aug 2022 14:29:45 +0200 (CEST) Received: from localhost ([::1]:60544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKIaM-0003Vr-F3 for larch@yhetil.org; Sat, 06 Aug 2022 08:07:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJl1P-0007ow-Q2 for help-guix@gnu.org; Thu, 04 Aug 2022 20:17:00 -0400 Received: from msg-2.mailo.com ([213.182.54.12]:58246) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJl1N-0005LL-Bs for help-guix@gnu.org; Thu, 04 Aug 2022 20:16:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=lavache.com; s=mailo; t=1659658603; bh=+MCA5Q7d9xRzQWBxhdWQ4lz+uvpMiA7P0kt69tOADIM=; h=X-EA-Auth:Date:From:Subject:To:Cc:Message-Id:In-Reply-To: References:X-Mailer:MIME-Version:Content-Type: Content-Transfer-Encoding; b=f2/Q4UCSVi+q9FyVqigYXxYZTV4dm3RzK1tOxTYhKVNDzA/KLums4zUZibIG7IvYd 0j65t4ymRQOcvvEH18s6ezHCW1NycqlwmfuNoQ8DfSxkrVwNOX2gxZhxUSgzUXxDjO tvu6dKDEGaQEQY+az++krZK8NPw7tM8MPyJSSp1I= Received: by b-3.in.mailobj.net [192.168.90.13] with ESMTP via [213.182.55.206] Fri, 5 Aug 2022 02:16:43 +0200 (CEST) X-EA-Auth: hvyWRAA/65JsRljYdzfUpH+u/pBc1b+52agXQesZuxuu7u9Lm/Fgh4xmkFrOCB017bIJKoun/fGseSusuNtlv7UezM3CBRnm Date: Thu, 04 Aug 2022 21:16:31 -0300 From: yuu@lavache.com Subject: Re: EFISTUB using UEFI directly with efibootmgr To: Yuu Yin Cc: help-guix@gnu.org Message-Id: In-Reply-To: References: X-Mailer: geary/40.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=213.182.54.12; envelope-from=yuu@lavache.com; helo=msg-2.mailo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 06 Aug 2022 08:07:00 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659788985; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=5su6cHYFZVi1fm4jgbRz1HmWEX+3hLlz0xx6Gagzmk8=; b=LJNMTK0htvh/2NPRNzqR/1jLlTl9puCVeVmzHk3eFIoDgbWZedZxuzwFhI8NHM4XDoMWw1 7bCw71vKUdsu92jzxN0KvFA7TdecfwRCo2jfSyvdfpxUv3i7zfR6ZIha7/dlkkRFxVJD5g N/5rKb2qIbSpetjL4vKo1RuFWWvVMe4exHfVeeq7IVlJnIKC5t8lj3UcI2nTZaT1RmCpBI BlGDiraGdSQ861Ui4FkWRMmZC++CDiZOR0MJcHX4GM/gVX8tVhkYa0tHuHc6yoHtvmlW1e LpVwy4YB37xqcJ/WSCLZi0915K2JGIfGrqd3W13XFrYBfdjB2tfWAk57PEJzQA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659788985; a=rsa-sha256; cv=none; b=SKgql0OipR2YvUH3DyDoBQTTe7OT1zOUjtiWq7Q6ooCIhw1/Bc0II5FVka79muOh+TUKUw WoR5+CkqgeiJagTQhvl/PiAOVi9bCoSSWI8Q5kGUlAhVvL6jFZ3fd94pXqHG794zbx41tZ DeEywgrj9mEWGxgcH3Gs77YYMcdgJA8RsJ+KfxAsMqY5yqAhEYjtcsxDquZdMtNIDR7tan 9ipcIJx2rCVVY9NKWkYgq35mvb2PaNJVtJ8eAGph1N9jtf771TkPeOCsxq8rCT+27ovfMn WDgSdpM1aN9tmhZlwiNkmtxEtPOUXGy3Aff9fJ8VlKxqudTGQxOhuB94oLxHoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lavache.com header.s=mailo header.b="f2/Q4UCS"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lavache.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.51 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lavache.com header.s=mailo header.b="f2/Q4UCS"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lavache.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 0297494AB X-Spam-Score: 6.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: SvKUh7/el4o7 On Fri, Jul 29 2022 at 09:01:51 +00:00:00, Yuu Yin =20 wrote: > Is it possible to set EFISTUB using UEFI directly with efibootmgr[1]?=20 > What to set for `--loader` (the vmlinux/vmlinuz)? and `initrd=3D`? >=20 > ```sh > efibootmgr --help | grep loader > -l | --loader name (defaults to "\EFI\gnu\grub.efi") > ``` Ansers I got from #guix:libera.chat: > it's probably required, since guix remakes the=20 grub.cfg every reconfigure > to add a menu entry to rollback to the previous=20 generation > It's also 'cross-platform', and doesn't require copying the=20 kernel. > and guix reinstalls grub on every reconfigure > (By default.) > Oh, yeah, I forgot it was possible to switch the=20 bootloader in the operating-system. > Okay, then, I suppose it might be possible to add=20 support for efibootmgr? > sorry, efistub > If somebody contributes patches for UEFI rootki^Wboot support,=20 sure, but it's hardly a killer feature otherwise. > Don't forget to add EFI_STUB to our kernels if so. > ---https://logs.guix.gnu.org/guix/2022-07-29.log#103257 =E2=9C=A8=E2=9C=A8=E2=9C=A8=E2=9C=A8 Yuu Yin y=CE=BB