Date: Fri, 19 May 2000 15:03:14 -0700 From: Paul Saab <paul@mu.org> To: John Baldwin <jhb@FreeBSD.org> Cc: mat@cs.mcgill.ca, questions@freebsd.org Subject: Re: PXE Booting? Message-ID: <20000519150314.A77833@elvis.mu.org> In-Reply-To: <20000519204505.FCYF22611.mail.rdc1.va.home.com@john.baldwin.cx>; from jhb@FreeBSD.org on Fri, May 19, 2000 at 04:45:57PM -0400 References: <20000519204505.FCYF22611.mail.rdc1.va.home.com@john.baldwin.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
in /sys/boot/i386/loader, edit the Makefile look for these lines: # Enable PXE TFTP or NFS support, not both. CFLAGS+= -DLOADER_NFS_SUPPORT #CFLAGS+= -DLOADER_TFTP_SUPPORT Comment out the first line and uncomment the second. Then cd /sys/boot make clean make depend make all Your pxeboot will use tftp instead of NFS. Beware that when using tftp, you should use the -R flag with inetd and set it pretty high. John Baldwin (jhb@FreeBSD.org) wrote: > > On 19-May-00 Mathew Kanner wrote: > > On May 18, John Baldwin wrote: > >> > >> On 18-May-00 Mathew Kanner wrote: > >> > [... snip ...] > >> > Is there an easier way? Has anyone done this before? > >> > >> It is done and committed to both RELENG_4 and -current. If you > >> install a machine with a recent 4.x snap from releng4.FreeBSD.org > >> you can read the pxeboot(8) manpage for more info on setting it up. > >> This will also be in release 4.1 scheduled to be released in a couple > >> of months. > > > > > > Thanks, I got it and compiled it (from releng_4) and I can't > > seem to get it to work. The manual mentions that I can select (at > > compile time) NFS vs TFTP, but I couldn't find where I can define > > this. Should I try to get a newer PXE image for the card? > > The choice is made at compile time via some Make variables in > sys/boot/i386/loader, IIRC. The real person you need to talk to is > Paul Saab <ps@FreeBSD.org>. He should be able to help you with the > problem you are having. > > > Thanks, > > --Mat > > > > > > [...boot info typed from screen, probably contains errors...] > > Intel UNDI, PXE-2.0 (build 067) > > Copyright (C) 1997,1998 Intel Corp > > > > DHCP MAC ADDR: XX XX XX XX XX > > CLIENT UP: XXX.XXX.XXX.XXX MASK: 255.255.255.0 DHCP IP: XXX.XXX.XXX.XXX > > GATEWAY UP: XXX.XXX.XXX.XXX > > PXE Loader 1.00 > > > > Building the boot loader arguments > > Relocating the loader and the BTX > > Starting the BTX loader > > > > BTX loader 1.0 BTX version is 1.01 > > > > PXE version 2.1 real mode entry point @9df3:0106 > > BIOS 640kb/139936kB avail... > > > > FreeBSD/i386 bootstrap loader, Revision 0.7 > > (mat@...., Thu May 18 ... 2000) > > pxe_open: server addr: xxx.xxx.xxx.xxx > > pxe_open: server path: /pxeroot > > pxe_open: gateway ip: xxx.xxx.xxx.xxx > > \ > > Hit [Enter] to boot immedialtly > > [counts down] > > can't load 'kernel' > > > > ok ls > > open '/' failed: unkown error (13) > > ok lsdev > > [...] > > pxe @ 0xd830 > > xxxxxxx@:/boot/pxeboot > > > > > > [...end of boot info...] > > > > > > -- > > 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?20000519150314.A77833>