From owner-freebsd-stable@FreeBSD.ORG Fri Jun 24 19:05:48 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31D1516A41C; Fri, 24 Jun 2005 19:05:48 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from orb.pobox.com (orb.pobox.com [207.8.226.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4F0643D4C; Fri, 24 Jun 2005 19:05:47 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from orb (localhost [127.0.0.1]) by orb.pobox.com (Postfix) with ESMTP id D598F3108; Fri, 24 Jun 2005 15:05:38 -0400 (EDT) Received: from billdog.local.linnet.org (dsl-212-74-113-66.access.uk.tiscali.com [212.74.113.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by orb.sasl.smtp.pobox.com (Postfix) with ESMTP id 6891F95; Fri, 24 Jun 2005 15:05:35 -0400 (EDT) Received: from brian by billdog.local.linnet.org with local (Exim 4.50 (FreeBSD)) id 1DltUw-0000Il-8S; Fri, 24 Jun 2005 20:05:54 +0100 Date: Fri, 24 Jun 2005 20:05:54 +0100 From: Brian Candler To: John Baldwin Message-ID: <20050624190554.GA1063@uk.tiscali.com> References: <200506241803.28436.B.Candler@pobox.com> <200506241350.38689.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200506241350.38689.jhb@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-ia32@freebsd.org, alfred@freebsd.org, freebsd-stable@freebsd.org Subject: Re: pxeboot, NFS and root-path: bug or documentation error? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2005 19:05:48 -0000 On Fri, Jun 24, 2005 at 01:50:37PM -0400, John Baldwin wrote: > It uses TFTP to fetch the pxeboot binary itself. After that, it uses either > NFS or TFTP. By default it uses NFS to access /boot/loader and friends. If > you want it to just use TFTP and not use NFS at all, you need to recompile > pxeboot with LOADER_TFTP_SUPPORT=yes defined in make. That is: > > % cd /sys/boot > % make clean > % make LOADER_TFTP_SUPPORT=yes > % cp /usr/obj/usr/src/sys/boot/i386/pxeldr/pxeboot /usr/tftpboot Thank you, that's very clear. Re-reading the manpage I do now see the phrase "selectable through compile-time options"; perhaps it would be worth also showing those options. Is there any fundamental reason why both couldn't be compiled in at once, e.g. limitations on the pxeboot binary size? Or is it just awkward to implement? I would have no objection to options root-path = "tftp://192.168.0.1/usr/tftpboot" I would also have no objection to "pxeboot.nfs" and "pxeboot.tftp" being built :-) I'll try building the tftp version when back in the office next week. Thanks again, Brian.