Matthew Dillon <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to