Last week I posted a question about problems building a kernel. I had
one working kernel and one broken kernel which said "Truncated file".
The only difference between the two was 9 bytes and that one was built
with GNU utilities in front of system utilities in my path.
The problem turned out to be that GNU's version of cp is too smart for
Suns boot loader. GNU cp takes large blocks of zeros and turns them
into holes in the destination file to save disk space. Unfortunately,
the SunOS kernel has large blocks of zeros but can't be booted if those
zeros are turned into holes in the file.
Thanks to everyone who responded, especially:
"Casper H.S. Dik" <casper@fwi.uva.nl> * *
Hans van Staveren <sater@cs.vu.nl> * *
who had the correct answer.
--Jim--
Other responders:
Kennedy Lemke <Kennedy_J_Lemke@princeton.edu>
"Manavendra K. Thakur" <thakur@zerkalo.harvard.edu>
shipley@remarque.berkeley.edu
Gene Saunders <Gene.Saunders@west.sun.com>
Martin_A_Leisner.wbst139@xerox.com
jcurran@sh.cs.net
klaus u schallhorn <cnix!klaus@relay.eu.net>
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:11 CDT