Subject: Re: Re: Diskless/PXE booting
To: None <port-i386@NetBSD.org>
From: Cesar Yanez Fernandez <cesaryanez@myrealbox.com>
List: port-i386
Date: 01/12/2004 19:25:12
It worked with the 1st option real fine...
now everything works here, thanks for your help
-----Original Message-----
From: Matthias Drochner <M.Drochner@fz-juelich.de>
To: Cesar Yanez Fernandez <cesaryanez@myrealbox.com>
Date: Mon, 12 Jan 2004 13:57:17 +0100
Subject: Re: Diskless/PXE booting=20
cesaryanez@myrealbox.com said:
> net_open: server path: /export/mutt/root
> net_open: file name: pxeboot_ia32.bin
> open netbsd: No such file or directory=20
It seems that the client tries to load a file "pxeboot_ia32.bin"
from the NFS root as kernel.
I see 3 ways to fix it:
1. (easy, but not very flexible) Put "netbsd" as filename
into "dhcpd.conf" and symlink "pxeboot_ia32.bin" to "netbsd"
on your TFTP server.
2. Tell the DHCP server to pass "pxeboot_ia32.bin" to the ROM
only, and "netbsd" to the second stage loader:
if substring (option vendor-class-identifier, 0, 9) =3D "PXEClient=
" {
filename "pxeboot_ia32.bin";
} else {
option root-path "/export/mutt/root";
filename "nfs:netbsd";
}
3. Use a "pxeboot_ia32.bin" from -current (which ignores filenames
not starting with either "nfs:" or "tftp:").
best regards
Matthias