From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 3biXLGPfVF+hSgAA0tVLHw (envelope-from ) for ; Sun, 06 Sep 2020 13:08:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EBz3J2PfVF+ZRwAAB5/wlQ (envelope-from ) for ; Sun, 06 Sep 2020 13:08:51 +0000 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 38B2694051E for ; Sun, 6 Sep 2020 13:08:51 +0000 (UTC) Received: from localhost ([::1]:48640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEuPY-0002IU-EN for larch@yhetil.org; Sun, 06 Sep 2020 09:08:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEuOp-0001go-Di for guix-patches@gnu.org; Sun, 06 Sep 2020 09:08:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33487) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEuOo-0001C2-5q for guix-patches@gnu.org; Sun, 06 Sep 2020 09:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kEuOo-0002vU-08 for guix-patches@gnu.org; Sun, 06 Sep 2020 09:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41011] [PATCH] gnu: grub: Support for network boot via tftp/nfs. Resent-From: Stefan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Sep 2020 13:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41011 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41011@debbugs.gnu.org Cc: Mathieu Othacehe , Maxim Cournoyer , Danny Milosavljevic Received: via spool by 41011-submit@debbugs.gnu.org id=B41011.159939765311211 (code B ref 41011); Sun, 06 Sep 2020 13:08:01 +0000 Received: (at 41011) by debbugs.gnu.org; 6 Sep 2020 13:07:33 +0000 Received: from localhost ([127.0.0.1]:45033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEuOL-0002ul-4x for submit@debbugs.gnu.org; Sun, 06 Sep 2020 09:07:33 -0400 Received: from vsmx012.vodafonemail.xion.oxcs.net ([153.92.174.90]:21015) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEuOJ-0002uX-CK for 41011@debbugs.gnu.org; Sun, 06 Sep 2020 09:07:31 -0400 Received: from vsmx004.vodafonemail.xion.oxcs.net (unknown [192.168.75.198]) by mta-8-out.mta.xion.oxcs.net (Postfix) with ESMTP id 8AF5EF353E4; Sun, 6 Sep 2020 13:07:24 +0000 (UTC) Received: from macbook-pro.kuh-wiese.my-router.de (unknown [178.5.77.113]) by mta-8-out.mta.xion.oxcs.net (Postfix) with ESMTPA id 079A919AE7F; Sun, 6 Sep 2020 13:07:15 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: Stefan In-Reply-To: Date: Sun, 6 Sep 2020 15:07:14 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <2D3B6A0E-908C-4DA8-ABD5-2601233D13DF@vodafonemail.de> References: X-Mailer: Apple Mail (2.3124) X-VADE-STATUS: LEGIT X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 0.99 X-TUID: Tk0d/p/THqQP Hi! This debbugs thread got already very long. Therefore I would like to = focus on the grub changes in this ticket done with my last patch, see = This patch only introduces a new grub-net bootloader, which basically = installs grub via its grub-mknetdir command. There is no modification of other bootloaders. The restriction of the = =E2=80=9C/boot/grub/grub.cfg=E2=80=9D file remains. As usually the DHCP option 67 =E2=80=9CBootfile name=E2=80=9D is = involved to point the EFI of a machine to the file to boot via TFTP, I = chose to export (install-grub-net subdir) as well to be able to modify = that path, whose default is /boot/efi/Guix/boot[x64|aa64|=E2=80=A6].efi, = to something else, e.g. (bootloader (inherit grub-net-bootloader (installer (install-grub-net = "efi/machine-1")))) To be able to boot different machines with their own guix installation, = however, there is still the problem to provide to each an own grub.cfg = file via TFTP. This file =E2=80=93 as you know =E2=80=93 has still a = hard coded path of /boot/grub/grub.cfg. But this is a different issue = and should not be tackled with this patch. Bye Stefan=