Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2011 21:23:28 -0700 (PDT)
From:      satish kondapalli <nitw.satish@gmail.com>
To:        freebsd-arm@freebsd.org
Subject:   Re: how to configure freeBSD kernel to mount NFS as a root file system
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1311913408355-4645024.post>