From owner-freebsd-questions@FreeBSD.ORG Thu Feb 7 22:08:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DE8416A419 for ; Thu, 7 Feb 2008 22:08:35 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from bifrost.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 2608E13C447 for ; Thu, 7 Feb 2008 22:08:35 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from sleipner.local (unknown [192.168.0.62]) by bifrost.locolomo.org (Postfix) with ESMTP id 512EA39822; Thu, 7 Feb 2008 22:53:06 +0100 (CET) Message-ID: <47AB7DBF.8030302@locolomo.org> Date: Thu, 07 Feb 2008 22:53:03 +0100 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Rek Jed References: <47AB4F00.1080307@gmail.com> In-Reply-To: <47AB4F00.1080307@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: pxeboot, TFTP only, NFS MOUNT RPC error: 60, timeout X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2008 22:08:35 -0000 Rek Jed wrote: > Hey, > > I've been building FreeBSD jumpstart infrastructure and it mostly > works. I'm using tftp to boot off the network in to scripted > sysinstall. I compiled the boot loader with tftp support but every time > I boot it will first try nfs, then timeout after around two minutes (it > cannot find nfs) and finally boot from tftp. Is there any way that I > can make it boot from tftp straight away rather than wait for nfs to > timeout? > > This is how I build the boot loader: > > cd /usr/src/sys/boot > sudo make clean > sudo make LOADER_TFTP_SUPPORT=YES > sudo cp i386/pxeldr/pxeboot /jumpstart/tftpd/boot/pxeboot.0 > sudo cp i386/boot0/boot0 /jumpstart/tftpd/boot/ > sudo cp i386/boot2/boot1 /jumpstart/tftpd/boot/ > sudo cp i386/boot2/boot2 /jumpstart/tftpd/boot/ > sudo cp i386/mbr/mbr /jumpstart/tftpd/boot/ Hi: I wrote the howto refered to in other reply, it's a while ago I played with this, but I have no reason to think that much has changed on the 6.x branch, I have just tried 7.x and build of the loader this way fails. As I understand the documentation, enabling TFTP disables NFS, they are exclusive. When building the loader make sure that your source tree is clean and /usr/obj is empty, or it won't work. I recall this puzzled me a long time until I found the trick. I don't think it is enough to do make clean. Second, I did # cd /usr/src/sys/boot # make -DLOADER_TFTP_SUPPORT=YES ok, as said, it's a while ago I played with this, they may have introduced support for the usual way of stating options. Cheers, Erik -- Erik Nørgaard Ph: +34.666334818 http://www.locolomo.org