Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jul 2011 09:00:36 +0200
From:      Monthadar Al Jaberi <monthadar@gmail.com>
To:        satish kondapalli <nitw.satish@gmail.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: how to configure freeBSD kernel to mount NFS as a root file system
Message-ID:  <CA%2BsBSo%2BaEMYUr=_LWmPyc7LwOBxxX=zUhTmZ%2B%2BYMqt43XVyzYA@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 29, 2011 at 6:23 AM, satish kondapalli
<nitw.satish@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BsBSo%2BaEMYUr=_LWmPyc7LwOBxxX=zUhTmZ%2B%2BYMqt43XVyzYA>