Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2011 12:47:08 +0200
From:      crest <crest@informatik.uni-bremen.de>
To:        freebsd-arm@freebsd.org
Subject:   Re: how to configure freeBSD kernel to mount NFS as a root file system
Message-ID:  <3B2DAD3B-5405-43EC-959E-5324C5AEA62A@informatik.uni-bremen.de>
In-Reply-To: <1311818062256-4640945.post@n5.nabble.com>
References:  <1311818062256-4640945.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 28.07.2011, at 03:54, satish kondapalli wrote:

> Hi,
>=20
> How to configure freeBSD kernel to mount NFS as a root filesystem.=20
> 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.)
>=20
> 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=3D\"ufs:/dev/ufs/rootfs\").=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B2DAD3B-5405-43EC-959E-5324C5AEA62A>