Date: Tue, 16 Dec 2008 17:18:37 +0100 From: cpghost <cpghost@cordula.ws> To: Saurabh Chopra <Saurabh.Chopra@infogain.com> Cc: freebsd-current@freebsd.org Subject: Re: build image from the source Message-ID: <20081216161837.GB1426@phenom.cordula.ws> In-Reply-To: <C86899CCB10A6C4E93D5978DCB232D4B0A188FDA@GDCMX01.igglobal.com> References: <C86899CCB10A6C4E93D5978DCB232D4B0A188FDA@GDCMX01.igglobal.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 16, 2008 at 05:38:37PM +0530, Saurabh Chopra wrote: > Hi all, > > I am absolutely a newbie in freebsd. My query is that I want to create > an image from the freebsd sources. And I will be using this image to > boot another x86 machine. Is there any utility that will use the > compiled kernel and build the image? .Please be as descriptive in your > answers as possible. Hi Saurabh, welcome to FreeBSD! :) For a *small* number of machines, I usually update one (and only one) machine's /usr/src and /usr/ports trees with csup (see the Handbook), create /usr/obj with make buildworld && make buildkernel, update the machine and the installed ports. Then, I rsync /usr/src, /usr/ports, /usr/obj and /usr/local to the other machines, and on every machine, I run again 'make installkernel && make installworld' and mergemaster to update them too. This minimizes the load on external servers (I only download stuff once and redistribute it to the other machines). It's not the *best* and it's not the *only* way to do it, but it works for me if the number of machines is small (and if they run the same architecture (all i386 or all amd64)). > Thanks & Regards > > Saurabh Chopra -cpghost. -- Cordula's Web. http://www.cordula.ws/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081216161837.GB1426>