From owner-freebsd-arm@FreeBSD.ORG Fri Jul 29 07:25:19 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 A875F1065674 for ; Fri, 29 Jul 2011 07:25:19 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 620A18FC1C for ; Fri, 29 Jul 2011 07:25:19 +0000 (UTC) Received: by yxl31 with SMTP id 31so2631666yxl.13 for ; Fri, 29 Jul 2011 00:25:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=3KuaagGQfoBVA3QToA16Wk8bYkSNfwYDlpoLsQNVk4U=; b=Xkznj6SycX7vELxr+G1XZ+UisNZExB9s3pggHyktsI9CI6iScDTTb1VKSas2kh0tU9 sJOJt+Wqc83zXhpa8CDbmzFFv6V4qPkNKigVrnEN/FFHA/nFgkTTyjHKU5KFm6itt03n fP3SH4QDCiosmjz7CUpxU32eLramt+cEk/wxs= MIME-Version: 1.0 Received: by 10.150.74.21 with SMTP id w21mr6748yba.396.1311922836193; Fri, 29 Jul 2011 00:00:36 -0700 (PDT) Received: by 10.151.46.18 with HTTP; Fri, 29 Jul 2011 00:00:36 -0700 (PDT) In-Reply-To: <1311913408355-4645024.post@n5.nabble.com> References: <1311818062256-4640945.post@n5.nabble.com> <3B2DAD3B-5405-43EC-959E-5324C5AEA62A@informatik.uni-bremen.de> <1311913408355-4645024.post@n5.nabble.com> Date: Fri, 29 Jul 2011 09:00:36 +0200 Message-ID: From: Monthadar Al Jaberi To: satish kondapalli Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-arm@freebsd.org 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 07:25:19 -0000 On Fri, Jul 29, 2011 at 6:23 AM, satish kondapalli wrote: > 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 =A0will install all the utils in DESTD= IR, >> 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 =A0DESTD= IR >> 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\"). > > My questions is: > 1) we are not telling the NFS server ip address in above two options. whe= re > we will configure the server ip of NFS server in config options. try this: options ROOTDEVNAME=3D\"nfs:192.168.1.103:/usr/obj/rspro_nfs/root\" > > > -- > View this message in context: http://freebsd.1045724.n5.nabble.com/how-to= -configure-freeBSD-kernel-to-mount-NFS-as-a-root-file-system-tp4640945p4645= 024.html > Sent from the freebsd-arm mailing list archive at Nabble.com. > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > --=20 //Monthadar Al Jaberi