Date: Thu, 3 Jun 2004 14:57:02 +0100 From: "Lawrence Farr" <bsd-current@epcdirect.co.uk> To: "'Bjoern A. Zeeb'" <bzeeb-lists@lists.zabbadoz.net> Cc: freebsd-current@freebsd.org Subject: RE: PXE Booting Message-ID: <20040603135655.1131A42F0@gunfright.epcdirect.co.uk> In-Reply-To: <Pine.BSF.4.53.0406011156240.26723@e0-0.zab2.int.zabbadoz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> -----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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040603135655.1131A42F0>