Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Feb 2012 21:16:54 +0100
From:      =?ISO-8859-1?Q?Erik_N=F8rgaard?= <norgaard@locolomo.org>
To:        Rick Miller <vmiller@hostileadmin.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pxeboot.bs and vlan tagging
Message-ID:  <4F303536.1090705@locolomo.org>
In-Reply-To: <CAHzLAVHbgP0mH5+tWhV=ou6zWrBNE_8YV9QjP=O-M4dztjY7xg@mail.gmail.com>
References:  <CAHzLAVEKavBHqz4atdqys6KDJXqGpinCcEPg7--Nqn9ZZCTH4Q@mail.gmail.com> <4F2FF7D3.2030707@locolomo.org> <CAHzLAVHxpWyvcb-ioaEXOLkentujUbT6Fd7eEois4SHQa-MVAQ@mail.gmail.com> <CAHzLAVGYbbhyeCQCf6_KE=P_EuSFni2zOZb76XwFwYYC8-MpPw@mail.gmail.com> <4F300391.2020002@locolomo.org> <CAHzLAVHbgP0mH5+tWhV=ou6zWrBNE_8YV9QjP=O-M4dztjY7xg@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4F303536.1090705>