From owner-freebsd-current Sat Feb 22 17:46:33 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE29E37B406 for ; Sat, 22 Feb 2003 17:46:27 -0800 (PST) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 195F943FDF for ; Sat, 22 Feb 2003 17:46:27 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.6/8.12.6) with ESMTP id h1N1kQ8h024561; Sat, 22 Feb 2003 17:46:26 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.6/8.12.6/Submit) id h1N1kQrZ024560; Sat, 22 Feb 2003 17:46:26 -0800 (PST) Date: Sat, 22 Feb 2003 17:46:26 -0800 (PST) From: Matthew Dillon Message-Id: <200302230146.h1N1kQrZ024560@apollo.backplane.com> To: Chris Shenton Cc: current@FreeBSD.ORG Subject: Re: Diskless: 5.0R scripts, boot, NFS mount problems I didn't have in 4.7S References: <87el65pi4e.fsf@Pectopah.shenton.org> <200302191844.h1JIiUIh004070@apollo.backplane.com> <87smufiz66.fsf@Pectopah.shenton.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :Seems like diskless clients would have to have separate kernels with :the "option BOOTP" while any servers must omit this option. : :How do you keep them separate? or am I missing something fundamental? : :Thanks. You can compile pxeboot with the LOADER_TFTP_SUPPORT=YES option. Add LOADER_TFTP_SUPPORT=YES to your /etc/make.conf and recompile /usr/src/sys/boot (make clean; make obj; make; make install from within /usr/src/sys/boot). If you do this pxeboot will attempt to load the kernel via TFTP instead of via NFS. You then put your kernel in /tftpboot right along side a copy of pxeboot. This allows you to netboot a different kernel then the one in the server's root directory. :PS: could you show me your dhcpd.conf so I can see how you're : specifying your root filesystem? Mine's currently: : option root-path "192.168.255.185:/"; subnet 216.240.41.0 netmask 255.255.255.192 { range ...; server-name "apollo.backplane.com"; option subnet-mask 255.255.255.192; option domain-name-servers 216.240.41.2; option domain-name "backplane.com"; option broadcast-address 216.240.41.63; option routers 216.240.41.15; group { filename "pxeboot"; option root-path "216.240.41.2:/"; host net1 { # Alternative server to boot -current # option root-path "216.240.41.12:/"; # next-server 216.240.41.12; hardware ethernet ...; } host net2 { hardware ethernet ...; } ... } } -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message