From owner-freebsd-current Sat Feb 22 17: 6: 1 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 883D537B401 for ; Sat, 22 Feb 2003 17:05:59 -0800 (PST) Received: from Shenton.org (23.ebbed1.client.atlantech.net [209.190.235.35]) by mx1.FreeBSD.org (Postfix) with SMTP id 1F43343FBF for ; Sat, 22 Feb 2003 17:05:56 -0800 (PST) (envelope-from chris@Shenton.Org) Received: (qmail 2647 invoked by uid 1000); 23 Feb 2003 01:05:53 -0000 To: Matthew Dillon Cc: current@FreeBSD.ORG Subject: Re: Diskless: 5.0R scripts, boot, NFS mount problems I didn't have in 4.7S References: <87el65pi4e.fsf@Pectopah.shenton.org> <200302191844.h1JIiUIh004070@apollo.backplane.com> From: Chris Shenton Date: 22 Feb 2003 20:05:53 -0500 In-Reply-To: <200302191844.h1JIiUIh004070@apollo.backplane.com> Message-ID: <87smufiz66.fsf@Pectopah.shenton.org> Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matthew Dillon writes: > # ls -lR /conf > drwxr-xr-x 5 root wheel 512 Dec 21 10:37 base > drwxr-xr-x 3 root wheel 512 Dec 19 21:56 default ... > /conf/base/etc: > -rw-r--r-- 1 root wheel 18 Dec 19 22:10 diskless_remount > -rw-r--r-- 1 root wheel 6 Dec 19 22:22 md_size ... > /conf/default/etc: > -rw-r--r-- 1 root wheel 184 Feb 18 18:16 fstab > -rw-r--r-- 1 root wheel 867 Dec 21 00:04 rc.conf > -rw-r--r-- 1 root wheel 197 Feb 18 18:19 rc.local I fiddled "standard-supfile" to get CURRENT (rather than RELENG_5_0) and am now able to boot with a config like you describe. Thanks! You appear to be doing as diskless(8) suggests: mount the server's "/" and therefore get its /etc and boot it's kernel (no need to populate a different directory with clone_root). But that kernel must have "option BOOTP" according to the manpage. If I recompile my server's kernel with this, the diskless client boots but if the server will no longer boot because it's hung sending out bootp requests which noone answers. Seems like diskless clients would have to have separate kernels with the "option BOOTP" while any servers must omit this option. How do you keep them separate? or am I missing something fundamental? Thanks. PS: could you show me your dhcpd.conf so I can see how you're specifying your root filesystem? Mine's currently: option root-path "192.168.255.185:/"; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message