I deleted /stand/, but I need it again for diskless boot...
Tim Kientzle
kientzle at freebsd.org
Sun Oct 17 21:29:51 PDT 2004
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
More information about the freebsd-current
mailing list