Date: Fri, 9 Jun 2000 12:27:09 -0700 From: Paul Saab <paul@mu.org> To: John Baldwin <jhb@FreeBSD.org> Cc: ps@FreeBSD.org, chris@arachsys.com, questions@freebsd.org Subject: Re: FW: Re: PXE Booting? Message-ID: <20000609122709.A20961@elvis.mu.org> In-Reply-To: <200006091805.OAA01520@server.baldwin.CX>; from jhb@FreeBSD.org on Fri, Jun 09, 2000 at 02:05:39PM -0400 References: <200006091805.OAA01520@server.baldwin.CX>
next in thread | previous in thread | raw e-mail | index | archive | help
What version of FreeBSD are you using? Only current right now will
support diskless booting via PXE. I'll MFC the support.
John Baldwin (jhb@FreeBSD.org) wrote:
>
> -----FW: <20000609131551.A39557@miranda.arachsys.com>-----
>
> Date: Fri, 9 Jun 2000 13:15:51 +0100
> Sender: owner-freebsd-questions@FreeBSD.ORG
> From: Chris Webb <chris@arachsys.com>
> To: questions@FreeBSD.ORG
> Subject: Re: PXE Booting?
>
> 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
>
> --------------End of forwarded message-------------------------
>
> --
>
> John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
> PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
> "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
--
Paul Saab
Technical Yahoo
paul@mu.org - ps@yahoo-inc.com - ps@freebsd.org
Do You .. uhh .. Yahoo!?
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?20000609122709.A20961>
