NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Problem with netboot for installation (i386)



Hello,

I'm trying to install NetBSD 4.0 (i386) from a TFTP/NFS server
(running OpenBSD). I have read the docs from
http://www.netbsd.org/docs/network/netboot/ up to
http://www.netbsd.org/docs/network/netboot/nfs.html and then jumped to
http://www.netbsd.org/docs/network/netboot/local.install.html , as I
want to do a local install.

I'm trying to create a ramdisk kernel to put on the NFS server; the
nearest reference I found was
http://netbsd.org/docs/guide/en/chap-inst-media.html :

"First, you must create a valid kernel to put on your floppies, e.g.
INSTALL. This kernel must include the md pseudo device, which allows
embedding a ramdisk. See Chapter 31, Compiling the kernel for kernel
building instructions."

It seems GENERIC can be used as such.

"The next step is to create the ramdisk that gets embedded into the
kernel. The ramdisk contains a filesystem with whatever tools are
needed, usually init(8) and some tools like sysinst, ls(1), etc. To
create the standard ramdisk, run make in the
src/distrib/i386/ramdisks/ramdisk-big directory (for NetBSD 3.x:
src/distrib/i386/floppies/ramdisk-big).

This will create the ramdisk.fs file in the directory. If you want to
customize the contents of the filesystem, customize the list file."

Here comes the trouble: I got the
pub/NetBSD/NetBSD-release-4-0/src/distrib/i386 directory from FTP
mirror and put it on /usr/src . Then,

$ cd /usr/src/distrib/i386/ramdisks/ramdisk-big/
$ make
make: "/usr/src/distrib/i386/ramdisks/ramdisk-big/../common/Makefile.ramdisk"
line 4: Could not find /usr/src/distrib/common/Makefile.distrib
make: "/usr/src/distrib/i386/ramdisks/ramdisk-big/../common/Makefile.ramdisk"
line 45: Could not find /utils/libhack/Makefile.inc
make: "/usr/src/distrib/i386/ramdisks/ramdisk-big/../common/Makefile.ramdisk"
line 48: Could not find /common/Makefile.crunch
make: "/usr/src/distrib/i386/ramdisks/ramdisk-big/../common/Makefile.ramdisk"
line 49: Could not find /common/Makefile.makedev
make: "/usr/src/distrib/i386/ramdisks/ramdisk-big/../common/Makefile.ramdisk"
line 50: Could not find /common/Makefile.image
make: Fatal errors encountered -- cannot continue

make: stopped in /usr/src/distrib/i386/ramdisks/ramdisk-big

Any hints about how to 'make' it successfully?

Thank you,
Ari Constancio


Home | Main Index | Thread Index | Old Index