From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 11 20:06:43 2020 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\)) Subject: Re: [bug#41011] [PATCH] gnu: grub: Support for network boot via tftp/nfs. 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> To: Maxim Cournoyer X-Mailer: Apple Mail (2.3124) X-VADE-STATUS: LEGIT X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41011 Cc: Danny Milosavljevic , 41011@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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=