From owner-freebsd-hackers Fri Sep 15 8:24: 5 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from web5101.mail.yahoo.com (web5101.mail.yahoo.com [216.115.106.71]) by hub.freebsd.org (Postfix) with SMTP id E2AD637B446 for ; Fri, 15 Sep 2000 08:23:57 -0700 (PDT) Message-ID: <20000915152357.17970.qmail@web5101.mail.yahoo.com> Received: from [203.101.88.10] by web5101.mail.yahoo.com; Sat, 16 Sep 2000 02:23:57 EST Date: Sat, 16 Sep 2000 02:23:57 +1100 (EST) From: =?iso-8859-1?q?Paul=20Jansen?= Subject: Diskless boot - almost there now I think To: hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am having problems with diskless booting. I'm using the frreebsd etherboot port. Here's my /usr/local/etc/dhcpd.conf file for the ISC v2 DHCP server: # dhcpd.conf # option definitions common to all supported networks... option domain-name "jansen.org"; option domain-name-servers 202.167.41.130; option subnet-mask 255.255.255.0; default-lease-time 600; max-lease-time 7200; subnet 192.168.0.0 netmask 255.255.255.0 { range dynamic-bootp 192.168.0.10 192.168.0.20; option routers 192.168.0.8; option broadcast-address 192.168.0.255; filename "/tftpboot/kernel.XWORKSTATION"; option root-path "192.168.0.1:/usr/diskless/rootfs/xworkstation"; option option-128 "192.168.0.1:/usr/diskless/swap"; option option-176 5; option option-160 "timeout=8:default=193:"; option option-192 "IJ2:::/tftpboot/kernel.ij2:"; option option-193 "XWORKSTATION:::/tftpboot/kernel.XWORKSTATION:"; } my /etc/exports file has this line in it: /usr -alldirs -maproot=0:0 edessa pico host10 host11 host12 host13 The last few messages that pop up on the diskless systems screen are: Mounting root from NFS: NFS ROOT: 192.168.0.1:/usr/diskless/rootfs/xworkstation NFS SWAP: 192.168.0.1:/usr/diskless/swap The system sits here like this. I have tried this on two different diskless boxes with the same result. I have left them for up to 20 minutes but nothing happens. I have to admit that I am fumbling my way through this due to lack of a good resource on diskless booting with freebsd. I'm not sure what's meant to happen next. I don;t know if my filesystem exported for the diskless machine is set up right either. Is freebsd diskless like netbsd in that if it doesn't find an /etc/rc.conf file it drops to single user mode? Can someone help me with what is meant to happen next and what I'm not doing right? I'm using 4.1R and a kernel for the diskless machine compiled with the following options: # Kernel BOOTP support options BOOTP # Use BOOTP to obtain IP address/hostname options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info options BOOTP_NFSV3 # Use NFS v3 to NFS mount root options BOOTP_COMPAT # Workaround for broken bootp daemons. Thanks. _____________________________________________________________________________ http://geocities.yahoo.com.au - Yahoo! Australia & NZ GeoCities - Build your own Web Site - for free! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message