Date: Fri, 9 Jun 2000 13:15:51 +0100 From: Chris Webb <chris@arachsys.com> To: questions@freebsd.org Subject: Re: PXE Booting? Message-ID: <20000609131551.A39557@miranda.arachsys.com> In-Reply-To: <20000519150314.A77833@elvis.mu.org>; from paul@mu.org on Fri, May 19, 2000 at 03:03:14PM -0700 References: <20000519204505.FCYF22611.mail.rdc1.va.home.com@john.baldwin.cx> <20000519150314.A77833@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <chris@arachsys.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000609131551.A39557>