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" <email@example.com> * *
Hans van Staveren <firstname.lastname@example.org> * *
who had the correct answer.
Kennedy Lemke <Kennedy_J_Lemke@princeton.edu>
"Manavendra K. Thakur" <email@example.com>
Gene Saunders <Gene.Saunders@west.sun.com>
klaus u schallhorn <firstname.lastname@example.org>
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:11 CDT