From owner-freebsd-questions Fri Jun 9 5:15:20 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cmailg7.svr.pol.co.uk (cmailg7.svr.pol.co.uk [195.92.195.177]) by hub.freebsd.org (Postfix) with ESMTP id A3D8637B544 for ; Fri, 9 Jun 2000 05:15:15 -0700 (PDT) (envelope-from chris@miranda.arachsys.com) Received: from modem-212.helium.dialup.pol.co.uk ([62.136.1.212] helo=vaio.localnet) by cmailg7.svr.pol.co.uk with esmtp (Exim 3.13 #0) id 130Ngv-00019e-00 for questions@freebsd.org; Fri, 09 Jun 2000 13:15:13 +0100 Received: from chris by vaio.localnet with local (Exim 3.13 #1) id 130NhX-000ALG-00 for questions@freebsd.org; Fri, 09 Jun 2000 13:15:51 +0100 Date: Fri, 9 Jun 2000 13:15:51 +0100 From: Chris Webb To: questions@freebsd.org Subject: Re: PXE Booting? Message-ID: <20000609131551.A39557@miranda.arachsys.com> References: <20000519204505.FCYF22611.mail.rdc1.va.home.com@john.baldwin.cx> <20000519150314.A77833@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000519150314.A77833@elvis.mu.org>; from paul@mu.org on Fri, May 19, 2000 at 03:03:14PM -0700 Organization: Arachsys Internet Services Ltd Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a diskless box I'm trying to boot by PXE. I've configured a dhcpd, and I've got the loader loading by tftp and then the kernel booting by NFS fine. I'm having a little trouble persuading the kernel to mount the root filesystem, though. My dhcpd.conf says: option domain-name "localnet"; option routers 192.168.64.1; option subnet-mask 255.255.255.0; option broadcast-address 192.168.64.255; option domain-name-servers 192.168.64.2; server-name "DHCPserver"; server-identifier 192.168.64.2; default-lease-time 120; max-lease-time 120; subnet 192.168.64.0 netmask 255.255.255.0 { range 192.168.64.10 192.168.64.30; } host diskless { hardware ethernet 0:90:27:f1:4c:9b; filename "/boot/pxeboot"; fixed-address 192.168.64.20; next-server 192.168.64.2; option root-path "/"; } (I know that mounting the root filesystem of another machine as the diskless box's root will produce a somewhat broken setup, but I really just want to see the thing get as far as the init scripts before I go away and set things up properly.) As the kernel boots, it says: bootpc_init: using network interface 'fxp0' fxp0: starting DAD for fe80:0001::0290:27ff:fef1:4c9b Bootpc testing starting bootpc hw address is 0:90:27:f1:4c:9b My ip address is 192.168.64.20 Server ip address is 192.168.64.2 Gateway ip address is 0.0.0.0 Server name is DHCPserver boot file is /boot/pxeboot Ignoring field type 54 Subnet mask is 255.255.255.0 Router is 192.168.64.1 Ignoring field type 15 panic: Failed to set rootfs to / What am I doing wrong here? Can I set some parameter in the loader that tells the kernel which server and filesystem to mount, so it doesn't have to do a bootp (when a dhcp has already happened earlier in the boot sequence)? Thanks for any help. Chris. -- Chris Webb Office: +44 1299 404075 Arachsys Internet Services Ltd Mobile: +44 7801 090045 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message