From owner-freebsd-arm@FreeBSD.ORG Fri Jul 29 04:23:29 2011 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46F96106566B for ; Fri, 29 Jul 2011 04:23:29 +0000 (UTC) (envelope-from nitw.satish@gmail.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 21FD38FC19 for ; Fri, 29 Jul 2011 04:23:28 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Qmebg-00029a-Bn for freebsd-arm@freebsd.org; Thu, 28 Jul 2011 21:23:28 -0700 Date: Thu, 28 Jul 2011 21:23:28 -0700 (PDT) From: satish kondapalli To: freebsd-arm@freebsd.org Message-ID: <1311913408355-4645024.post@n5.nabble.com> In-Reply-To: <3B2DAD3B-5405-43EC-959E-5324C5AEA62A@informatik.uni-bremen.de> References: <1311818062256-4640945.post@n5.nabble.com> <3B2DAD3B-5405-43EC-959E-5324C5AEA62A@informatik.uni-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: how to configure freeBSD kernel to mount NFS as a root file system X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2011 04:23:29 -0000 Thanks Crest > 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\"). My questions is: 1) we are not telling the NFS server ip address in above two options. where we will configure the server ip of NFS server in config options. -- View this message in context: http://freebsd.1045724.n5.nabble.com/how-to-configure-freeBSD-kernel-to-mount-NFS-as-a-root-file-system-tp4640945p4645024.html Sent from the freebsd-arm mailing list archive at Nabble.com.