Subject: NetBSD 1.5 i386, can't build netboot / netboot doesn't work
To: NetBSD-help <netbsd-help@netbsd.org>
From: cpctc <cpctc@vt.edu>
List: netbsd-help
Date: 07/23/2001 09:49:32
I'm trying to netboot a machine without having to put the kernel onto a floppy. According to:
http://www.netbsd.org/Documentation/network/netboot/intro.i386.html
I can use the netbsd netboot to do this. The above page says to build netboot:
| To generate a suitable 'netboot.com' cd
| to /usr/src/sys/arch/i386/stand/netboot,
| edit the Makefile to define the options for
| your network adapter and
| run "make netboot.com".
...I assume that source tree came with the kernel sources, which in my case are the standard 1.5 kernel sources.
When I tried to make as described above, I got an error about not being able to find main.o.
If I instead do "make clean; make cleandir; make netboot.rom; make netboot.com", the "make netboot.rom" complains about the rom
being more than 32K, but the make netboot.com succeeds.
Is there a known problem with the Makefile for this netboot, or is the document wrong, or am I wrong?
Part 2:
The netboot.com that is generated does not detect any of my network cards; two different WD8013/WD8213C (SMC) variants aren't
detected, as well as a PCI ne2000 clone. Both say "EtherInit failed".
Can I get more verbose logging from netboot?
I know these cards work because they are detected by the kernel when booting with the regular INSTALL kernel and can be configured
with the installer utilities.
I don't have boot roms for these cards, I just want to boot from the floppy and have it use bootp to get the kernel, then boot from
that.
If anyone has done this and has tips, I'd appreciate any info.