From owner-freebsd-arm@FreeBSD.ORG Thu Jul 28 12:18:59 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 E40881065673 for ; Thu, 28 Jul 2011 12:18:59 +0000 (UTC) (envelope-from crest@informatik.uni-bremen.de) Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [134.102.201.18]) by mx1.freebsd.org (Postfix) with ESMTP id 74D1C8FC16 for ; Thu, 28 Jul 2011 12:18:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id p6SAl83M026310 for ; Thu, 28 Jul 2011 12:47:08 +0200 (CEST) Received: from mb-wlan.dhcp.crest.dn42 (dslb-092-077-000-141.pools.arcor-ip.net [92.77.0.141]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id C11A02B for ; Thu, 28 Jul 2011 12:47:08 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) From: crest In-Reply-To: <1311818062256-4640945.post@n5.nabble.com> Date: Thu, 28 Jul 2011 12:47:08 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <3B2DAD3B-5405-43EC-959E-5324C5AEA62A@informatik.uni-bremen.de> References: <1311818062256-4640945.post@n5.nabble.com> To: freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.1084) 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: Thu, 28 Jul 2011 12:19:00 -0000 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\").=