Skip site navigation (1)Skip section navigation (2)
Date:      22 Feb 2003 20:05:53 -0500
From:      Chris Shenton <chris@shenton.org>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: Diskless: 5.0R scripts, boot, NFS mount problems I didn't have in 4.7S
Message-ID:  <87smufiz66.fsf@Pectopah.shenton.org>
In-Reply-To: <200302191844.h1JIiUIh004070@apollo.backplane.com>
References:  <87el65pi4e.fsf@Pectopah.shenton.org> <200302191844.h1JIiUIh004070@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Dillon <dillon@apollo.backplane.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87smufiz66.fsf>