RE: PXE Booting

From: Lawrence Farr <bsd-current_at_epcdirect.co.uk>
Date: Thu, 3 Jun 2004 14:57:02 +0100
> -----Original Message-----
> From: Bjoern A. Zeeb [mailto:bzeeb-lists_at_lists.zabbadoz.net] 
> Sent: 01 June 2004 12:59
> To: Lawrence Farr
> Cc: freebsd-current_at_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?
Received on Thu Jun 03 2004 - 04:56:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:55 UTC