From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VlHGu-0005SQ-OT for mharc-grub-devel@gnu.org; Tue, 26 Nov 2013 06:57:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlHGo-0005R1-6w for grub-devel@gnu.org; Tue, 26 Nov 2013 06:57:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlHGi-0001Yf-Qc for grub-devel@gnu.org; Tue, 26 Nov 2013 06:57:34 -0500 Received: from mail-ea0-x230.google.com ([2a00:1450:4013:c01::230]:44317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlHGi-0001Wx-Iy for grub-devel@gnu.org; Tue, 26 Nov 2013 06:57:28 -0500 Received: by mail-ea0-f176.google.com with SMTP id h14so3458056eaj.21 for ; Tue, 26 Nov 2013 03:57:27 -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=rg/aXcPEYuCIIViANFcFJixqISKVmC9gu/77IFwDG3Q=; b=Srw5P5SrCa3rXx+IfTJIVJXaMVtlgWoQR9/7wmNZtXAavO7pbspqeqOqy6agOncQrr rtmmA5LiDGmKczw5GO5g6ckoRi7sc57/eEhgnczqaQerql1JIJQ8loaFcb3uSMvrB/Fj VFXHw32KDQSwCW5NEFvcFEA8cJdHaHGERCGtuhCeJOZvR9pNfxAFoFtrCw7U47QKr6dI ro4OgQltBOO1pbdir7MUf45774mGtO2a9POl+mN5lRzP2RASLhpAqN3pheuRLL8vJ/RU UtncDZp1jF+3uqjYVnPdHa4mK4HhqTBK3OLlk9wg9fKGhScXOSFgN6D5u6R0nYnxQmUm OtBQ== X-Received: by 10.14.4.67 with SMTP id 43mr2072448eei.70.1385467046914; Tue, 26 Nov 2013 03:57:26 -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 o1sm8300485eea.10.2013.11.26.03.57.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Nov 2013 03:57:26 -0800 (PST) Message-ID: <52948CA5.2070700@gmail.com> Date: Tue, 26 Nov 2013 12:57:25 +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="----enig2XXDDVWIELMAPKPGFFVCA" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::230 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 11:57:39 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2XXDDVWIELMAPKPGFFVCA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 26.11.2013 12:26, Beeblebrox wrote: >>> This doesn't seem to be a GRUB problem at all. I use tftpd which serv= es > from /var/tftpd > You are right, it is not a GRUB problem; it's a folder structure error > in the way I approached the problem. >=20 >>> boot/grub ($prefix) is where grub.cfg goes. Judging from your first >>> question, is it possible you serve from a different folder than you t= hink you do? > No, the dhcp-tftp chain is correct. Because /data/amd64 is a jail > (like a chroot) and the chroot is where dhcp and tftpd are running, I > thought maybe the correct sytax should be "grub-mknetdir > --net-directory=3D/ --subdir=3Dboot/grub", then copy the files to > boot/grub under the chroot folder. No difference, however and client > drops to "grub rescue". /var/log/xferlog shows: > in.tftpd[41762]: RRQ from 192.168.2.34 filename i386-pc/core.0 > in.tftpd[41762]: tftp: client does not accept options > in.tftpd[41763]: RRQ from 192.168.2.34 filename i386-pc/core.0 > in.tftpd[41764]: RRQ from 192.168.2.34 filename /boot/grub/i386-pc/norm= al.mod > in.tftpd[41764]: sending NAK (1, File not found) to 192.168.2.34 >=20 You misconfigured your server --net-directory is where root of tftp is. --subdir is subdirectory of it. Yet your server has root in /boot/grub and not subdirectory > grub rescue> set > cmdpath=3D(tftp,192.168.2.1)i386-pc > prefix=3D(tftp,192.168.2.1)/boot/grub > root=3Dtftp,192.168.2.1 > net_pxe_boot_file=3Di386-pc/core.0 >=20 > I changed the dhcp-tftpd configuration from prefix /boot/grub/i386-pc, > to test whether the problem lay in tftpd's inability to rad giles from > folders one level up (cd ..). Same result. >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 ------enig2XXDDVWIELMAPKPGFFVCA 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/ iF4EAREKAAYFAlKUjKUACgkQmBXlbbo5nOvcLgD/d2fLixko2dnsda54uVdwnpuv KYSVZbvgImnMkweB6pABAI4i3dXvKnCIRqUdRFyZrD5iBQMXCfbBe+mc29Joo1v/ =irOn -----END PGP SIGNATURE----- ------enig2XXDDVWIELMAPKPGFFVCA--