From owner-freebsd-current@FreeBSD.ORG Thu Jun 3 06:56:58 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 979AF16A4CE for ; Thu, 3 Jun 2004 06:56:58 -0700 (PDT) Received: from gunfright.epcdirect.co.uk (gunfright.epcdirect.co.uk [195.10.242.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB3D343D1D for ; Thu, 3 Jun 2004 06:56:57 -0700 (PDT) (envelope-from bsd-current@epcdirect.co.uk) Received: from localhost (localhost.epcdirect.co.uk [127.0.0.1]) by gunfright.epcdirect.co.uk (Postfix) with ESMTP id 9104342F7; Thu, 3 Jun 2004 14:56:56 +0100 (BST) Received: from gunfright.epcdirect.co.uk ([127.0.0.1])port 10024) with ESMTP id 88062-05; Thu, 3 Jun 2004 14:56:55 +0100 (BST) Received: from lfarr (l-farr.int.epcdirect.co.uk [192.168.6.200]) by gunfright.epcdirect.co.uk (Postfix) with ESMTP id 1131A42F0; Thu, 3 Jun 2004 14:56:55 +0100 (BST) From: "Lawrence Farr" To: "'Bjoern A. Zeeb'" Date: Thu, 3 Jun 2004 14:57:02 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Thread-Index: AcRHz+/JHZPKWBp+QUy83+rugTD/dABmPK5Q Message-Id: <20040603135655.1131A42F0@gunfright.epcdirect.co.uk> X-Virus-Scanned: by GunFright.EPCDirect.co.uk cc: freebsd-current@freebsd.org Subject: RE: PXE Booting X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 13:56:58 -0000 > -----Original Message----- > From: Bjoern A. Zeeb [mailto:bzeeb-lists@lists.zabbadoz.net] > Sent: 01 June 2004 12:59 > To: Lawrence Farr > Cc: freebsd-current@freebsd.org > Subject: Re: PXE Booting > > On Tue, 1 Jun 2004, Lawrence Farr wrote: > > > I've been doing a "make release" every night and using it to > > PXE boot from with 4.x for a good few years with no issues. > > > > Now that I'm doing the same with 5.x, I'm struggling a bit > > as to how to set it up. I can pick up the PXE image without > > a problem, and if I set the root-path to a folder containing > > the contents of a 5.2.1-RELEASE CD I can boot off it without > > a problem, but booting from a folder containing the contents > > of cd1 created by "make release" complains of not being able > > to find init. Anyone else doing this who can point me in the > > right direction? > > multiple solutions are possible I think: > > 1) add > LOADER_TFTP_SUPPORT= YES > to your make.conf (that make.conf must be copied into the > chroot for your make release) > > 2) your kernel currently tries to load / from NFS root. > when booting and seeing beasti escape to boot shell and > say > set vfs.root.mountfrom="ufs:/dev/md0c" > > > both should when properly load mfrsroot.gz from boot/ of the > cd1 and start sysinstall. > > HTH > > -- > Bjoern A. Zeeb bzeeb at > Zabbadoz dot NeT > OK, setting vfs.root.mountfrom="ufs:/dev/md0c" makes it all work. *but* If I use the kernel folder from 5.2.1-RELEASE, and: mfsroot_load="YES" mfsroot_type="mfs_root" mfsroot_name="/boot/mfsroot" In loader.conf, I don't have to set vfs.root.mountfrom, but the GENERIC kernel built by my make release tries to mount from NFS unless I set it. What's different about the CD kernel and a "make release" kernel? Is there any way of setting vfs.root.mountfrom in loader.conf?