From nobody@FreeBSD.org  Sun Jan 27 12:28:18 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4647616A419
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Jan 2008 12:28:18 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 342D813C468
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Jan 2008 12:28:18 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0RCQamv018323
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Jan 2008 12:26:36 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m0RCQaOq018322;
	Sun, 27 Jan 2008 12:26:36 GMT
	(envelope-from nobody)
Message-Id: <200801271226.m0RCQaOq018322@www.freebsd.org>
Date: Sun, 27 Jan 2008 12:26:36 GMT
From: Marius Nuennerich <marius.nuennerich@gmx.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: handbook: diskless operation: populate root doesn't populate
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         120040
>Category:       docs
>Synopsis:       handbook: diskless operation: populate root doesn't populate
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    trhodes
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 27 12:30:03 UTC 2008
>Closed-Date:    Tue Dec 23 12:47:14 UTC 2008
>Last-Modified:  Tue Dec 23 12:47:14 UTC 2008
>Originator:     Marius Nuennerich
>Release:        
>Organization:
>Environment:
>Description:
http://www.freebsd.org/doc/en/books/handbook/network-diskless.html
Chapter 29.7.2.7.1 as of cvs revision 1.404 states that one should
populate the new root with make buildworld && make buildkernel, but
afaik these targets do not populate DESTDIR.
>How-To-Repeat:

>Fix:
It should be changed back to make world && make kernel (rev. 1.380) or
make buildworld buildkernel installworld installkernel maybe works too.

>Release-Note:
>Audit-Trail:

From: Tom Rhodes <trhodes@FreeBSD.org>
To: Marius Nuennerich <marius.nuennerich@gmx.net>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: docs/120040: handbook: diskless operation: populate root
 doesn't populate
Date: Sun, 27 Jan 2008 07:58:55 -0500

 > It should be changed back to make world && make kernel (rev. 1.380) or
 > make buildworld buildkernel installworld installkernel maybe works too.
 
 On my system, a make world doesn't work (see Makefile) and
 I used DESTDIR to populate.  In fact, this is how I did the
 actual population and build in my PXE environment at work:
 
 /bin/sh
 export DESTDIR=/home/pxe/system
 mkdir $DESTDIR
 cd /usr/src
 echo "options BOOTP" >> sys/i386/conf/GENERIC
 echo "options BOOTP_NFSROOT" >> sys/i386/conf/GENERIC
 make buildworld
 make kernel
 make installworld
 make distribution
 cp sys/i386/conf/GENERIC.hints /home/pxe/system/boot/device.hints
 cp /usr/obj/usr/src/sys/boot/i386/pxeldr/pxeboot /tftpboot
 
 In fact, looking over my records, I could probably re-write
 that entire section based on my notes from around six
 months ago.  :)
 
 -- 
 Tom Rhodes

From: Marius Nuennerich <marius.nuennerich@gmx.de>
To: Tom Rhodes <trhodes@FreeBSD.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: docs/120040: handbook: diskless operation: populate root
 doesn't populate
Date: Wed, 27 Feb 2008 21:50:34 +0100

 > In fact, looking over my records, I could probably re-write
 > that entire section based on my notes from around six
 > months ago.  :)
 
 Looks good.
 
 One needs to specify next-server in dhcpd.conf as since version 3.0.3
 the isc dhcp daemon does not have a reasonable default for that anymore.
 
 My PVR with etherboot wouldn't work otherwise.
 
  - Marius
State-Changed-From-To: open->closed 
State-Changed-By: trhodes 
State-Changed-When: Tue Dec 23 12:46:15 UTC 2008 
State-Changed-Why:  
The next-server and "make distribution" parts have already 
been documented.  I have updated the port directory location 
though, thanks! 


Responsible-Changed-From-To: freebsd-doc->trhodes 
Responsible-Changed-By: trhodes 
Responsible-Changed-When: Tue Dec 23 12:46:15 UTC 2008 
Responsible-Changed-Why:  
Over to me. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120040 
>Unformatted:
