Re: I deleted /stand/, but I need it again for diskless boot...

From: Tim Kientzle <kientzle_at_freebsd.org>
Date: Sun, 17 Oct 2004 21:29:47 -0700
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
Received on Mon Oct 18 2004 - 02:29:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:18 UTC