From owner-freebsd-net Mon Feb 5 22:25:38 2001 Delivered-To: freebsd-net@freebsd.org Received: from herbelot.dyndns.org (s014.dhcp212-24.cybercable.fr [212.198.24.14]) by hub.freebsd.org (Postfix) with ESMTP id 4BB8437B4EC for ; Mon, 5 Feb 2001 22:25:18 -0800 (PST) Received: from free.fr (multi.herbelot.nom [192.168.1.2]) by herbelot.dyndns.org (8.9.3/8.9.3) with ESMTP id HAA95657; Tue, 6 Feb 2001 07:25:13 +0100 (CET) (envelope-from thierry.herbelot@free.fr) Message-ID: <3A7F98C9.8EF274A9@free.fr> Date: Tue, 06 Feb 2001 07:25:13 +0100 From: Thierry Herbelot X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Luigi Rizzo Cc: Thierry.Herbelot@alcatel.fr, freebsd-net@FreeBSD.ORG Subject: Re: diskless boot of a PXE-compatible machine : finally done ! References: <200102060014.f160EdM33420@iguana.aciri.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Luigi Rizzo wrote: > > in your rc.conf or rc.conf.local, you should set > > early_nfs_mounts="YES" Well : (I don't find this knob in a recent -Stable machine - it is indeed in the examples) multi# cd /etc multi# grep early rc* rc:# BOOTP diskless boot. We have to run the rc file early in order to rc:# Set sysctl variables as early as we can rc.network: # Establish ipfilter ruleset as early as possible (best in rc.network6: # Choose IPv6 default interface if it is not clearly specified. multi# uname -a FreeBSD multi.XXX.YYY 4.2-STABLE FreeBSD 4.2-STABLE #0: Mon Jan 1 14:05:12 CET 2001 root@multi.XXX.YYY:/files3/recup4/obj/files3/recup4/src/sys/multi i386 multi# this exists on a 3.5-Stable machine : (in /etc/rc) if [ "X$early_nfs_mounts" != "XYES" ]; then mount -a -t nonfs else mount -a fi early_nfs_mounts was removed with revision 1.209 of rc () TfH > > so that /usr and friends are mounted before rc.diskless2 > is invoked. This has worked for me at least in 3.1-something > (the scripts in the CVS repository derive from the setup > i have prepared on that version). > > not sure about the /var/db/mounttab problem because i do not > see this file on my 4.x system, and > > strings `which mount` | grep mount > > does not reveal any reference to that file... maybe it > is a -CURRENT thing ? > > cheers > luigi > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message