Subject: Diskless/PXE booting
To: None <port-i386@netbsd.org>
From: Cesar Yanez Fernandez <cesaryanez@myrealbox.com>
List: port-i386
Date: 01/12/2004 05:26:14
I have been reading the Diskless NetBSD HOW-TO and the manpages, it seems t=
hat dhcp/tftp/nfs is working great, but, in the PXE booting phase it can'=
t find and load the kernel, check the output that I got:

>> NetBSD/i386 PXE Boot Revision 1.0
>> (autobuild@tgm.daemon.org, Tue Apr  8 11:36:20 UTC 2003)
>> Memory: 571/252864 k
Press return to boot now, any other key for boot menu
Starting at 0
PXE BIOS Version 2.1
Using PCI device at bus 0 device 19 function 0
pxe0: Ethernet address 00:20:ed:44:ba:51
net_open: client addr: 192.168.0.3
net_open: subnet mask: 255.255.255.0
net_open: server addr: 192.168.0.2
net_open: server path: /export/mutt/root
net_open: file name: pxeboot_ia32.bin
open netbsd: No such file or directory
boot: No such file or directory
Boot fail
----------
as what I see, it works dhcp, it works tftp, but it can't access to NFS exp=
ort directory, I proved in the same machine with a Linux Live-CD and it m=
ounts the NFS filesystem without problems, here are the config files:
----------
/etc/dhcpd.conf
deny unknown-clients;
ddns-update-style none;

allow bootp;

subnet 192.168.0.0 netmask 255.255.255.0 {
}

group {
        option broadcast-address 192.168.0.255;
        option domain-name "prodigy.net.mx";
        option domain-name-servers 200.33.146.209, 200.33.146.217;
        option subnet-mask 255.255.255.0;

        host mutt.prodigy.net.mx {
                hardware ethernet 00:20:ed:44:ba:51;
                fixed-address 192.168.0.3;
                option host-name "mutt";
                filename "pxeboot_ia32.bin";
                next-server 192.168.0.2;
                option root-path "/export/mutt/root";
        }
}
----------
/export/mutt/root -maproot=3Droot:wheel mutt
/export/mutt/swap -maproot=3Droot:wheel mutt
/export/mutt/usr -maproot=3Droot:wheel mutt
/export/mutt/home -maproot=3Droot:wheel mutt
# tried with -maproot=3Dnobody:nobody in */usr and */home but it doesn't pa=
rse it mountd
----------

any suggestion or comment would help...
thanks.