cvs commit: src/sys/alpha/alpha autoconf.c src/sys/amd64/amd64
autoconf.csrc/sys/confsrc/sys/ia64/ia64 autoconf.c ...
Doug Ambrisko
ambrisko at ambrisko.com
Thu Jul 8 20:27:38 PDT 2004
Poul-Henning Kamp writes:
| In message <20040708175315.60f4577a at 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.
More information about the cvs-all
mailing list