Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Oct 2004 21:29:47 -0700
From:      Tim Kientzle <kientzle@freebsd.org>
To:        Rob <spamrefuse@yahoo.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: I deleted /stand/, but I need it again for diskless boot...
Message-ID:  <417346BB.3050609@freebsd.org>
In-Reply-To: <41731071.2030405@yahoo.com>
References:  <20041013172834.81984.qmail@web54008.mail.yahoo.com> <4172E340.20206@freebsd.org> <41731071.2030405@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?417346BB.3050609>