pxeboot.bs and vlan tagging

Erik Nørgaard norgaard at locolomo.org
Mon Feb 6 20:16:56 UTC 2012


On 06/02/2012 19:34, Rick Miller wrote:
> Thanks for your feedback, Erik!  I do have a question below...

> The kernel I am using is the kernel from the DVD ISO as it is
> downloaded from freebsd.org.  How do I determine what modules have
> been enabled and disabled in that kernel?  I am under the assumption
> that NFS is compiled into that kernel.  We can install 8.2-RELEASE
> with this kernel in VMs, but not bare metal.  Is there an explanation
> as to why an NFS enabled kernel would work inside a VM, but fail on
> bare metal?

The kernel distributed with the ISOs is the generic kernel, so if you 
have the source (it's also on the DVD) you'll find the GENERIC kernel 
configuration file in /usr/src/sys/YOUR_ARCH/conf/GENERIC and you can 
see what are the compile options.

You'll see these options:

options         MD_ROOT              # MD is a potential root device
options         NFSCL                # New Network Filesystem Client
options         NFSD                 # New Network Filesystem Server
options         NFSLOCKD             # Network Lock Manager
options         NFS_ROOT             # NFS usable as /, requires NFSCL

The first one is required, this allows your kernel to mount a memory 
disk device (your mfsroot), the others enable NFS. You need to rebuild 
the kernel with NFS disabled.

BR, Erik

-- 
M: +34 666 334 818
T: +34 915 211 157


More information about the freebsd-questions mailing list