From owner-freebsd-current@FreeBSD.ORG Mon Oct 18 04:29:51 2004 Return-Path: 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 673B716A4CF for ; Mon, 18 Oct 2004 04:29:51 +0000 (GMT) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB9AF43D4C for ; Mon, 18 Oct 2004 04:29:50 +0000 (GMT) (envelope-from kientzle@freebsd.org) Received: from freebsd.org (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id i9I4To90045874; Sun, 17 Oct 2004 21:29:50 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <417346BB.3050609@freebsd.org> Date: Sun, 17 Oct 2004 21:29:47 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rob References: <20041013172834.81984.qmail@web54008.mail.yahoo.com> <4172E340.20206@freebsd.org> <41731071.2030405@yahoo.com> In-Reply-To: <41731071.2030405@yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current Subject: Re: I deleted /stand/, but I need it again for diskless boot... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2004 04:29:51 -0000 Rob wrote: > Tim Kientzle wrote: > >> I suggest patching /etc/rc.d/initdiskless instead: >> > > So I replaced only the line with /stand/ by following: > > (cd / ; /rescue/gzip -d < $j | /bin/pax -r ) > > and then my diskless boot stops working !?!?! Two things to check: 1) ldd /bin/pax should show you what shared libraries are required by /bin/pax. Make sure those are all available on the root partition. 2) From the ordinary command line, try cat [[one of /conf/$i/*.cpio.gz]] | /rescue/gzip -d | /bin/pax and check that /bin/pax is correctly recognizing the format of the archive. Of course, it's also worth trying the two changes here (/rescue/gzip for /stand/gzip and /bin/pax for /stand/cpio) separately, just to isolate the problem. Cheers, Tim