Re: Network booting issues
On 24 Apr 2001, Nils Ackermann wrote:
> mknbi-linux: Could not find magic number in kernel image
I suppose to build your kernel on the client architecture. Simlpy use the
Debian kernel configuration and installation scripts.
After this, you can transform your ELF kernel image to the A.OUT format,
which is the only format a Sun can boot by net.
Conversion is done with "elftoaout" utility frm the sparcutils package,
which can be found here (and as well on any other Debian mirror):
Basically, you build a kernel like this:
- log in as a normal user (no root login required)
fakeroot /usr/sbin/make-kpkg --revision=xterminal.2.214 kernel_image
Then, you'll have a kernel-image-2.2.14_xterminal.2.214_sparc.deb package
which you can install simply by issuing
dpkg -i kernel-image-2.2.14_xterminal.2.214_sparc.deb
Now, you have to convert this gzipped (!) kernel image by issuing
mv vmlinuz-2.2.14 vmlinuz-2.2.14.gz
elftoaout -o vmlinuz-2.2.14.net vmlinuz-2.2.14
If you have any further questions, please ask, I'd be glad to help you.