From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VlFaz-0000pc-0Z for mharc-grub-devel@gnu.org; Tue, 26 Nov 2013 05:10:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlFas-0000oP-8a for grub-devel@gnu.org; Tue, 26 Nov 2013 05:10:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlFam-0006he-Ok for grub-devel@gnu.org; Tue, 26 Nov 2013 05:10:10 -0500 Received: from mail-ea0-x22c.google.com ([2a00:1450:4013:c01::22c]:44806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlFam-0006fD-I4 for grub-devel@gnu.org; Tue, 26 Nov 2013 05:10:04 -0500 Received: by mail-ea0-f172.google.com with SMTP id q10so3326440ead.31 for ; Tue, 26 Nov 2013 02:10:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=dqPxdphJ0ONLFDNaUiStANFmm5nIdvtiRRcNETNExRk=; b=n0JrTCcZkhHGgt0TXaHxkZ+xHeLCt4aTvfYMzjGOD8gfc2UHTGuCVMErGLta+0xIYg ZsQWkobqhiKpb3g74B+X3YSu2bumqir8Vkffl9h3Kp/SRGEuNKTmQ5hyZquUKy4hjNlC jUVQTzSBNS4e0QNJJDE9wZcPNXr+kUVFvEXqkN/ZAT8T58zUEkkmb1w9KDW9ZMCZXADE zjo69BtWFVy7KwImog352pQ0dQR+aM1l9pDo2Rklvcd9gY5VUpsaCGIWK7jCvL/cQCvZ zEwyoU963tXi7MSCGqsG3TzYQfi3zTirgPwUOXfiDYvqImmVJ9zS4hrViutuk5x2TZ7q mBCQ== X-Received: by 10.14.184.66 with SMTP id r42mr1695845eem.86.1385460603825; Tue, 26 Nov 2013 02:10:03 -0800 (PST) Received: from [192.168.1.121] (31-249.1-85.cust.bluewin.ch. [85.1.249.31]) by mx.google.com with ESMTPSA id 1sm7470665eeg.4.2013.11.26.02.10.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Nov 2013 02:10:02 -0800 (PST) Message-ID: <52947379.1090703@gmail.com> Date: Tue, 26 Nov 2013 11:10:01 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: Configure grub for pxe boot and nfs-mounted root References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2RUTINLASGGOBTLQQQDHM" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::22c X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Nov 2013 10:10:15 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2RUTINLASGGOBTLQQQDHM Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 26.11.2013 11:01, Beeblebrox wrote: > Since I got grub's pxe set to go, I have started to try the ideas & sol= utions. > * Answer to my first question from previous post (I don't see a way > where tftp-server would be able to serve-up the grub menu if it were > in say /data/tftp path?): This seems not possible. TFTPD cannot chroot > (-s) unless the folder structure is inside the jail. Setting to > different NFS path gives "folder not found" error from tftpd. (posted > for informational purposes) This doesn't seem to be a GRUB problem at all. I use tftpd which serves from /var/tftpd > * grub-mknetdir creates 700 permission folder structure. It needs to > be changed to 755 in order for tftpd to serve "core.0" (744 is > insufficient). I'll think how to handle it sanely. Only mknetdir needs this change > * grub-mknetdir folder is /data/amd64//boot/grub. I created a grub.cfg > under there AND under i386-pc. The client shows "welcome to grub" > message, then falls to "file not found". Was I supposed to pass the > grub.cfg location when I ran grub-mknetdir? boot/grub ($prefix) is where grub.cfg goes. Judging from your first question, is it possible you serve from a different folder than you think you do? > * Which insmod need for NFS exported folders? There's no nfs*.mod? You're right there isn't any. Right now we have only tftp and http. Patches are welcome > * Since I have 3 separate NFS exports which grub will choose from on > the menu, is it possible to create a "device.map" file with something > like: > (hd0,0) 192.168.2.1:/data/amd64 > (hd0,1) 192.168.2.1:/data/i386 > (hd0,2) 192.168.2.1:/data/isos > That way, I could do and change set root=3D'hd0,1 or 2 or 3' for each > menu entry? Or is the device.map deprecated? >=20 No device.map is not for this at all. For once it's not used by runtime at all. > Thanks for the input >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 ------enig2RUTINLASGGOBTLQQQDHM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlKUc3kACgkQmBXlbbo5nOtDRAEAl8sfBzr4AYtcgXTyei8BGqFL aQzHX1mJt0Ga486nxrEA/jVhKn4bGMxgzLm/pqUUzNW+5gP4sCi/M+U9M4aZ3lgX =xY+m -----END PGP SIGNATURE----- ------enig2RUTINLASGGOBTLQQQDHM--