how to configure freeBSD kernel to mount NFS as a root file system

satish kondapalli nitw.satish at gmail.com
Fri Jul 29 04:23:29 UTC 2011


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.


More information about the freebsd-arm mailing list