How to build FreeBSD entirely from sources?

Gautam Gopalakrishnan ggop at madras.dyndns.org
Tue Jan 27 05:57:12 PST 2004


On Tue, Jan 27, 2004 at 07:48:42AM +0100, Geert Hendrickx wrote:
> Hello,
> 
> "FreeBSD from Scratch" describes a method for REbuilding a FreeBSD system
> entirely from sources, starting from an existing FreeBSD system.
> 
> But I want to build a new FreeBSD system on a machine currently NOT
> running FreeBSD.  How can I do this?
> 
> I'm used to doing this with Gentoo Linux:
> With Gentoo, one extracts a "stage" tarball to the target partition, which
> contains gcc, glibc and some other binary programs, just enough to rebuild
> itself, using a "bootstrapping" script.  Then one does "emerge system"
> which fetches sources for the entire base system, compiles them and
> installs them.  After that, other applicantions can be installed with
> "emerge packagename" (comparable to Ports system).
> 
> Can I install FreeBSD in a similar way?  Sysinstall only installs binary
> packages.


One similar way would be to do a minimal install, cvsup to the
whatever you want and build your kernel and world. That way everything
would be your own.

Gautam



More information about the freebsd-questions mailing list