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 oODBHLfH4l74cQAA0tVLHw (envelope-from ) for ; Fri, 12 Jun 2020 00:09:27 +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 CFaTGLfH4l4RcgAAB5/wlQ (envelope-from ) for ; Fri, 12 Jun 2020 00:09:27 +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 F128E9403E9 for ; Fri, 12 Jun 2020 00:09:26 +0000 (UTC) Received: from localhost ([::1]:50966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjXG8-0008UX-Fc for larch@yhetil.org; Thu, 11 Jun 2020 20:09:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjXDq-0003Kf-I6 for guix-patches@gnu.org; Thu, 11 Jun 2020 20:07:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55104) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjXDp-0006jY-Qg for guix-patches@gnu.org; Thu, 11 Jun 2020 20:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jjXDp-0006W2-LZ for guix-patches@gnu.org; Thu, 11 Jun 2020 20:07:01 -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: Fri, 12 Jun 2020 00:07: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: Maxim Cournoyer Cc: Danny Milosavljevic , 41011@debbugs.gnu.org Received: via spool by 41011-submit@debbugs.gnu.org id=B41011.159192040325019 (code B ref 41011); Fri, 12 Jun 2020 00:07:01 +0000 Received: (at 41011) by debbugs.gnu.org; 12 Jun 2020 00:06:43 +0000 Received: from localhost ([127.0.0.1]:38417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjXDW-0006VP-P7 for submit@debbugs.gnu.org; Thu, 11 Jun 2020 20:06:43 -0400 Received: from mx009.vodafonemail.xion.oxcs.net ([153.92.174.39]:25787) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjXDV-0006VB-A0 for 41011@debbugs.gnu.org; Thu, 11 Jun 2020 20:06:41 -0400 Received: from vsmx002.vodafonemail.xion.oxcs.net (unknown [192.168.75.192]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTP id 164B6605119; Fri, 12 Jun 2020 00:06:35 +0000 (UTC) Received: from macbook-pro.kuh-wiese.my-router.de (unknown [145.254.41.74]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTPA id A4740605118; Fri, 12 Jun 2020 00:06:28 +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: <87bllqi66g.fsf@gmail.com> Date: Fri, 12 Jun 2020 02:06:27 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: 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> X-Mailer: Apple Mail (2.3124) X-VADE-STATUS: LEGIT X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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: V8cv98HUDEy1 Hi Maxim! > Does it cause a problem for the NFS boot via 'grub efi net' (I know > nothing about it -- any link for a recommended reading?) No, that=E2=80=99s no problem. Regarding =E2=80=98grub efi net=E2=80=99: Just take a look at the GRUB = manual. Actually GRUB is not dealing with NFS at all, it is using TFTP = to load files. Only Linux uses NFS to mount its root file system.=20 > When booting > from NFS using the nfsroot Linux option, it's possible to specify a > '/dev/nfs' as the root kernel parameter. /dev/nfs is not a real block > device, it's just a stub hinting the kernel that its root file system = is > on NFS. Perhaps that can be used? These =E2=80=9Croot=3D/dev/nfs rootfstype=3Dnfs nfsroot=3D=E2=80=A6 = ip=3D=E2=80=A6=E2=80=9D kernel arguments only make sense if an initrd = can be omitted. Either the initrd or such a root-nfs becomes the root = file system at startup. As the guix system is currently relying on an = initrd, this is not an option. Further you would need to ensure that certain CONFIG_NFS=E2=80=A6, = CONFIG_IP=E2=80=A6 and even more options for your network interface are = set to =E2=80=98=3Dy=E2=80=99 to ensure that Linux can make use of an = nfs-root. Bye Stefan=