Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Mar 2014 13:15:48 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        amine tay <amine.tay91@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: FreeBSD 9.X network installation using PXE+TFTP (not NFS) !
Message-ID:  <978E2A4D-D4E1-4A3B-9080-C962E23E7FB9@cs.huji.ac.il>
In-Reply-To: <CAMMGsZ%2BBOpLowveVLOoGZqTNva1o%2BiHXwu28dW1X-Uf%2BnG476w@mail.gmail.com>
References:  <CAMMGsZ%2BBOpLowveVLOoGZqTNva1o%2BiHXwu28dW1X-Uf%2BnG476w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Mar 7, 2014, at 12:36 PM, amine tay <amine.tay91@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.
>=20
> So to enable the tftp instead of NFS we have to edit make.conf with =
these
> lines
> LOADER_TFTP_SUPPORT=3DYES
> LOADER_NFS_SUPPORT=3DNO
> and rebuild the pxeboot file
>=20
> 1st question is : Is this modification going to allow the install of
> differents freebsd images?
>=20
> 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 =3D text;
...

 {
	hardware ethernet nn:nn=85;
	...
	filename =93some file=94 # the tftp file;
	option root-path =93root-fileserve-rip:/path/to/root=94;
}


>=20
> Thanks in advance for your help !
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to =
"freebsd-hackers-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?978E2A4D-D4E1-4A3B-9080-C962E23E7FB9>