how to configure freeBSD kernel to mount NFS as a root file
system
crest
crest at informatik.uni-bremen.de
Thu Jul 28 12:19:00 UTC 2011
On 28.07.2011, at 03:54, satish kondapalli wrote:
> Hi,
>
> How to configure freeBSD kernel to mount NFS as a root filesystem.
> In case of Linux we will set the bootargs ( In kernel command line args, we
> will give the server ip and path of file system.)
>
> 1) In Free BSD, make installworld will install all the utils in DESTDIR,
> that DESTDIR we can use as the file system. am i correct?
Yes export $DESTDIR via NFSv3
> 2) If my first point is correct then how to configure my kernel DESTDIR as
> a root filesytem. where to give the path of DESTDIR and DESTDIR machine IP
> in the kernel.
Your kernel needs to support (options NFS_ROOT). If you can't run /boot/loader than define the rootfs in the kernel config (options ROOTDEVNAME=\"ufs:/dev/ufs/rootfs\").
More information about the freebsd-arm
mailing list