From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1WtAzh-0004of-JF for mharc-grub-devel@gnu.org; Sat, 07 Jun 2014 03:24:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtAza-0004nv-E0 for grub-devel@gnu.org; Sat, 07 Jun 2014 03:24:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtAzU-0003JR-Fd for grub-devel@gnu.org; Sat, 07 Jun 2014 03:24:42 -0400 Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]:40552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtAzU-0003Io-7L for grub-devel@gnu.org; Sat, 07 Jun 2014 03:24:36 -0400 Received: by mail-la0-f42.google.com with SMTP id el20so2072203lab.29 for ; Sat, 07 Jun 2014 00:24:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=vYZH3WRaulW+jot1/7r8z7I+/OfCwLNZF5NLkfYaGe4=; b=v6/v3DyOaxOnZSjCIeoE8FrXX5tHPuOBpE8oglws9ZkKDgY3mm80t+uyDkFGyDHZXs XeuWH8hwCbMAXki41NsClu031dvLzj/bsXTIKHP91GWKnhyDWk5h8CVeNjjAUxsOwZhp wc4vb3DjIZ3Rt/vVWrsxo8+7OnkmR1jkEqcHQ2k7xS76b5t3C9te19mRoamMU5SE7RdC ZiLny522MCM7X+4O0czC4xIg0KQ3NXoJdQcWnNHQZFaQmRDynajXvsf9aFtk5VF+bGPi Wtcuq5punBzyXNWIojJ+QRiqn8HUxKeSnAkMfelLojp529iCkRah9hD64b8GNo7SELNm ZyjA== X-Received: by 10.152.28.99 with SMTP id a3mr7648586lah.22.1402125875182; Sat, 07 Jun 2014 00:24:35 -0700 (PDT) Received: from opensuse.site (ppp37-190-15-130.pppoe.spdop.ru. [37.190.15.130]) by mx.google.com with ESMTPSA id vq4sm11215936lbb.14.2014.06.07.00.24.34 for (version=SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 07 Jun 2014 00:24:34 -0700 (PDT) Date: Sat, 7 Jun 2014 11:24:32 +0400 From: Andrey Borzenkov To: zaphod@berentweb.com Subject: Re: PXE boot over NFS please Message-ID: <20140607112432.4b230759@opensuse.site> In-Reply-To: References: <20140602091519.11933ca5@opensuse.site> <20140602195031.5cdd6497@opensuse.site> <20140607085931.6e540749@opensuse.site> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.22; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22a Cc: The development of GNU GRUB 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: Sat, 07 Jun 2014 07:24:48 -0000 В Sat, 7 Jun 2014 09:15:51 +0300 Beeblebrox пишет: > > > > Did you try pxechainloader instead? It should leave working PXE > > environment. > > > > Ah, very interesting. I have that file in the grub folder, but how / where > is it invoked from? dhcp.conf has: > {next-server 192.168.2.1; > filename "grub/i386-pc/core.0";} > You are NOT suggesting modification to this I presume? > > Therefore I should place it in grub.cfg? The below example did not work > either unfortunately. It gets to the BTX loader but no PXE devices are > available (same as before) > menuentry 'FreeBSD amd64' --class freebsd --class bsd --class os { > insmod pxe It should already be present in a grub core image built for PXE. > insmod pxechainloader This by itself does nothing; pxechainloader is a command. This is mostly the same as using chainloader but keeping PXE stack alive. > kfreebsd loader > kfreebsd_loadenv device.hints } > What I mean, use "pxechainloader /your/freebsd/PXE-aware/bootloader". Probably "pxechainloader ${path_to}/boot/pxeboot". I do not know how *BSD bootloaders work, sorry.