From owner-freebsd-net Mon Feb 5 16:15: 8 2001 Delivered-To: freebsd-net@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 4AA1D37B491 for ; Mon, 5 Feb 2001 16:14:48 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f160EdM33420; Mon, 5 Feb 2001 16:14:39 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200102060014.f160EdM33420@iguana.aciri.org> Subject: Re: diskless boot of a PXE-compatible machine : finally done ! In-Reply-To: from "Thierry.Herbelot@alcatel.fr" at "Feb 5, 2001 7: 0:24 pm" To: Thierry.Herbelot@alcatel.fr Date: Mon, 5 Feb 2001 16:14:39 -0800 (PST) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org in your rc.conf or rc.conf.local, you should set early_nfs_mounts="YES" 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 > > Hello, > > this a simili victory report : the PC now boots via PXE (this is a Motorola > rack-mount PC, with a no-thrills BX motherboard and an fxp NIC, with a > strictly 4.2-Release installation) > > the rc.diskless2 must be wrong (I've not yet checked with -Stable), > as it tries to chmod, chgrp and find in /var > before mounting /usr (this must be a chicken-and-egg question, as a forced > /usr mount in the beginning of rc.diskless2 gives an error message about > /var/db/mounttab not being there) > > in the limited tests I have done, I have not been able to start the machine > with a strict bootp setup : the PXE ROM says there are no answers if I > force the dhcpd as a BOOTP server (I want to control the correspondance > between the MAC and IP addresses) > > the PXE boot rom is a 2.0 release, compile number 68 (is there any more > stable or better version ?) > > TfH > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message