From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OLkIG+YW6l6oYgAA0tVLHw (envelope-from ) for ; Wed, 17 Jun 2020 13:13:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OAeWFuYW6l4DYQAAbx9fmQ (envelope-from ) for ; Wed, 17 Jun 2020 13:13:10 +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 C248194001C for ; Wed, 17 Jun 2020 13:13:09 +0000 (UTC) Received: from localhost ([::1]:57618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlXsJ-000599-4R for larch@yhetil.org; Wed, 17 Jun 2020 09:13:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlXsE-00056b-QC for guix-patches@gnu.org; Wed, 17 Jun 2020 09:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39186) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jlXsE-0001BW-G9 for guix-patches@gnu.org; Wed, 17 Jun 2020 09:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jlXsE-0003U6-AH for guix-patches@gnu.org; Wed, 17 Jun 2020 09:13: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: Wed, 17 Jun 2020 13:13:02 +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: Maxim Cournoyer Cc: Danny Milosavljevic , 41011@debbugs.gnu.org Received: via spool by 41011-submit@debbugs.gnu.org id=B41011.159239954013345 (code B ref 41011); Wed, 17 Jun 2020 13:13:02 +0000 Received: (at 41011) by debbugs.gnu.org; 17 Jun 2020 13:12:20 +0000 Received: from localhost ([127.0.0.1]:50732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlXrY-0003TA-3R for submit@debbugs.gnu.org; Wed, 17 Jun 2020 09:12:20 -0400 Received: from vsmx009.vodafonemail.xion.oxcs.net ([153.92.174.87]:25932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jlXrV-0003Sv-Tz for 41011@debbugs.gnu.org; Wed, 17 Jun 2020 09:12:19 -0400 Received: from vsmx001.vodafonemail.xion.oxcs.net (unknown [192.168.75.191]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTP id 70C72159D2ED; Wed, 17 Jun 2020 13:12:11 +0000 (UTC) Received: from macbook-pro.kuh-wiese.my-router.de (unknown [2.201.117.60]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTPA id E7AFD159D415; Wed, 17 Jun 2020 13:12:04 +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: <87a715h3b9.fsf@gmail.com> Date: Wed, 17 Jun 2020 15:12:03 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <97853D17-5928-4EDB-918B-793D9DB3ED95@vodafonemail.de> References: <9AAFEFF4-8ACE-4C95-975F-67C3F4FDAF81@vodafonemail.de> <87a72gi4kz.fsf@gmail.com> <1179D890-7D6C-43D8-A286-DA7A0F61D585@vodafonemail.de> <87h7w7cc55.fsf@gnu.org> <92DB8E2B-1CA2-41AE-9265-53C4F5337686@vodafonemail.de> <20200606193721.1e126131@scratchpost.org> <46CD97B3-9994-4AB7-AA7D-4DE39AB7A238@vodafonemail.de> <20200609154400.4c7d2f90@scratchpost.org> <87bllqi66g.fsf@gmail.com> <87a715h3b9.fsf@gmail.com> 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.51 X-TUID: FC/keeWUtOHE Hi Maxim! > I see. Then we're talking about TFTP support in GRUB, and it doesn't > seem to depend on EFI at all (which is good!). Well, the data transfer in GRUB is using TFTP, but the actual network = driver, the facilities to start a kernel and so on, happens by GRUB via = the EFI-API in my case, which is provided by the U-Boot. It may be a runtime detection, if the EFI-API or the legacy BIOS = functions are used. I don=E2=80=99t know. In that case I should probably rename grub-efi-net to grub-net. > Yes. For having done it recently, enabling the NFS support in the = kernel > doesn't require much change, but then supporting a vast array of = network > cards directly in the kernel doesn't sound too appealing. IIUC, going > through an initrd allows dynamically loading kernel modules instead of > having them statically built in the kernel (so that a user could add a > network module of their choice to their OS declaration without having = to > rebuild the default kernel), which is why it's better to go that route > in Guix. >=20 > Am I understanding things correctly? Yes. And additionally as a beginner I simply don=E2=80=99t want to try = to remove the initrd, I can=E2=80=99t even imagine the effort to do so. = :-) Bye Stefan=