FreeBSD 9.X network installation using PXE+TFTP (not NFS) !
Daniel Braniss
danny at cs.huji.ac.il
Fri Mar 7 11:15:58 UTC 2014
On Mar 7, 2014, at 12:36 PM, amine tay <amine.tay91 at gmail.com> wrote:
> Hi everyone,
> I'm trying to perform a FreeBSD 9.X network installation using PXE+TFTP
> (not NFS) !
> The problem using NFS is the need to specify the root-path in the dhcp
> conf, therefore we can't deploy multiple releases or different images of
> freebsd.
>
> So to enable the tftp instead of NFS we have to edit make.conf with these
> lines
> LOADER_TFTP_SUPPORT=YES
> LOADER_NFS_SUPPORT=NO
> and rebuild the pxeboot file
>
> 1st question is : Is this modification going to allow the install of
> differents freebsd images?
>
> Note that I'm using an automated os deployement solution , and I am using
> mac-adresses to deploy freebsd depending on policies, so for exemple two
> clients with different mac-adresses will have two diffrents freebsd images.
yes you can (to quote a famous noble prize winner)
...
options FBSD.boot-nfsroot-options code 20 = text;
...
{
hardware ethernet nn:nn…;
...
filename “some file” # the tftp file;
option root-path “root-fileserve-rip:/path/to/root”;
}
>
> Thanks in advance for your help !
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
More information about the freebsd-hackers
mailing list