Date: Thu, 8 Jul 2004 20:27:36 -0700 (PDT) From: Doug Ambrisko <ambrisko@ambrisko.com> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/alpha autoconf.c src/sys/amd64/amd64 autoconf.csrc/sys/confsrc/sys/ia64/ia64 autoconf.c ... Message-ID: <200407090327.i693Raqm087410@ambrisko.com> In-Reply-To: <3430.1089305845@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp writes: | In message <20040708175315.60f4577a@dev.lan.Awfulhak.org>, Brian Somers writes: | | >Thinking out loud, I now suspect that the only reason it was really necessary | >to have BOOTP_* configured into a kernel before this commit is if you don't | >have pxeboot(8) or loader(8). | > | >Is there anybody out there that uses the BOOTP* options that can confirm this ? | >Do I need to back out this commit ? | | This is mostly a leftover from the old network boot proms which would | generally bootp+tftp a file and nothing more. Such as Etherboot. I have noticed that in -stable for root to be set right with PXE I need to pass in vfs.root.mountfrom with the nfs root. I have a patche to stable that sets it in pxeboot. The caveat is that this would force people to have to do a vfs.root.mountfrom=ufs:/dev/md0a in loader.conf to make the install floppies work via PXE. Index: i386/libi386/pxe.c =================================================================== RCS file: /usr/local/cvsroot/freebsd/src/sys/boot/i386/libi386/pxe.c,v retrieving revision 1.3.2.10 diff -u -p -r1.3.2.10 pxe.c --- i386/libi386/pxe.c 29 Oct 2003 09:47:40 -0000 1.3.2.10 +++ i386/libi386/pxe.c 9 Jul 2004 03:15:21 -0000 @@ -309,6 +309,7 @@ pxe_open(struct open_file *f, ...) } setenv("boot.nfsroot.server", inet_ntoa(rootip), 1); setenv("boot.nfsroot.path", rootpath, 1); + setenv("vfs.root.mountfrom", "nfs", 1); } } pxe_opens++; Doug A.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407090327.i693Raqm087410>